Esempio n. 1
0
 /// <summary>
 /// this executes if the agent receives a message from the
 /// message dispatcher
 /// </summary>
 /// <param name="entity"></param>
 /// <param name="message"></param>
 public abstract bool OnMessage(T entity, Telegram message);
Esempio n. 2
0
 public override bool OnMessage(FieldPlayer entity, Telegram message)
 {
     return(false);
 }
 public override bool OnMessage(SoccerTeam entity, Telegram message)
 {
     return(false);
 }
Esempio n. 4
0
 //-------------------- HandleMessage -------------------------------------
 //
 //  routes any messages appropriately
 //------------------------------------------------------------------------
 public override bool HandleMessage(Telegram msg)
 {
     return(_stateMachine.HandleMessage(msg));
 }