C# Class IslandGenerator, procjam2015-islands

Inheritance: MonoBehaviour
Datei anzeigen Open project: gamesbyangelina/procjam2015-islands Class Usage Examples

Public Properties

Property Type Description
birthNumber int
brickHeight float
brickWidth float
chanceToStartAlive float
currentSeed int
generations int
levelHeight int
levelWidth int
minToSurvive int
randomiseSeed bool
simpleGrassTiles bool

Public Methods

Method Description
AddGrassTiles ( ) : void
GenerateLevelCA ( ) : ].int[
PaintBackground ( ) : void
PaintTiles ( ) : void
PlaceScenery ( ) : void
Start ( ) : void
Update ( ) : void
countNeighbours ( int map, int x, int y, int tgt ) : int
countNeighboursFurther ( int map, int x, int y, int tgt ) : int

Method Details

AddGrassTiles() public method

public AddGrassTiles ( ) : void
return void

GenerateLevelCA() public method

public GenerateLevelCA ( ) : ].int[
return ].int[

PaintBackground() public method

public PaintBackground ( ) : void
return void

PaintTiles() public method

public PaintTiles ( ) : void
return void

PlaceScenery() public method

public PlaceScenery ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

countNeighbours() public method

public countNeighbours ( int map, int x, int y, int tgt ) : int
map int
x int
y int
tgt int
return int

countNeighboursFurther() public method

public countNeighboursFurther ( int map, int x, int y, int tgt ) : int
map int
x int
y int
tgt int
return int

Property Details

birthNumber public_oe property

public int birthNumber
return int

brickHeight public_oe property

public float brickHeight
return float

brickWidth public_oe property

public float brickWidth
return float

chanceToStartAlive public_oe property

public float chanceToStartAlive
return float

currentSeed public_oe property

public int currentSeed
return int

generations public_oe property

public int generations
return int

levelHeight public_oe property

public int levelHeight
return int

levelWidth public_oe property

public int levelWidth
return int

minToSurvive public_oe property

public int minToSurvive
return int

randomiseSeed public_oe property

public bool randomiseSeed
return bool

simpleGrassTiles public_oe property

public bool simpleGrassTiles
return bool