|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.torfu.kabayellow.common.Action | +--de.torfu.kabayellow.common.ActionSetFirstKnight
Setzt den ersten Ritter am Anfang des Spieles ein. Die Runde ist damit
sofort beendet, es muss kein ActionEndTurn
mehr erzeugt werden.
Die Position muss durch Action.setPoint(Point)
festgelegt werden.
Field Summary |
Constructor Summary | |
ActionSetFirstKnight()
|
Method Summary | |
int |
getErrorCode(Game game)
Überprüft, ob der Zug den Regeln entspricht. |
Methods inherited from class de.torfu.kabayellow.common.Action |
clone, execute, getActionMoveKnightsForLongMove, getCost, getCostsOfPossibleMoves, getEndPoint4Move, getError, getID, getPointFromIndex, getPossibleEndPoints, getPossibleLocations, getPossibleLongMoves, getPossibleMoves, getPossibleSetKnight, getPossibleStartPoints, getStartPoint, getStartPoint4Move, hasStartPoint, isActionCard, isBuyCardAction, isKingAction, isKnightAction, isLegal, isnewKnightAction, isStoneAction, needsOnePoint, needsParameters, needsTwoPoints, setEndPoint, setID, setPoint, setPoint, setPoints, setStartPoint, toServer, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ActionSetFirstKnight()
Method Detail |
public int getErrorCode(Game game)
getErrorCode
in class Action
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |