Exemplo n.º 1
0
        public ActionResult MakeForcedDecision(Agent agent, SpecificActionType action, int argument = -1)
        {
            switch (action)
            {
            case SpecificActionType.GiveInfo:
                return(agent.GiveInfo(argument));

            case SpecificActionType.PickUp:
                return(agent.PickUp());

            default:
                return(MakeDecision(agent));
            }
        }
Exemplo n.º 2
0
 public ActionResult MakeForcedDecision(Agent agent, SpecificActionType action, int argument = -1)
 {
     return(ActionResult.Continue);
 }
Exemplo n.º 3
0
 public ActionResult MakeForcedDecision(SpecificActionType action, int argument = -1)
 {
     return(strategy.MakeForcedDecision(this, action, argument));
 }