Example #1
0
        internal NodeManager(ManeuverNode n)
        {
            curState = new NodeState(n);
            curNodeState = new NodeState();
            node = n;
            updateCurrentNodeState();

            if (n.findNextEncounter() != null) {
                encounter = true;
            }
        }
Example #2
0
        public NodeManager(ManeuverNode n)
        {
            curState = new NodeState(n);
            curNodeState = new NodeState();
            node = n;
            updateCurrentNodeState();

            if(NodeTools.findNextEncounter(n) != null) {
                encounter = true;
            }
        }
Example #3
0
 internal NodeManager()
 {
     curState = new NodeState();
 }
Example #4
0
 internal void memorize()
 {
     memory = (NodeState) curState.Clone();
 }
Example #5
0
 internal void clearMemory()
 {
     memory = null;
 }
Example #6
0
 public NodeManager()
 {
     curState = new NodeState();
 }