Пример #1
0
 public override void ExitState()
 {
     //Implement turning into used block here.
     CurrentState = new QuestionBlockBumpState(Block);
 }
Пример #2
0
 public override void BumpTransition()
 {
     CurrentState.ExitState();
     CurrentState = new QuestionBlockBumpState(Block);
     CurrentState.Enter(this);
 }