Exemplo n.º 1
0
 public Animation(Spritesheet sheet, bool advanceRows, bool repeating, double timeBetweenFrames)
 {
     this.sheet          = sheet;
     this.advanceRows    = advanceRows;
     this.repeating      = repeating;
     TIME_BETWEEN_FRAMES = timeBetweenFrames;
     timeThisFrame       = 0;
 }
Exemplo n.º 2
0
 public GameObjectDrawable()
 {
     tex       = new Spritesheet(DrawingHelper.PixelTexture, 1, 1);
     drawColor = Color.White;
 }