bool PlayAgent(Agent agent)
        {
            if (agent.ActionsExecuted == 10000)
            {
                return(false);
            }

            if (agent.CurrentAction != null)
            {
                Execute(agent, agent.CurrentAction);
            }
            else if (!agent.NextAction())
            {
                //no more actions
                return(false);
            }
            return(true);
        }