Property | Type | Description | |
---|---|---|---|
GameOver | bool | ||
GameWin | bool | ||
NewLevel | bool | ||
Objects | List |
||
nextColor | RecordColor |
Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
InitializeObjects ( ) : void |
Adds all initial moving objects to the Objects list
|
public static AIChangeDirection ( RecordColor c ) : void | ||
c | RecordColor | |
return | void |
public static CheckCollisions ( ) : IEnumerable |
||
return | IEnumerable |
public static GetRelativePosition ( RecordColor c ) : Point | ||
c | RecordColor | |
return | Point |
public static SetRelativeDirection ( RecordColor color ) : void | ||
color | RecordColor | |
return | void |