|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vizzini.ui.game.AbstractGameUIText
public abstract class AbstractGameUIText
Provides base functionality for text game user interfaces in the game framework.
| Constructor Summary | |
|---|---|
AbstractGameUIText()
Construct this object. |
|
| Method Summary | |
|---|---|
void |
busy(BusyEvent event)
Respond to busy events. |
void |
concede(ConcedeEvent event)
Respond to concede events. |
protected void |
createAgents()
Create the agents for this game. |
void |
gameChange(GameEvent event)
Respond to game events. |
IEnvironmentUI |
getEnvironmentUI()
Return the environment user interface component. |
IGame |
getGame()
Return the game component. |
protected GameUISupport |
getGameUISupport()
Return the game UI support object. |
protected Properties |
getProperties()
Return the configuration properties. |
void |
init()
Initialize this applet. |
protected String |
readInput()
Read string input from standard in until a carriage return is read. |
void |
start()
Start this applet. |
void |
stateChange(StateEvent event)
Respond to state events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractGameUIText()
| Method Detail |
|---|
public IEnvironmentUI getEnvironmentUI()
getEnvironmentUI in interface IGameUIpublic IGame getGame()
getGame in interface IGameUIpublic void busy(BusyEvent event)
busy in interface IBusyListenerpublic void concede(ConcedeEvent event)
concede in interface IConcedeListenerpublic void gameChange(GameEvent event)
gameChange in interface IGameListenerpublic void init()
init in interface IGameUIpublic void start()
start in interface IGameUIpublic void stateChange(StateEvent event)
stateChange in interface IStateListenerprotected GameUISupport getGameUISupport()
protected Properties getProperties()
protected void createAgents()
protected String readInput()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |