|
|||||||||
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
Abstrakte Superclasse aller Aktionskarten
Field Summary | |
static int |
ANY_GATE
|
static int |
EXTRA_STONE
|
static int |
JUMP
|
static int |
MOVE_DIAGONAL
|
static int |
MOVE_STONE
|
static int |
REACTIVATE_KNIGHT
|
static int |
SEVEN_POINTS
|
static int |
SIX_POINTS
|
static int |
STONE_UNDER_KNIGHT
|
static int |
TWO_LEVELS
|
static int |
UNKNOWN
|
Method Summary | |
int |
canPlayCard(Game game)
|
static ActionCard |
create(int number)
Erzeugt die ActionCard mit der angegebenen Nummer. |
static ActionCard |
createUnknown()
|
int |
getColor()
|
int |
getNumber()
|
abstract java.lang.String |
getText()
Gibt den Text, der auf der Karte steht aus |
int |
getType()
Gibt den Typ der Karte als ActionCard.XXX-Konstante zurück |
boolean |
isActionCard()
Gibt zurück, ob diese Action einen Ritter verändert
(bewegt oder einsetzt). |
java.lang.String |
toServer()
|
java.lang.String |
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, 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 |
Field Detail |
public static final int UNKNOWN
public static final int MOVE_STONE
public static final int MOVE_DIAGONAL
public static final int STONE_UNDER_KNIGHT
public static final int REACTIVATE_KNIGHT
public static final int TWO_LEVELS
public static final int JUMP
public static final int EXTRA_STONE
public static final int ANY_GATE
public static final int SIX_POINTS
public static final int SEVEN_POINTS
Method Detail |
public boolean isActionCard()
Action
Action
einen Ritter verändert
(bewegt oder einsetzt).
isActionCard
in class Action
public int canPlayCard(Game game)
public abstract java.lang.String getText()
public int getType()
public int getColor()
public int getNumber()
public static ActionCard create(int number)
public static ActionCard createUnknown()
public java.lang.String toString()
toString
in class Action
public java.lang.String toServer()
toServer
in class Action
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |