public void Init() { Box = new BoundingBox(Vector3.down, 50, 10, 50); //Todo: Make this take values from MapGenerator HazardSystem.Init(this); NpcSystem.Init(this); RoadSystem.Init(this); NavigationSystem.Init(this); float[][] finalGrid = new float[Box.ScaleX][]; for (int i = 0; i < Box.ScaleX; i++) { finalGrid[i] = new float[Box.ScaleZ]; } finalGrid = GetMap(MapType.Navigation).Multiply(GetMap(MapType.Hazard).Grid); _drawMaps.Add(finalGrid); _drawPos.Add(GetMap(MapType.Navigation).GridPosition); }