C# Class Assets.MapGenerator1

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

Public Properties

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

Public Methods

Method Description
GenerateMap ( ) : void
OnDrawGizmos ( ) : void
RandomFillMap ( ) : void
SmoothMap ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
Draw ( ) : void
GetSurroundingWallCount ( int gridX, int gridY ) : int

Method Details

GenerateMap() public method

public GenerateMap ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

RandomFillMap() public method

public RandomFillMap ( ) : void
return void

SmoothMap() public method

public SmoothMap ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Height public property

public int Height
return int

Seed public property

public string Seed
return string

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