games.strategy.kingstable.ui
Class PlayData

java.lang.Object
  extended by games.strategy.kingstable.ui.PlayData
All Implemented Interfaces:
IPlayData

public class PlayData
extends java.lang.Object
implements IPlayData

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.

Version:
$LastChangedDate: 2007-06-19 11:39:15 -0700 (Tue, 19 Jun 2007) $
Author:
Lane Schwartz

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

PlayData

public PlayData(Territory start,
                Territory end)
Construct a new play, with the given start location and end location.

Parameters:
start - Territory where the play should start
end - Territory where the play should end
Method Detail

getStart

public Territory getStart()
Returns the start location for this play.

Returns:
Territory where this play starts.

getEnd

public Territory getEnd()
Returns the end location for this play.

Returns:
Territory where this play ends.