|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.kingstable.ui.display.KingsTableDisplay
public class KingsTableDisplay
Display for a King's Table game.
| Constructor Summary | |
|---|---|
KingsTableDisplay(KingsTableFrame ui)
Construct a new display for a King's Table game. |
|
| Method Summary | |
|---|---|
void |
initialize(IDisplayBridge bridge)
before recieving messages, this method will be called by the game engine. |
void |
performPlay(Territory start,
Territory end,
java.util.Collection<Territory> captured)
Ask the user interface for this display to process a play and zero or more captures. |
void |
setGameOver()
Set the game over status for this display to true. |
void |
setStatus(java.lang.String status)
Graphically notify the user of the current game status. |
void |
shutDown()
Process a user request to exit the program. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KingsTableDisplay(KingsTableFrame ui)
ui - IDisplay| Method Detail |
|---|
public void initialize(IDisplayBridge bridge)
IDisplay
initialize in interface IDisplayIDisplay.initialize(games.strategy.engine.display.IDisplayBridge)public void shutDown()
shutDown in interface IDisplaygames.strategy.engine.display.IDisplay#shutdown()public void setStatus(java.lang.String status)
setStatus in interface IKingsTableDisplayerror - the status message to displaypublic void setGameOver()
true.
setGameOver in interface IKingsTableDisplay
public void performPlay(Territory start,
Territory end,
java.util.Collection<Territory> captured)
performPlay in interface IKingsTableDisplaystart - Territory where the play beganend - Territory where the play endedcaptured - Collection of Territorys whose pieces were captured during the play
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||