C# Class Assets.Core.Scripts.TreeGeneration.MapGenerator

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: veselin-/DADIU2015Team4MiniGame2

Public Properties

Property Type Description
Height int
NumberOfClosters int
NumberOfStones int
Seed string
Stones UnityEngine.GameObject[]
Trees UnityEngine.GameObject[]
UseRandomSeed bool
Width int

Public Methods

Method Description
DrawStones ( ) : void
GeneateStones ( ) : void
GenerateClusters ( ) : void
Start ( ) : void

Private Methods

Method Description
DrawTrees ( ) : void
GetSurroundingWallCount ( int gridX, int gridY ) : int
SmoothClusters ( ) : void

Method Details

DrawStones() public method

public DrawStones ( ) : void
return void

GeneateStones() public method

public GeneateStones ( ) : void
return void

GenerateClusters() public method

public GenerateClusters ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

Height public property

public int Height
return int

NumberOfClosters public property

public int NumberOfClosters
return int

NumberOfStones public property

public int NumberOfStones
return int

Seed public property

public string Seed
return string

Stones public property

public GameObject[],UnityEngine Stones
return UnityEngine.GameObject[]

Trees public property

public GameObject[],UnityEngine Trees
return UnityEngine.GameObject[]

UseRandomSeed public property

public bool UseRandomSeed
return bool

Width public property

public int Width
return int