dd.sim
Class Briefing
java.lang.Object
dd.sim.SimObject
dd.sim.Briefing
- All Implemented Interfaces:
- java.io.Serializable
- public class Briefing
- extends SimObject
The Briefing class is a SimObject that contains a GameRoot, an
ArrayList of ttext strings (generally HTML) that contain
introductory information for the current turn of the scenario, and
an ArrayList of layer names for display with the corresponding text
strings. Each page, in other words, consists of an HTML document
and a landuse layer (possibly the current one) on the map.
Briefings are used to bring the players up to date on what happened
between turns, and for review at the end of a game.
- See Also:
- Serialized Form
Methods inherited from class dd.sim.SimObject |
addPropertyChangeListener, addPropertyChangeListener, debug, duplicate, error, fatal, filter, filter, firePropertyChange, getAttribute, getAttribute, getAttributes, getGlobalAttribute, getObjectAttribute, getObjectAttribute, incrementAttribute, incrementAttribute, isSet, log, out, readFromXML, readFromXML, removeAttribute, removePropertyChangeListener, setAttribute, setAttribute, setAttribute, setAttributes, setGlobalAttribute, warning, writeText, writeXML, writeXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Briefing
public Briefing()
getText
public java.util.ArrayList getText()
getLayers
public java.util.ArrayList getLayers()
getCount
public int getCount()
setFinal
public void setFinal(boolean b)
getFinal
public boolean getFinal()
addPage
public void addPage(java.lang.String text,
java.lang.String layerName)
addGameRoot
public void addGameRoot(GameRoot root)
getGameRoot
public GameRoot getGameRoot()
getDigest
public java.lang.String getDigest()