private void InitializeBlocks() { for (int bx = 0; bx < WidthBlocks; bx++) { for (int by = 0; by < HeightBlocks; by++) { mMapBlocks[bx, by] = new MapBlock(ID); } } }
public void SetBlockData(MapBlock[,] blocks) { mMapBlocks = blocks; }