public override void Draw(SpriteBatch spriteBatch, GameTime gameTime) { AnimatedEntity?.Draw(gameTime, spriteBatch); }
public void Draw(SpriteBatch spriteBatch, GameTime gameTime, float depth) { //spriteBatch.DrawString(font, WorldPos.ToString(), IsoPos, Color.Black); animatedEntity.Draw(spriteBatch, gameTime, isFalling ? 1f : depth - 0.001f); }