public void Update() { TTL--; Position += Velocity; Angle += AngularVelocity; SpritePlayer.PlayAnimation(Sprite); }
public void Draw() { SpritePlayer.PlayAnimation(Sprite); if (TTL > 0) { SpritePlayer.Draw(Position, Angle, SpriteEffect); } }