Пример #1
0
        public HexaPath ConvertToPath(AgentMotionSequence sequence, HexaPos currentPos)
        {
            HexagonalMap map  = GetMap();
            HexaPath     path = new HexaPath();

            path.AddPos(currentPos);

            List <HexagonalMap.Direction> .Enumerator e = sequence.mMotions.GetEnumerator();

            while (e.MoveNext())
            {
                HexagonalMap.Direction step = e.Current;
                currentPos = map.GetNext(currentPos, step);
                path.AddPos(currentPos);
            }

            return(path);
        }
Пример #2
0
 public Human(HexagonalMap map) : base(map)
 {
     motion = new AgentMotionSequence();
     _wingmanToleranceRange = new int();
 }
Пример #3
0
        public AgentMotionSequence ConvertToMotionSequence(HexaPath path)
        {
            AgentMotionSequence motions = new AgentMotionSequence();

            return(motions);
        }