Свойство | Type | Description | |
---|---|---|---|
levelSet | int | ||
minimap | |||
movingSphere | bool | ||
poles | List |
||
spherePrefab | LondonToweSphereScript | ||
spheres | List |
||
spheresIDColor | Color>.Dictionary | ||
state | LondonTowerGameState | ||
xmlLevels | List |
Méthode | Description | |
---|---|---|
CheckWin ( ) : bool |
check if player win, after each sphere move
|
|
GameEnd ( ) : void | ||
IsPoleFull ( int polePosition ) : bool |
check if pole if full - then cant place any sphere on it, until at least one sphere is removed
|
|
OnTop ( int poleID, int orderInPole ) : bool |
check if sphere is on top/on given order pole so it player can moved with it
|
|
SetLevel ( |
set level from startData, doesn matter if it for expample/screen or for game
|
|
SetOnTop ( LondonToweSphereScript sphere ) : void |
after sphere is place it check if the sphere is definetly on top of pole and if not t place the sphere on top
|
|
StartGame ( ) : void |
call at level start, create all necessary steps to load level, take screen etc
|
Méthode | Description | |
---|---|---|
Start ( ) : void |
public IsPoleFull ( int polePosition ) : bool | ||
polePosition | int | |
Résultat | bool |
public OnTop ( int poleID, int orderInPole ) : bool | ||
poleID | int | |
orderInPole | int | |
Résultat | bool |
public SetLevel ( |
||
startData | ||
Résultat | void |
public SetOnTop ( LondonToweSphereScript sphere ) : void | ||
sphere | LondonToweSphereScript | |
Résultat | void |
public LondonToweSphereScript spherePrefab | ||
Résultat | LondonToweSphereScript |
public static Dictionary |
||
Résultat | Color>.Dictionary |
public static LondonTowerGameState state | ||
Résultat | LondonTowerGameState |