Свойство | Type | Description | |
---|---|---|---|
coloredLight | |||
ending | bool | ||
gameController | |||
starting | bool |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
OnMouseEnter ( ) : void |
hightlight column on mouse enter
|
|
OnMouseExit ( ) : void |
Turn off highlight on mouse exit
|
|
OnMouseUp ( ) : void |
solve mouse click on this column.
|
|
Start ( ) : void | ||
addDisk ( |
Add disk to this column
|
|
checkWinningCondition ( ) : void |
Check if winning condidtions are fulfilled. If so, calls
|
|
getNumberofDisks ( ) : int |
|
|
removeAllDisks ( ) : void | ||
removeTopDisk ( ) : void | ||
topDisk ( ) : |
Méthode | Description | |
---|---|---|
isValidTarget ( int diskSize ) : bool |
Checks, if this column is valid target for disk of given size.
|
public addDisk ( |
||
newDisk | reference to disk to be added | |
Résultat | void |
public GameController,HanoiTowers gameController | ||
Résultat |