#include <EntityFactory.h>
Inheritance diagram for GUI::EntityFactory< T >:
Public Member Functions | |
EntityFactory (const std::string &name) | |
Construct a new entity factory for class T. | |
EventEntity * | create (WinMessage msg) |
Create a new instance if entity T. |
T | the event entity class, derived from EventEntity |
GUI::EntityFactory< T >::EntityFactory | ( | const std::string & | name | ) | [inline] |
Construct a new entity factory for class T.
name | the entity factory name |
EventEntity* GUI::EntityFactory< T >::create | ( | WinMessage | msg | ) | [inline, virtual] |
Create a new instance if entity T.
wParam | additional message information from EventsDispatcher | |
lParam | additional message information from EventsDispatcher |
Implements GUI::EntityFactoryBase.