Beispiel #1
0
 public ScenarioRunner ReceivesAll()
 {
     if (this.multipleEventInstruction != null)
     {
         throw new Exception("Previous multiple event instruction not closed");
     }
     this.multipleEventInstruction = new MultipleEventInstruction();
     return(this);
 }
Beispiel #2
0
 public ScenarioRunner ReceivesAllEnd()
 {
     this.currentPlayerAgent.AddInstruction(this.multipleEventInstruction);
     this.multipleEventInstruction = null;
     return(this);
 }