|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsoc.robot.SOCPlayerAction
public class SOCPlayerAction
DOCUMENT ME!
Field Summary | |
---|---|
protected int |
actionType
The type of action |
protected int |
coord
Where this piece is on the board |
static int |
DRAW_VP
|
static int |
PLACE_CITY
|
static int |
PLACE_ROAD
possible actions |
static int |
PLACE_SETTLEMENT
|
static int |
PLAY_KNIGHT
|
protected SOCPlayer |
player
The player who owns this piece |
static int |
REMOVE_KNIGHT
|
static int |
REMOVE_VP
|
Constructor Summary | |
---|---|
SOCPlayerAction(int type,
SOCPlayer pl,
int co)
constructor |
Method Summary | |
---|---|
int |
getCoordinates()
|
SOCPlayer |
getPlayer()
|
int |
getType()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PLACE_ROAD
public static final int PLACE_SETTLEMENT
public static final int PLACE_CITY
public static final int PLAY_KNIGHT
public static final int DRAW_VP
public static final int REMOVE_KNIGHT
public static final int REMOVE_VP
protected int actionType
protected SOCPlayer player
protected int coord
Constructor Detail |
---|
public SOCPlayerAction(int type, SOCPlayer pl, int co)
Method Detail |
---|
public int getType()
public SOCPlayer getPlayer()
public int getCoordinates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |