// 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; }
// 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; }