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