private void CheckGrid() { if (myGrid != Block.CubeGrid) { myLogger.debugLog(myGrid != null, "Grid Changed!", "CheckGrid()", Logger.severity.INFO); myGrid = Block.CubeGrid; this.myThrust = new ThrustProfiler(myGrid); this.myGyro = new GyroProfiler(myGrid); this.myPathfinder = new Pathfinder.Pathfinder(myGrid, NavSet, this); } }
public Location_Controller(WorldController worldModel, float lx, float ly) { LocationModel = new LocationModel(lx, ly); Pathfinder = new Pathfinder.Pathfinder(worldModel); }