17#include <vrfmodel/dieWhenHitActuator.h>
18#include "vreVrfModel/vreSimComponent.h"
43 DtComponentDescriptor* compDescriptor, DtReaderWriterRegistry* parentRegistry = 0);
55 virtual const char*
type()
const override;
62 virtual void tick()
override;
75 static DtSimComponent*
creator(
const DtString& name, DtLocalObject*
object, DtSimulationServices* simManager,
76 DtComponentDescriptor* compDescriptor, DtReaderWriterRegistry* parentRegistry);
DtVreDieWhenHitActuator(const DtString &name, DtLocalObject *object, DtSimulationServices *simManager, DtComponentDescriptor *compDescriptor, DtReaderWriterRegistry *parentRegistry=0)
Constructor.
virtual const char * type() const override
Gets the type identifier for this component.
virtual ~DtVreDieWhenHitActuator() override
Virtual destructor.
virtual void tick() override
Updates the actuator state each simulation frame.
static DtSimComponent * creator(const DtString &name, DtLocalObject *object, DtSimulationServices *simManager, DtComponentDescriptor *compDescriptor, DtReaderWriterRegistry *parentRegistry)
Factory method to create a new instance of this component.
DtVreSimComponent(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition vreSimComponent.h:54
Defines export macros for the vreVrfmodel library.
#define VREVRFMODEL_DLL
Definition export.h:22
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
const char DtVreDieWhenHitActuatorType[]
Type identifier for the VRE die-when-hit actuator component.
Definition vreDieWhenHitActuator.h:23