|
||||||||||
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 IGameUI
public IGame getGame()
getGame
in interface IGameUI
public void busy(BusyEvent event)
busy
in interface IBusyListener
public void concede(ConcedeEvent event)
concede
in interface IConcedeListener
public void gameChange(GameEvent event)
gameChange
in interface IGameListener
public void init()
init
in interface IGameUI
public void start()
start
in interface IGameUI
public void stateChange(StateEvent event)
stateChange
in interface IStateListener
protected 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 |