Fired when an entity overlaps with a non-solid trigger zone.
More...
#include <Events.hpp>
Fired when an entity overlaps with a non-solid trigger zone.
◆ InterceptionEvent() [1/2]
| InterceptionEvent::InterceptionEvent |
( |
| ) |
|
|
default |
Default constructor for delayed initialization.
- Parameters
-
- Return values
-
◆ InterceptionEvent() [2/2]
| InterceptionEvent::InterceptionEvent |
( |
entt::entity |
a, |
|
|
entt::entity |
b, |
|
|
TriggerAction |
act |
|
) |
| |
|
inline |
Initializes an interception event.
- Parameters
-
| a | : ID of the physical entity |
| b | : ID of the trigger zone entity |
| act | : Current state of the intersection |
- Return values
-
◆ action
State of the intersection.
◆ entityA
| entt::entity InterceptionEvent::entityA |
ID of the physical entity (e.g., Player)
◆ entityB
| entt::entity InterceptionEvent::entityB |
ID of the non-solid trigger zone.
The documentation for this struct was generated from the following file:
- /home/runner/work/Cheese-Engine/Cheese-Engine/inc/Events.hpp