프로퍼티 | 타입 | 설명 | |
---|---|---|---|
coloredLight | |||
ending | bool | ||
gameController | |||
starting | bool |
메소드 | 설명 | |
---|---|---|
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 ( ) : |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |