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