public virtual void Draw() { if (Texture != null) { SpriteBatch.Draw(Texture, Position, Color.WhiteSmoke); } else if (Animation != null) { Animation.Draw(); } }
public void Draw(SpriteBatch spriteBatch) { // draw the animation EnemyAnimation.Draw(spriteBatch); }
public void Draw(SpriteBatch spriteBatch) { PlayerAnimation.Draw(spriteBatch); }
public void Draw(SpriteBatch spriteBatch) { BulletAnimation.Draw(spriteBatch); }