Example #1
0
 /// <summary>
 /// Sets the block at a set point (row, column, floor) to be a new block object
 /// </summary>
 public void SetBlock(int row, int column, int floor, Block block)
 {
     Blocks[row, column, floor] = block;
 }
Example #2
0
 /// <summary>
 /// This class will control the level objects created by .level files
 /// The level object is a 3D array of Blocks each of which define a base, height, and topper tile
 /// Instantuared with a 3D array of Blocks
 /// </summary>
 public Level(Block[, ,] blocks)
 {
     Blocks = blocks;
 }