Mutator Class Reference
#include <Mutator.h>
Inheritance diagram for Mutator:
![](../class_mutator.png)
# Public Types | |
typedef const MutatorSpec | MutatorROMSpec |
# Public Member Functions | |
void | constructor (Entity owner, const MutatorSpec *mutatorSpec) |
void | enable () |
Enable the mutator's operations. | |
void | disable () |
Disable the mutator's operations. | |
bool | isEnabled () |
# Protected Attributes | |
bool | enabled |
Flag to allow or prohibit the mutator to perform its operations. |
# Additional Inherited Members | |
![]() | |
enum | ComponentCommands |
enum | ComponentTypes |
![]() | |
void | constructor (Entity owner, const ComponentSpec *componentSpec) |
void | destructor () |
Class' destructor. | |
ComponentSpec * | getSpec () |
Entity | getOwner () |
Retrieve the collider's owner. | |
uint32 | getType () |
virtual void | releaseResources () |
Called to release the component. | |
virtual void | handleCommand (int32 command, va_list args) |
virtual RightBox | getRightBox () |
![]() | |
Entity | owner |
Object to which this component attaches to. | |
const ComponentSpec * | componentSpec |
Pointer to the spec that defines how to initialize the component. | |
const Transformation * | transformation |
bool | deleteMe |
Flag to mark the component as pending deletion. |
# Detailed Description
Class Mutator
Inherits from Component
Right now, this is only used by the Vehicle class in the plugins. Eventually, this will serve to avoid the need to inherit from Actor.
# Member Typedef Documentation
# MutatorROMSpec
typedef const MutatorSpec MutatorROMSpec |
# Member Function Documentation
# constructor()
void Mutator::constructor | ( | Entity | owner, |
const MutatorSpec * | mutatorSpec ) |
# disable()
void Mutator::disable | ( | ) |
# enable()
# isEnabled()
bool Mutator::isEnabled | ( | ) |
# Member Data Documentation
# enabled
|
protected |
The documentation for this class was generated from the following files: