Beispiel #1
0
 public void Undo()
 {
     //do something specific
     _state = ActionState.Canceled;
     _player.MakeDescision(this);
 }
Beispiel #2
0
 /// <summary>
 /// Execute several steps and send the results to the reciver.
 /// </summary>
 public void Execute()
 {
     //do something specific
     _state = ActionState.Completed;
     _player.MakeDescision(this);
 }