games.strategy.triplea.delegate
Class TripleADelegateHistoryWriter
java.lang.Object
games.strategy.triplea.delegate.TripleADelegateHistoryWriter
- All Implemented Interfaces:
- IDelegateHistoryWriter
public class TripleADelegateHistoryWriter
- extends java.lang.Object
- implements IDelegateHistoryWriter
Has a subset of the historyWriters functionality.
Delegates should only have access to these functions.
The rest of the history writers functions should only
be used by the GameData
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TripleADelegateHistoryWriter
public TripleADelegateHistoryWriter(IDelegateBridge bridge,
GameData data)
getEventPrefix
public java.lang.String getEventPrefix()
startEvent
public void startEvent(java.lang.String eventName)
- Specified by:
startEvent in interface IDelegateHistoryWriter
addChildToEvent
public void addChildToEvent(java.lang.String child)
- Specified by:
addChildToEvent in interface IDelegateHistoryWriter
addChildToEvent
public void addChildToEvent(java.lang.String child,
java.lang.Object renderingData)
- Specified by:
addChildToEvent in interface IDelegateHistoryWriter
setRenderingData
public void setRenderingData(java.lang.Object renderingData)
- Set the rendering data for the current event.
- Specified by:
setRenderingData in interface IDelegateHistoryWriter