Exemple #1
0
        /// <summary>
        /// 单一agent前进
        /// </summary>
        /// <param name="preData"></param>
        /// <param name="agent"></param>
        /// <returns></returns>
        internal async Task MoveSingleAgents(IExecuteData preData, BaseAgent agent)
        {
            if (agent == null)
            {
                await MoveUnusualAgent(preData);

                return;
            }
            await agent.MoveIn(preData);
        }