Beispiel #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);
         }
     }
 }
Beispiel #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);
				}
			}
		}
Beispiel #3
0
		public void SetBlockData(MapBlock[,] blocks) {
			mMapBlocks = blocks;
		}