dd.sim
Class Briefing

java.lang.Object
  extended bydd.sim.SimObject
      extended bydd.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

Field Summary
 
Fields inherited from class dd.sim.SimObject
attributes
 
Constructor Summary
Briefing()
           
 
Method Summary
 void addGameRoot(GameRoot root)
           
 void addPage(java.lang.String text, java.lang.String layerName)
           
 int getCount()
           
 java.lang.String getDigest()
           
 boolean getFinal()
           
 GameRoot getGameRoot()
           
 java.util.ArrayList getLayers()
           
 java.util.ArrayList getText()
           
 void setFinal(boolean b)
           
 
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
 

Constructor Detail

Briefing

public Briefing()
Method Detail

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()