public override void Draw(GameTime gameTime, MonoGameRenderer renderer) { //NextState = StateController.States["DrawCompleteState"]; //StateController.ChangeState(); renderer.DrawCharacter(character.CurrentPositionX, character.CurrentPositionY); NextState = StateController.States["DrawCompleteState"]; StateController.ChangeState(); }
public override void Draw(GameTime gameTime, MonoGameRenderer renderer) { renderer.ClearCharacter(character.PreviousPositionX, character.PreviousPositionY); renderer.DrawCharacter(character.CurrentPositionX, character.CurrentPositionY); }