Exemple #1
0
 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();
 }
Exemple #2
0
 public override void Draw(GameTime gameTime, MonoGameRenderer renderer)
 {
     renderer.ClearCharacter(character.PreviousPositionX, character.PreviousPositionY);
     renderer.DrawCharacter(character.CurrentPositionX, character.CurrentPositionY);
 }