private NodeState CheckAgentCountdown(Soldier type)
        {
            float time;

            if (agentCountQuery.TryGetValue(type, out time))
            {
                if (time >= AgentBuyDelay[type])
                {
                    return(NodeState.Success);
                }
            }
            return(NodeState.Failure);
        }
        private NodeState CheckConstructCountdown(ConstructId type)
        {
            float time;

            if (constructCountQuery.TryGetValue(type, out time))
            {
                if (time >= ConstructBuyDelay[type])
                {
                    return(NodeState.Success);
                }
            }
            return(NodeState.Failure);
        }