![]() |
Public API Reference |
This interface allows one to access the celentitytpl addon with an easier interface. More...
#include <tools/entitytplloader.h>
Public Member Functions | |
| virtual iCelEntityTemplate * | Load (iDocumentNode *node)=0 |
| Load the entity template from the document node. | |
| virtual iCelEntityTemplate * | Load (const char *path, const char *file)=0 |
| Conveniance function to load the entity template from a vfs file. | |
This interface allows one to access the celentitytpl addon with an easier interface.
With this addon you can load entity templates with assocated behaviour and property classes from an XML description file.
Definition at line 36 of file entitytplloader.h.
| virtual iCelEntityTemplate* iEntityTemplateLoader::Load | ( | iDocumentNode * | node | ) | [pure virtual] |
Load the entity template from the document node.
Returns entity template or 0 on failure. In case of failure the error has been reported to the reporter.
| virtual iCelEntityTemplate* iEntityTemplateLoader::Load | ( | const char * | path, |
| const char * | file | ||
| ) | [pure virtual] |
Conveniance function to load the entity template from a vfs file.
| path | optional VFS path. Can be 0. |