Пример #1
0
 // This method is invoked when the agent senses
 public override bool HandleSenseEvent(Sense sense)
 {
     return(stateMachine.HandleSenseEvent(sense));
 }
Пример #2
0
 abstract public bool HandleSenseEvent(Sense sense);
Пример #3
0
 public override bool OnSenseEvent(Outlaw agent, Sense sense)
 {
     return(false);
 }
Пример #4
0
 // This will be executed when the agent senses
 abstract public bool OnSenseEvent(T agent, Sense sense);
Пример #5
0
 public override bool OnSenseEvent(Miner agent, Sense sense)
 {
     return(false);
 }