#include <vreDiGuyController.h>
|
| static DtSimComponent * | creator (const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) |
| |
◆ DtVreDiGuyController() [1/3]
| makVre::DtVreDiGuyController::DtVreDiGuyController |
( |
const DtString & | name, |
|
|
DtLocalObject * | owner, |
|
|
DtSimulationServices * | simManager, |
|
|
DtComponentDescriptor * | desc = 0, |
|
|
DtReaderWriterRegistry * | parentRegistry = 0 ) |
Constructor Creates a new DiGuy controller component with the specified parameters.
- Parameters
-
| name | The name of this component |
| owner | The local object that owns this component |
| simManager | The simulation services manager |
| desc | Component descriptor with configuration parameters |
| parentRegistry | Optional parent registry for reader/writer functionality |
Referenced by DtVreDiGuyController(), and operator=().
◆ ~DtVreDiGuyController()
| virtual makVre::DtVreDiGuyController::~DtVreDiGuyController |
( |
| ) |
|
|
overridevirtual |
Virtual destructor Cleans up resources used by the DiGuy controller component.
◆ DtVreDiGuyController() [2/3]
| makVre::DtVreDiGuyController::DtVreDiGuyController |
( |
| ) |
|
|
private |
Default constructor (not implemented) Default constructor is private and not implemented to prevent creation of instances without proper initialization.
◆ DtVreDiGuyController() [3/3]
Copy constructor (not implemented) Copy constructor is private and not implemented to prevent copy construction.
References DtVreDiGuyController().
◆ type()
| virtual const char * makVre::DtVreDiGuyController::type |
( |
| ) |
const |
|
overridevirtual |
Gets the type identifier for this component Implements the DtSimComponent::type() method to return the type identifier for this component.
- Returns
- String identifying the component type (DtVreDIGuyControllerType)
◆ creator()
| static DtSimComponent * makVre::DtVreDiGuyController::creator |
( |
const DtString & | name, |
|
|
DtLocalObject * | owner, |
|
|
DtSimulationServices * | simManager, |
|
|
DtComponentDescriptor * | desc = 0, |
|
|
DtReaderWriterRegistry * | parentRegistry = 0 ) |
|
static |
Factory method to create a new instance of this component Static factory method used by the component creation system to instantiate new instances of this component type.
- Parameters
-
| name | The name for the new component |
| owner | The local object that will own this component |
| simManager | The simulation services manager |
| desc | Optional component descriptor |
| parentRegistry | Optional parent registry for reader/writer functionality |
- Returns
- Pointer to the newly created component
◆ tick()
| virtual void makVre::DtVreDiGuyController::tick |
( |
| ) |
|
|
overridevirtual |
Updates the controller state each simulation frame Overridden to give up animation control when the entity is player-controlled. This allows player inputs to directly control animation states rather than having the AI controller determine animations.
◆ operator=()
Assignment operator (not implemented) Assignment operator is private and not implemented to prevent assignment.
- Returns
- Reference to this object
References DtVreDiGuyController().
The documentation for this class was generated from the following file: