new AxEntity()
This is a virtual prototype meant to be inherited by overrideing its methods
Creates a new entity object
Entities are fundamenal serializable objects, building blocks of the axis scenery
- Source:
Methods
Deserialize(source) → {Boolean}
Virtual funciton
Deserializes the entity, reading its data from a source stream
Parameters:
Name | Type | Description |
---|---|---|
source |
AxStream | Stream from which to read the serialized data of the entity |
- Source:
Returns:
True if the deserialization was successfull
- Type
- Boolean
Serialize(destination)
Virtual funciton
Serializes the entity into the stream
Parameters:
Name | Type | Description |
---|---|---|
destination |
AxStream | Stream in which to write the serialized data of the entity |
- Source: