ControllerFactory Class Reference
[Controller]
#include <ControllerFactory.hh>
Detailed Description
The controller factory; the class is just for namespacing purposes.Static Public Member Functions | |
static void | RegisterAll () |
static void | RegisterController (std::string type, std::string classname, ControllerFactoryFn factoryfn) |
static Controller * | NewController (const std::string &classname, Entity *parent) |
Member Function Documentation
static void RegisterAll | ( | ) | [static] |
Register all known controllers.
static void RegisterController | ( | std::string | type, | |
std::string | classname, | |||
ControllerFactoryFn | factoryfn | |||
) | [static] |
Register a controller class (called by controller registration function).
static Controller* NewController | ( | const std::string & | classname, | |
Entity * | parent | |||
) | [static] |
Create a new instance of a controller. Used by the world when reading the world file.
The documentation for this class was generated from the following file: