com.huguesjohnson.serialization
Interface Storable
- All Known Implementing Classes:
- Area, Attribute, Character, ColorScheme, GameData, GameScript, Item, Map, NamedObject, NamedObjectTreeNode, NonPlayerCharacter, PlayerCharacter, Sequence, SequenceFrame, Skill, Sprite, StringTable, Theme, TileMap, TreeNode
public interface Storable
Storable - interface for objects that can be serialized
- Author:
- Hugues Johnson
Method Summary |
void |
onDeserialize(Formatter formatter,
java.lang.String absoluteDir)
The onDeserialize event should be fired after an object is de-serialized. |
onDeserialize
void onDeserialize(Formatter formatter,
java.lang.String absoluteDir)
- The onDeserialize event should be fired after an object is de-serialized. This allows objects to load transient members, set their working directory, and load Storable members if needed.
- Parameters:
formatter
- the formatter to use to load any storable membersabsoluteDir
- the working directory since all paths stored in the object should be relative