프로퍼티 | 타입 | 설명 | |
---|---|---|---|
map | cellState[][] |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
size | int |
메소드 | 설명 | |
---|---|---|
CellStateMap ( int size ) : System | ||
getState ( Coordinates coords ) : cellState | ||
getState ( int x, int y ) : cellState | ||
reset ( ) : void | ||
setState ( Coordinates coords, cellState state ) : void | ||
setState ( int x, int y, cellState state ) : void |
public getState ( Coordinates coords ) : cellState | ||
coords | Coordinates | |
리턴 | cellState |
public setState ( Coordinates coords, cellState state ) : void | ||
coords | Coordinates | |
state | cellState | |
리턴 | void |
public setState ( int x, int y, cellState state ) : void | ||
x | int | |
y | int | |
state | cellState | |
리턴 | void |