public override void Draw(GameTime gameTIme, SpriteBatch spriteBatch) { if (isActive) { animation.Draw(gameTIme, spriteBatch); } }
public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { if (isActive) { chatBox.Draw(gameTime, spriteBatch); animatedTexture.Draw(gameTime, spriteBatch); chatBox.DrawText(spriteBatch); } }
public virtual void Draw(GameTime gameTime, SpriteBatch spriteBatch) { animatedTexture.Draw(gameTime, spriteBatch); if (!(isAlive)) { if (deathTime < 25) { deathAnimation.Draw(gameTime, spriteBatch); } } }
public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { if (isChecked) { animation.Draw(gameTime, spriteBatch); } else { spriteBatch.Draw(texture, rectangle, Color.White); } }
public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { animation.Draw(gameTime, spriteBatch); }