|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.ui.game.GameUISupport
public class GameUISupport
Provides base functionality for game user interfaces in the game framework.
Constructor Summary | |
---|---|
GameUISupport(IGameUI owner,
String propertiesFilename)
Construct this object. |
Method Summary | |
---|---|
void |
busy(BusyEvent event)
Respond to busy events. |
void |
concede(ConcedeEvent event)
Respond to concede events. |
protected IEnvironmentUI |
createEnvironmentUI(Properties properties)
Create the environment UI. |
protected IGame |
createGame(Properties properties)
Create the game. |
void |
gameChange(GameEvent event)
Respond to game events. |
IEnvironmentUI |
getEnvironmentUI()
Return the environment user interface component. |
IGame |
getGame()
Return the game component. |
Properties |
getProperties()
Return the configuration properties. |
void |
init()
Initialize this applet. |
void |
start()
Start this applet. |
void |
stateChange(StateEvent event)
Respond to state events. |
void |
stop()
Stop this applet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GameUISupport(IGameUI owner, String propertiesFilename)
Method Detail |
---|
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 IEnvironmentUI getEnvironmentUI()
getEnvironmentUI
in interface IGameUI
public IGame getGame()
getGame
in interface IGameUI
public Properties getProperties()
public void init()
init
in interface IGameUI
public void start()
start
in interface IGameUI
public void stateChange(StateEvent event)
stateChange
in interface IStateListener
public void stop()
protected IEnvironmentUI createEnvironmentUI(Properties properties) throws InstantiationException, IllegalAccessException
properties
- Source of environment UI information.
InstantiationException
IllegalAccessException
protected IGame createGame(Properties properties) throws InstantiationException, IllegalAccessException
properties
- Source of game information.
InstantiationException
IllegalAccessException
|
||||||||||
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 |