Esempio n. 1
0
 public override void ChangeState()
 {
     Console.WriteLine("Changing from StateA to State B");
     Context.TransitionState(new StateB());
 }