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

Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo 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_oe property

public int Height
return int

NumberOfClosters public_oe property

public int NumberOfClosters
return int

NumberOfStones public_oe property

public int NumberOfStones
return int

Seed public_oe property

public string Seed
return string

Stones public_oe property

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

Trees public_oe property

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

UseRandomSeed public_oe property

public bool UseRandomSeed
return bool

Width public_oe property

public int Width
return int