43class DtGunnerJoystickControl;
44class DtGunnerEventProcessor;
84 virtual void tick(
double dt)
override;
93 virtual const char*
type()
const override;
virtual bool initialize(DtPlayerStation *player, DtInitTable &config) override
Initializes the gunner range simulation component.
virtual ~DtGunnerRangeSimLogic() override
Destructor for DtGunnerRangeSimLogic.
virtual void shutdown() override
Shuts down the gunner range simulation component.
std::string myWindowName
Name of the window to use for ray casting.
Definition gunnerRangeSimLogic.h:115
double myTimeToUpdate
Simulation time at which the next range update should be computed.
Definition gunnerRangeSimLogic.h:105
std::string myChannelName
Name of the channel to use for ray casting.
Definition gunnerRangeSimLogic.h:120
virtual const char * type() const override
Returns the type identifier for this component.
virtual void updateRange()
Computes the range to target at specified time intervals.
virtual void tick(double dt) override
Called every frame to update the range simulation.
double myUpdateInterval
Time interval in seconds between range updates.
Definition gunnerRangeSimLogic.h:110
DtGunnerRangeSimLogic()
Constructor for DtGunnerRangeSimLogic.
Table-based access to Lua state for configuration data.
Definition initializer.h:38
virtual DtPlayerStation & player()
Gets the player station.
DtPlayerComponent()
Constructor.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
constexpr const char * channelName
Definition gunnerRangeSimLogic.h:31
constexpr const char * updateInterval
Definition gunnerRangeSimLogic.h:34
constexpr const char * windowName
Definition gunnerRangeSimLogic.h:37
Defines export/import macros for the vreCommonComponents library.
#define VRECOMMONCOMPONENTS_DLL
DLL export/import macro for the vreCommonComponents library.
Definition export.h:28
Provides configuration initialization for VREngage components.
Definition gunnerRangeSimLogic.h:23
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
constexpr const char * DtGunnerRangeSimLogicType
Type identifier for DtGunnerRangeSimLogic component.
Definition gunnerRangeSimLogic.h:47
Defines the DtPlayerComponent base class for VR-Engage role components.