The Persistent interface enables the class to be serialized and unserialized thus saved to and restored from persistent storage.
isChanged () : Bool
Returns true if the object has been changed since the last serialization (save).
hxSerialize (s : haxe.Serializer)
s A Serializer object in which the object's content will be serialized.
Passes the object for serialization to the Serializer object.
unSerialize (s : haxe.Unserializer)
s An Unserializer from which the object can be retrieved.
Retrieves the object from the Unserializer.