コード例 #1
0
 /*
  *      Constructor
  *
  *      Parameters: 2D array of ints representing the tile types, the biome of the chunk.
  *      Purpose: Initialize the data values.
  */
 public Chunk(int[,] grid, BiomeBase biome)
 {
     this.grid  = grid;
     this.biome = biome;
     biome.decorate(this);
 }