|
|||||||||
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.ActionCard | +--de.torfu.kabayellow.common.ActionCardExtraStone
Setzen Sie zusätzlich einen Baustein vom allgemeinen Vorrat ein.
Es gelten die normalen Regeln für das Einsetzen von Bausteinen.
Die Position muss durch Action.setPoint(Point)
festgelegt werden.
Field Summary |
Fields inherited from class de.torfu.kabayellow.common.ActionCard |
ANY_GATE, EXTRA_STONE, JUMP, MOVE_DIAGONAL, MOVE_STONE, REACTIVATE_KNIGHT, SEVEN_POINTS, SIX_POINTS, STONE_UNDER_KNIGHT, TWO_LEVELS, UNKNOWN |
Constructor Summary | |
ActionCardExtraStone(int number)
|
Method Summary | |
int |
getErrorCode(Game game)
Überprüft, ob der Zug den Regeln entspricht. |
java.lang.String |
getText()
Gibt den Text, der auf der Karte steht aus |
Methods inherited from class de.torfu.kabayellow.common.ActionCard |
canPlayCard, create, createUnknown, getColor, getNumber, getType, isActionCard, toServer, toString |
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, isBuyCardAction, isKingAction, isKnightAction, isLegal, isnewKnightAction, isStoneAction, needsOnePoint, needsParameters, needsTwoPoints, setEndPoint, setID, setPoint, setPoint, setPoints, setStartPoint |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ActionCardExtraStone(int number)
Method Detail |
public java.lang.String getText()
getText
in class ActionCard
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 |