Changeset 11071 for code/trunk/src/modules/objects/triggers/Trigger.h
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/objects/triggers/Trigger.h
r9667 r11071 83 83 virtual ~Trigger(); 84 84 85 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); // Method for creating a Trigger object through XML.86 85 virtual void tick(float dt); 87 86 … … 105 104 inline bool isTriggered() 106 105 { return this->isTriggered(this->mode_); } 107 virtual bool isTriggered(TriggerMode ::Valuemode); // Check whether the Trigger should be triggered, given only its sub-triggers, given a specific mode.106 virtual bool isTriggered(TriggerMode mode); // Check whether the Trigger should be triggered, given only its sub-triggers, given a specific mode. 108 107 virtual void triggered(bool bIsTriggered); // Fires an event with the input triggered state. 109 108 … … 127 126 BillboardSet debugBillboard_; //!< A set of debug billboards to visualize the state of the trigger. 128 127 129 std::queue<std::pair<float, char> 128 std::queue<std::pair<float, char>> stateChanges_; //!< A queue of state changes (in the same format as latestState_) paired with the time they will take effect since the last state change took effect. 130 129 }; 131 130
Note: See TracChangeset
for help on using the changeset viewer.