public GlowFlooder(Map map) { this.map = map; this.mapSizeX = map.Size.x; this.mapSizeZ = map.Size.z; this.calcGrid = new GlowFlooder.GlowFloodCell[this.mapSizeX * this.mapSizeZ]; this.openSet = new FastPriorityQueue <int>(new GlowFlooder.CompareGlowFlooderLightSquares(this.calcGrid)); }
public GlowFlooder(Map map) { this.map = map; mapSizeX = map.Size.x; mapSizeZ = map.Size.z; calcGrid = new GlowFloodCell[mapSizeX * mapSizeZ]; openSet = new FastPriorityQueue <int>(new CompareGlowFlooderLightSquares(calcGrid)); }
public GlowFlooder(Map map) { this.map = map; IntVec3 size = map.Size; this.mapSizeX = size.x; IntVec3 size2 = map.Size; this.mapSizeZ = size2.z; this.calcGrid = new GlowFloodCell[this.mapSizeX * this.mapSizeZ]; this.openSet = new FastPriorityQueue <int>(new CompareGlowFlooderLightSquares(this.calcGrid)); }