/// <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);
public override bool OnMessage(FieldPlayer entity, Telegram message) { return(false); }
public override bool OnMessage(SoccerTeam entity, Telegram message) { return(false); }
//-------------------- HandleMessage ------------------------------------- // // routes any messages appropriately //------------------------------------------------------------------------ public override bool HandleMessage(Telegram msg) { return(_stateMachine.HandleMessage(msg)); }