프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CurrentWorld | List |
||
NewBornShouldBeGrey | bool | ||
NextWorld | List |
메소드 | 설명 | |
---|---|---|
AddAliveCellInNextGeneration ( |
||
AddCellInCurrentGeneration ( int i, int j ) : void | ||
AddDeadCellInNextGeneration ( |
||
AliveCellRemainsAlive ( |
||
CellHasNeighboursOnRightAndLeftSide ( |
||
CellHasNeighboursOnTop ( |
||
CellHasNeighboursUnder ( |
||
CountNumberOfWhiteAndBlackCells ( |
||
DeadCellRevives ( |
||
DecideIfCellBecomesDeadOrAlive ( |
||
DecideIfNewBornShouldBeGrey ( int black, int white ) : void | ||
DrawWorld ( ) : void | ||
IncreaseNumberOfAliveNeighbours ( int &numberOfAliveNeighbours ) : void | ||
NumberOfAliveNeighbours ( |
||
Universe ( ) : System | ||
WorldStillHasAliveCells ( ) : bool |
public AddAliveCellInNextGeneration ( |
||
cell | ||
리턴 | void |
public AddCellInCurrentGeneration ( int i, int j ) : void | ||
i | int | |
j | int | |
리턴 | void |
public AddDeadCellInNextGeneration ( |
||
cell | ||
리턴 | void |
public CellHasNeighboursOnRightAndLeftSide ( |
||
cellToBeVerified | ||
cell | ||
리턴 | bool |
public CellHasNeighboursOnTop ( |
||
cellToBeVerified | ||
unit | ||
리턴 | bool |
public CellHasNeighboursUnder ( |
||
cellToBeVerified | ||
unit | ||
리턴 | bool |
public CountNumberOfWhiteAndBlackCells ( |
||
cell | ||
white | int | |
black | int | |
리턴 | void |
public DecideIfCellBecomesDeadOrAlive ( |
||
cell | ||
리턴 | void |
public DecideIfNewBornShouldBeGrey ( int black, int white ) : void | ||
black | int | |
white | int | |
리턴 | void |
public IncreaseNumberOfAliveNeighbours ( int &numberOfAliveNeighbours ) : void | ||
numberOfAliveNeighbours | int | |
리턴 | void |
public NumberOfAliveNeighbours ( |
||
cellToBeVerified | ||
리턴 | int |