|
|||||||||
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.ActionCardKnight
Superklasse aller Kartenklassen, die den Ritter bewegen.
Start- und Zielpunkt müssen mit Action.setPoints(Point, Point)
oder mit Action.setStartPoint(Point)
und
Action.setEndPoint(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 |
Method Summary | |
java.util.Vector |
getPossibleStartPoints(Game game)
Gibt einen Vector mit allen legalen Startfeldern für diese
Aktion zurück. |
Methods inherited from class de.torfu.kabayellow.common.ActionCard |
canPlayCard, create, createUnknown, getColor, getNumber, getText, getType, isActionCard, toServer, toString |
Methods inherited from class de.torfu.kabayellow.common.Action |
clone, execute, getActionMoveKnightsForLongMove, getCost, getCostsOfPossibleMoves, getEndPoint4Move, getError, getErrorCode, getID, getPointFromIndex, getPossibleEndPoints, getPossibleLocations, getPossibleLongMoves, getPossibleMoves, getPossibleSetKnight, 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 |
Method Detail |
public java.util.Vector getPossibleStartPoints(Game game)
Action
Vector
mit allen legalen Startfeldern für diese
Aktion zurück.
getPossibleStartPoints
in class Action
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |