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));
            }
        }
Beispiel #2
0
 public ActionResult MakeForcedDecision(Agent agent, SpecificActionType action, int argument = -1)
 {
     return(ActionResult.Continue);
 }
Beispiel #3
0
 public ActionResult MakeForcedDecision(SpecificActionType action, int argument = -1)
 {
     return(strategy.MakeForcedDecision(this, action, argument));
 }