Свойство | Type | Description | |
---|---|---|---|
birthNumber | int | ||
brickHeight | float | ||
brickWidth | float | ||
chanceToStartAlive | float | ||
currentSeed | int | ||
generations | int | ||
levelHeight | int | ||
levelWidth | int | ||
minToSurvive | int | ||
randomiseSeed | bool | ||
simpleGrassTiles | bool |
Méthode | 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 |
public countNeighbours ( int map, int x, int y, int tgt ) : int | ||
map | int | |
x | int | |
y | int | |
tgt | int | |
Résultat | int |
public countNeighboursFurther ( int map, int x, int y, int tgt ) : int | ||
map | int | |
x | int | |
y | int | |
tgt | int | |
Résultat | int |