コード例 #1
0
ファイル: DrawCharacterState.cs プロジェクト: archonza/Rad
 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();
 }
コード例 #2
0
ファイル: GameInProgressState.cs プロジェクト: archonza/Rad
 public override void Draw(GameTime gameTime, MonoGameRenderer renderer)
 {
     renderer.ClearCharacter(character.PreviousPositionX, character.PreviousPositionY);
     renderer.DrawCharacter(character.CurrentPositionX, character.CurrentPositionY);
 }