games.strategy.engine.history
Class DelegateHistoryWriter
java.lang.Object
games.strategy.engine.history.DelegateHistoryWriter
- All Implemented Interfaces:
- IDelegateHistoryWriter
public class DelegateHistoryWriter
- 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 |
DelegateHistoryWriter
public DelegateHistoryWriter(IChannelMessenger messenger)
DelegateHistoryWriter
public DelegateHistoryWriter(IGameModifiedChannel channel)
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 redering data for the current event.
- Specified by:
setRenderingData in interface IDelegateHistoryWriter