프로퍼티 | 타입 | 설명 | |
---|---|---|---|
GameOver | bool | ||
GameWin | bool | ||
NewLevel | bool | ||
Objects | List |
||
nextColor | RecordColor |
메소드 | 설명 | |
---|---|---|
AIChangeDirection ( RecordColor c ) : void | ||
CheckCollisions ( ) : IEnumerable |
||
Draw ( ) : void |
Draws all moving objects
|
|
GetRelativePosition ( RecordColor c ) : Point | ||
NextLevel ( ) : void | ||
SetRelativeDirection ( RecordColor color ) : void | ||
Update ( ) : void |
Updates the positions and statuses of all moving objects
|
메소드 | 설명 | |
---|---|---|
InitializeObjects ( ) : void |
Adds all initial moving objects to the Objects list
|
public static AIChangeDirection ( RecordColor c ) : void | ||
c | RecordColor | |
리턴 | void |
public static GetRelativePosition ( RecordColor c ) : Point | ||
c | RecordColor | |
리턴 | Point |
public static SetRelativeDirection ( RecordColor color ) : void | ||
color | RecordColor | |
리턴 | void |