|
||||||||||
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 IEnvironmentUI
public boolean isAudioOn()
isAudioOn
in interface IEnvironmentUI
public void setEnvironment(IEnvironment environment)
setEnvironment
in interface IEnvironmentUI
environment
- Environment.public IEnvironment getEnvironment()
getEnvironment
in interface IEnvironmentUI
public void assignAgentListeners(Iterator agentIterator)
assignAgentListeners
in interface IEnvironmentUI
agentIterator
- Agent iterator.public void configure(Properties properties) throws InstantiationException, IllegalAccessException
configure
in interface IEnvironmentUI
properties
- Source of configuration information.
InstantiationException
IllegalAccessException
public void removeAgentListeners(Iterator agentIterator)
removeAgentListeners
in interface IEnvironmentUI
agentIterator
- Agent iterator.public void reset()
reset
in interface IEnvironmentUI
public 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 |