#include <buildingprototype.h>
Public Member Functions | |
BuildingPrototype (const char *id) | |
virtual | ~BuildingPrototype () |
Protected Member Functions | |
virtual bool | Serialize (Serializer &serializer) |
virtual bool | Deserialize (Serializer &serializer, bool first) |
BuildingPrototype::BuildingPrototype | ( | const char * | id | ) |
Inicializes member variables.
BuildingPrototype::~BuildingPrototype | ( | ) | [virtual] |
Unloades resources and deletes created models.
bool BuildingPrototype::Serialize | ( | Serializer & | serializer | ) | [protected, virtual] |
bool BuildingPrototype::Deserialize | ( | Serializer & | serializer, | |
bool | first | |||
) | [protected, virtual] |
Recursively deserialize all children.
Reimplemented from Prototype.