Trigger management.
More...
#include <TriggerManager.hpp>
◆ AddTriggerRepeat()
Add a repeating trigger to the component.
- Parameters
-
| trigger | Component to add trigger to. |
| shape | The physical shape of the trigger volume. |
◆ ClearKilledComponents()
| void TriggerManager::ClearKilledComponents |
( |
| ) |
|
Remove all killed components.
◆ CreateTrigger()
Create a trigger component.
- Returns
- The created component.
◆ GetTriggerComponents()
| const std::vector< Component::Trigger * > & TriggerManager::GetTriggerComponents |
( |
| ) |
const |
Get all trigger components.
- Returns
- All trigger components.
◆ GetTriggerRepeat()
Get the repeat trigger of a trigger component.
- Parameters
-
- Returns
- The repeat trigger if present, or nullptr if something else.
◆ InitiateUID()
| void TriggerManager::InitiateUID |
( |
| ) |
|
Find and set entity with Unique ID.
◆ InitiateVolumes()
| void TriggerManager::InitiateVolumes |
( |
| ) |
|
◆ ProcessTriggers()
| void TriggerManager::ProcessTriggers |
( |
| ) |
|
Iterate triggers and have them call their target scripts if conditions are satisfied. This should be called after both the physics- and script managers have been updated.
◆ SynchronizeTriggers()
| void TriggerManager::SynchronizeTriggers |
( |
| ) |
|
Update the trigger volume data.
◆ Hub
The documentation for this class was generated from the following files: