Package edu.wisc.game.sql
Class Episode.Pick
- java.lang.Object
-
- edu.wisc.game.sql.Episode.Pick
-
- Direct Known Subclasses:
Episode.Move
- Enclosing class:
- Episode
public static class Episode.Pick extends Object
A Pick instance describes the act of picking a piece, without specifying its destination
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
boolean
getDidFollow()
int
getMover()
int
getPieceId()
int
getPos()
double
getRValue()
void
setCode(int _code)
void
setDidFollow(boolean _didFollow)
void
setPieceId(int id)
String
toString()
-
-
-
Field Detail
-
pos
public final int pos
The position of the piece being moved, in the [1:N*N] range. May contain an invalid value on an invalid /move or /pick call.
-
time
public final Date time
-
-
Constructor Detail
-
Pick
public Pick(Board.Pos pos)
-
-
Method Detail
-
getPos
public int getPos()
-
getPieceId
public int getPieceId()
-
setPieceId
public void setPieceId(int id)
-
getCode
public int getCode()
-
setCode
public void setCode(int _code)
-
getRValue
public double getRValue()
-
getMover
public int getMover()
-
getDidFollow
public boolean getDidFollow()
-
setDidFollow
public void setDidFollow(boolean _didFollow)
-
-