1 package org.catacomb.numeric.data; 2 3 import org.catacomb.be.Placement; 4 import org.catacomb.datalish.RunDataBlock; 5 import org.catacomb.numeric.data.Quantity; 6 import org.catacomb.numeric.data.SpriteState; 7 8 9 10 public class SimpleSpriteBlock implements RunDataBlock { 11 12 13 public XYVectorScene wall; 14 15 @Quantity(title="time", unit="ms") 16 public double time; 17 18 19 @SpriteState(title="position", sceneName="wall", spriteName="") 20 public Placement position; 21 22 23 24 public SimpleSpriteBlock(double t, double[] pxy, double hxy[], 25 double[] wx, double[] wy) { 26 time = t; 27 position = new Placement(pxy, hxy, t); 28 29 if (wx != null) { 30 wall = new XYVectorScene(wx, wy, 0); 31 } 32 } 33 34 }