MutatorManager Class Reference
#include <MutatorManager.h>
# Public Member Functions | |
| void | constructor () |
| Class' constructor. | |
| override uint32 | getType () |
| override void | enable () |
| Enable the manager. | |
| override void | disable () |
| Disable the manager. | |
| override Mutator | create (Entity owner, const MutatorSpec *mutatorSpec) |
| void | reset () |
| void | update () |
| Update the registered bodies by advancing the physics simulations. | |
# Additional Inherited Members | |
Private Member Functions inherited from ComponentManager | |
| void | constructor () |
| Class' constructor. | |
| void | destroyAllComponents () |
| Destroy all the manager's components. | |
| virtual Component | create (Entity owner, const ComponentSpec *componentSpec)=0 |
| virtual void | purgeComponents () |
| Force the purging of deleted components. | |
| virtual bool | areComponentsVisual () |
Static Private Member Functions inherited from ComponentManager | |
| static Component | createComponent (Entity owner, const ComponentSpec *componentSpec) |
| static void | destroyComponent (Entity owner, Component component) |
| static Component | addComponent (Entity owner, const ComponentSpec *componentSpec) |
| static void | removeComponent (Entity owner, Component component) |
| static void | addComponents (Entity owner, ComponentSpec **componentSpecs, uint32 componentType) |
| static void | removeComponents (Entity owner, uint32 componentType) |
| static void | createComponents (Entity owner, ComponentSpec **componentSpecs) |
| static void | destroyComponents (Entity owner) |
| static Component | getComponentAtIndex (Entity owner, uint32 componentType, int16 componentIndex) |
| static void | getComponents (Entity owner, uint32 componentType, VirtualList components) |
| static bool | getComponentsOfClass (Entity owner, ClassPointer classPointer, VirtualList components, uint32 componentType) |
| static uint16 | getComponentsCount (Entity owner, uint32 componentType) |
| static void | propagateCommand (int32 command, Entity owner, uint32 componentType,...) |
| static bool | calculateRightBox (Entity owner, RightBox *rightBox) |
Private Attributes inherited from ComponentManager | |
| VirtualList | components |
| List of components. | |
| bool | locked |
| Flag to prevent the manipulation of the components list. | |
# Detailed Description
Class MutatorManager
Inherits from ComponentManager
Manages all the mutator instances.
Definition at line 30 of file MutatorManager.h.
# Member Function Documentation
# constructor()
| void MutatorManager::constructor | ( | ) |
Class' constructor.
Definition at line 94 of file MutatorManager.c.
# create()
| Mutator MutatorManager::create | ( | Entity | owner, |
| const MutatorSpec * | mutatorSpec ) |
Create a mutator with the provided spec.
- Parameters
-
owner Object to which the mutator will attach to mutatorSpec Spec to use to create the mutator
- Returns
- Created mutator
Definition at line 54 of file MutatorManager.c.
# disable()
|
virtual |
Disable the manager.
Reimplemented from ComponentManager.
Definition at line 47 of file MutatorManager.c.
# enable()
|
virtual |
Enable the manager.
Reimplemented from ComponentManager.
Definition at line 40 of file MutatorManager.c.
# getType()
|
virtual |
Retrieve the compoment type that the manager manages.
- Returns
- Component type
Implements ComponentManager.
Definition at line 33 of file MutatorManager.c.
# reset()
| void MutatorManager::reset | ( | ) |
Destroy the provided mutator Reset the manager's state
# update()
| void MutatorManager::update | ( | ) |
Update the registered bodies by advancing the physics simulations.
Definition at line 66 of file MutatorManager.c.
The documentation for this class was generated from the following files:
- VUEngine-Core/source/Component/Mutator/MutatorManager.h
- VUEngine-Core/source/Component/Mutator/MutatorManager.c
Private Member Functions inherited from