|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vizzini.ui.game.AbstractEnvironmentUIText
org.vizzini.ui.game.cardgame.AbstractCardEnvUIText
org.vizzini.example.gin.ui.EnvironmentUIText
public class EnvironmentUIText
Provides functionality for a text environment user interface for Gin in the game framework.
| Constructor Summary | |
|---|---|
EnvironmentUIText()
|
|
| Method Summary | |
|---|---|
void |
stateChange(StateEvent event)
Respond to state change events. |
protected void |
writeCard(ICard card,
PrintStream out)
Write the given card to the given print stream. |
protected void |
writeCards(ITokenCollection cards,
PrintStream out)
Write the given card collection to the given print stream. |
void |
writeTable(Environment table,
PrintStream out)
Write the given table to the given print stream. |
| Methods inherited from class org.vizzini.ui.game.AbstractEnvironmentUIText |
|---|
assignAgentListeners, configure, getEnvironment, isAudioOn, removeAgentListeners, reset, scoreChange, setAudioOn, setEnvironment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnvironmentUIText()
| Method Detail |
|---|
public void stateChange(StateEvent event)
public void writeTable(Environment table,
PrintStream out)
table - The table to write.out - Print stream to which to write.
protected void writeCard(ICard card,
PrintStream out)
protected void writeCards(ITokenCollection cards,
PrintStream out)
|
||||||||||
| 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 |