|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.kingstable.ui.PlayData
public class PlayData
Represents a play in a game of King's Table. A play has a start Territory and an end territory, which correspond to the piece to be moved, and the desination for the move.
| Constructor Summary | |
|---|---|
PlayData(Territory start,
Territory end)
Construct a new play, with the given start location and end location. |
|
| Method Summary | |
|---|---|
Territory |
getEnd()
Returns the end location for this play. |
Territory |
getStart()
Returns the start location for this play. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlayData(Territory start,
Territory end)
start - Territory where the play should startend - Territory where the play should end| Method Detail |
|---|
public Territory getStart()
Territory where this play starts.public Territory getEnd()
Territory where this play ends.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||