|
||||||||||
| 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 IBusyListenerpublic void concede(ConcedeEvent event)
concede in interface IConcedeListenerpublic void gameChange(GameEvent event)
gameChange in interface IGameListenerpublic IEnvironmentUI getEnvironmentUI()
getEnvironmentUI in interface IGameUIpublic IGame getGame()
getGame in interface IGameUIpublic Properties getProperties()
public void init()
init in interface IGameUIpublic void start()
start in interface IGameUIpublic void stateChange(StateEvent event)
stateChange in interface IStateListenerpublic 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 |