コード例 #1
0
	public void genIslands(int dimX_, int dimY_) {

		this.dimX = dimX_;
		this.dimY = dimY_;

		WorldGen wg = new WorldGen (tilesToUse);
		localArray = wg.islands (dimX, dimY, 25, 4);
		Debug.Log ("Generated islands...");
		Debug.Log (getTileIDArray ());
		grid = wg.getGrid ();
	}