Пример #1
0
 private void InitializeBlocks()
 {
     for (int bx = 0; bx < WidthBlocks; bx++)
     {
         for (int by = 0; by < HeightBlocks; by++)
         {
             mMapBlocks[bx, by] = new MapBlock(ID);
         }
     }
 }
Пример #2
0
		private void InitializeBlocks() {
			for (int bx = 0; bx < WidthBlocks; bx++) {
				for (int by = 0; by < HeightBlocks; by++) {
					mMapBlocks[bx, by] = new MapBlock(ID);
				}
			}
		}
Пример #3
0
		public void SetBlockData(MapBlock[,] blocks) {
			mMapBlocks = blocks;
		}