21222324252627
public SpriteAnimation(int xPos, int yPos, int animationSpeed) { this.xPos = xPos; this.yPos = yPos; this.animationSpeed = animationSpeed; timer = new SystemTimer(); }
44454647484950
, spriteHeight); addSprite(textureRegion); } } timer = new SystemTimer(); }