|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvutbr.checkers.game.GameTurnState
public class GameTurnState
Trida GameTurnState - stav tahu hry
Constructor Summary | |
---|---|
GameTurnState()
Konstruktor |
Method Summary | |
---|---|
protected boolean |
isFirstTurn()
Vrati priznak prvniho tahu |
protected boolean |
isOnlyJump()
Vrati priznak pouze skakani |
protected boolean |
isOnlyJumpXY(int x,
int y)
Vrati priznak pouze skakani pokud zaroven sedi X a Y |
protected void |
setOnlyJump(int x,
int y)
Zapne priznak pouze skakani |
protected void |
unsetFirstTurn()
Vypne priznak prvniho tahu |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GameTurnState()
Method Detail |
---|
protected void unsetFirstTurn()
protected void setOnlyJump(int x, int y)
x
- Poloha Xy
- Poloha Yprotected boolean isFirstTurn()
protected boolean isOnlyJump()
protected boolean isOnlyJumpXY(int x, int y)
x
- Poloha Xy
- Poloha Y
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |