|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vizzini.ui.game.AbstractEnvironmentUIText
public abstract class AbstractEnvironmentUIText
Provides base functionality for environment user interfaces in the game framework.
| Constructor Summary | |
|---|---|
AbstractEnvironmentUIText()
|
|
| Method Summary | |
|---|---|
void |
assignAgentListeners(Iterator agentIterator)
Assign listeners using the given agents. |
void |
configure(Properties properties)
Configure this environment. |
IEnvironment |
getEnvironment()
Return the environment this UI represents. |
boolean |
isAudioOn()
Return true if audio is on. |
void |
removeAgentListeners(Iterator agentIterator)
Remove the given agents as listeners. |
void |
reset()
Reset. |
void |
scoreChange(ScoreEvent event)
Respond to score change events. |
void |
setAudioOn(boolean isAudioOn)
Set the audio on flag. |
void |
setEnvironment(IEnvironment environment)
Set the environment this UI represents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.vizzini.game.event.IStateListener |
|---|
stateChange |
| Constructor Detail |
|---|
public AbstractEnvironmentUIText()
| Method Detail |
|---|
public void setAudioOn(boolean isAudioOn)
setAudioOn in interface IEnvironmentUIpublic boolean isAudioOn()
isAudioOn in interface IEnvironmentUIpublic void setEnvironment(IEnvironment environment)
setEnvironment in interface IEnvironmentUIenvironment - Environment.public IEnvironment getEnvironment()
getEnvironment in interface IEnvironmentUIpublic void assignAgentListeners(Iterator agentIterator)
assignAgentListeners in interface IEnvironmentUIagentIterator - Agent iterator.
public void configure(Properties properties)
throws InstantiationException,
IllegalAccessException
configure in interface IEnvironmentUIproperties - Source of configuration information.
InstantiationException
IllegalAccessExceptionpublic void removeAgentListeners(Iterator agentIterator)
removeAgentListeners in interface IEnvironmentUIagentIterator - Agent iterator.public void reset()
reset in interface IEnvironmentUIpublic void scoreChange(ScoreEvent event)
scoreChange in interface IScoreListener
|
||||||||||
| 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 |