com.huguesjohnson.serialization
Interface Storable

All Known Implementing Classes:
Area, Attribute, BaseGameState, Character, ColorScheme, GameData, GameDataManager, GameScript, Item, Location, 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.
 

Method Detail

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 members
absoluteDir - the working directory since all paths stored in the object should be relative


Copyright © 2004-2006 Hugues Johnson