DodongosQuest.Creatures.Player.PlayerCharacter.Draw C# (CSharp) Method

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void
        public void Draw(GameTime gameTime)
        {
            Vector2 worldPosition = _world.ConvertTileIndexToWorldPosition(WorldIndex.X, WorldIndex.Y);
            Vector2 screenPosition = Camera.GetScreenPosition(worldPosition);
            GraphicsHelper.spriteBatch.Draw(_tileImage, screenPosition, null, Color.White, 0f, new Vector2(0, 0), 1f, SpriteEffects.None, 0.3f);
        }