public HybridInnerMap(int width, int height) : base(width, height) { mapParts = new HybridInnerMapPart[amountOfMapPartsLoadedMax]; completeHDArray = new CompleteHDArray((width / 8) * (height / 8)); //innerData = new InnerMapArray[width]; //for (int i = 0; i < width; i++) //{ // //innerData[i] = new BooleanInnerMapArray(height); //} }
public HybridInnerMapPart(int startX, int startY, int endX, int endY, CompleteHDArray hdArray) { this.hdArray = hdArray; this.startX = startX; this.startY = startY; this.endX = endX; this.endY = endY; width = endX - startX; height = endY - startY; innerMapInPart = new BitArreintjeFastInnerMapArray(width * height); }