ModelFactory Class Reference
The model factory; the class is just for namespacing purposes. More...
#include <ModelFactory.hh>
Static Public Member Functions | |
| static void | RegisterAll () |
| Register all known models. | |
| static void | RegisterModel (const char *type, const char *classname, ModelFactoryFn factoryfn) |
| Register a model class (called by model registration function). | |
| static Model * | NewModel (World *world, const char *classname) |
| Create a new instance of a model. Used by the world when reading the world file. | |
Classes | |
| class | ModelClass |
Detailed Description
The model factory; the class is just for namespacing purposes.
Member Function Documentation
|
|
Register all known models.
|
|
||||||||||||||||
|
Register a model class (called by model registration function).
|
|
||||||||||||
|
Create a new instance of a model. Used by the world when reading the world file.
|
The documentation for this class was generated from the following files:
