org.vizzini.ui.game.boardgame
Class GridBoardUIText

java.lang.Object
  extended by org.vizzini.ui.game.AbstractEnvironmentUIText
      extended by org.vizzini.ui.game.boardgame.GridBoardUIText
All Implemented Interfaces:
IScoreListener, IStateListener, IGridBoardUI, IEnvironmentUI, IListener

public class GridBoardUIText
extends AbstractEnvironmentUIText
implements IGridBoardUI

Provides functionality for text grid board environment user interfaces in the game framework.

Since:
v0.1
Version:
v0.2
Author:
Jeffrey M. Thompson

Constructor Summary
GridBoardUIText()
           
 
Method Summary
 void setNullToken(String string)
          Set the null token string.
 void stateChange(StateEvent event)
          Respond to state change events.
 void writeBoard(IGridBoard board, PrintStream out)
          Write the given board to standard out.
 
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
 
Methods inherited from interface org.vizzini.ui.game.IEnvironmentUI
assignAgentListeners, configure, getEnvironment, isAudioOn, removeAgentListeners, reset, setAudioOn, setEnvironment
 
Methods inherited from interface org.vizzini.game.event.IScoreListener
scoreChange
 

Constructor Detail

GridBoardUIText

public GridBoardUIText()
Method Detail

setNullToken

public void setNullToken(String string)
Set the null token string.

Parameters:
string - The new null token string.
Since:
v0.1

stateChange

public void stateChange(StateEvent event)
Respond to state change events.

Specified by:
stateChange in interface IStateListener
Since:
v0.1

writeBoard

public void writeBoard(IGridBoard board,
                       PrintStream out)
Write the given board to standard out.

Parameters:
board - The board to write.
Since:
v0.1


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02