Esempio n. 1
0
 public override void MakeDecision(AgentHandler agentScript)
 {
     if (agentScript.GetDeployMineTimer() >= agentScript.GetTimeRequiredToDelopMine() && GameConstants.Instance.NumberOfMines < GameConstants.Instance.MaxNumberOfMines)
     {
         RunChildDecision(agentScript, true);
     }
     else
     {
         RunChildDecision(agentScript, false);
     }
 }