public Draw ( float elapsedTime, |
||
elapsedTime | float | The in-game time between the previous and current frame |
spriteBatch | An already initialized SpriteBatch, ready for Draw() commands | |
return | void |
public override void Draw(float elapsedTime, SpriteBatch spriteBatch)
{
spriteBatch.Draw(spritesheet, Bounds, spriteBounds[(int)state], Color.White);
}