A track object representation that consists of an action trigger.
More...
#include <track_object_presentation.hpp>
|
| TrackObjectPresentationActionTrigger (const XMLNode &xml_node, TrackObject *parent) |
|
| TrackObjectPresentationActionTrigger (const core::vector3df &xyz, const std::string &scriptname, float distance) |
|
void | onTriggerItemApproached (int kart_id) |
|
virtual void | reset () OVERRIDE |
| Reset the trigger (i.e. More...
|
|
virtual void | setEnable (bool status) OVERRIDE |
| Sets the trigger to be enabled or disabled. More...
|
|
void | setReenableTimeout (float time) |
|
| TrackObjectPresentation (const XMLNode &xml_node) |
|
| TrackObjectPresentation (const core::vector3df &xyz, const core::vector3df &hpr=core::vector3df(0, 0, 0), const core::vector3df &scale=core::vector3df(0, 0, 0)) |
|
virtual void | updateGraphics (float dt) |
|
virtual void | update (float dt) |
|
virtual void | move (const core::vector3df &xyz, const core::vector3df &hpr, const core::vector3df &scale, bool isAbsoluteCoord) |
|
virtual const core::vector3df & | getPosition () const |
| Returns the position of this TrackObjectPresentation. More...
|
|
virtual const core::vector3df | getAbsolutePosition () const |
| Returns a copy of the initial position. More...
|
|
virtual const core::vector3df | getAbsoluteCenterPosition () const |
|
virtual const core::vector3df & | getRotation () const |
| Returns the initial rotation. More...
|
|
virtual const core::vector3df & | getScale () const |
| Returns the initial scale. More...
|
|
|
std::string | m_action |
| For action trigger objects.
|
|
std::string | m_library_id |
|
std::string | m_triggered_object |
|
std::string | m_library_name |
|
float | m_xml_reenable_timeout |
|
uint64_t | m_reenable_timeout |
|
ActionTriggerType | m_type |
|
A track object representation that consists of an action trigger.
◆ reset()
virtual void TrackObjectPresentationActionTrigger::reset |
( |
| ) |
|
|
inlinevirtual |
◆ setEnable()
virtual void TrackObjectPresentationActionTrigger::setEnable |
( |
bool |
status | ) |
|
|
inlinevirtual |
Sets the trigger to be enabled or disabled.
getMonoTimeMs is used to to avoid called update which duplicated in network rewinding.
Reimplemented from TrackObjectPresentation.
The documentation for this class was generated from the following files: