Beispiel #1
0
 // Constructor
 public CommandInfo(Haxxit.Maps.Point newSource, Haxxit.Maps.Point newTarget, Haxxit.Maps.ProgramHeadNode newTargetProgram, Stack<Haxxit.Maps.Point> newPath)
 {
     source = newSource;
     target = newTarget;
     targetProgram = newTargetProgram;
     path = newPath;
 }
Beispiel #2
0
 // Constructor
 public AINodeData(int column, int row)
 {
     coordinate = new Haxxit.Maps.Point(column, row);
     isAvailable = false;
     hasSilicoin = false;
     hasData = false;
     isSpawn = false;
     occupiedBy = null;
     aStarTrackStatus = AStarStatus.Unlisted;
     parent = null;
     f = int.MaxValue;
     g = int.MaxValue;
     h = int.MaxValue;
 }