/// <summary>
        ///     Invokes the generation of a house.
        /// </summary>
        public void Invoke()
        {
            GeneratorManager.AssertTerrain();

            this.ChoosePoint();
            this.FlattenArea();
            this.PlaceHouse();
        }
Beispiel #2
0
        /// <summary>
        ///     Invokes the terrain painting
        /// </summary>
        public void Invoke()
        {
            GeneratorManager.AssertTerrain();
            TerrainHeightGenerator.AssertInstance();

            this.heightmapWidth  = GeneratorManager.TerrainData.heightmapWidth;
            this.heightmapHeight = GeneratorManager.TerrainData.heightmapHeight;
            this.alphamapWidth   = GeneratorManager.TerrainData.alphamapWidth;
            this.alphamapHeight  = GeneratorManager.TerrainData.alphamapHeight;

            this.PaintTerrain();
        }
        /// <summary>
        ///     Invokes the random terrain generation.
        /// </summary>
        public void Invoke()
        {
            GeneratorManager.AssertTerrain();

            this.GenerateTerrain();
        }