Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
CollisionEvent.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "entity/Entity.hpp"
4
Definition CollisionEvent.hpp:5
Represents a unique identifier for an entity in the Engine's entity-component system....
Definition EntityId.hpp:14
Event triggered when a collision starts between two entities.
Definition CollisionEvent.hpp:10
Engine::EntityId entity1
The first entity involved in the collision.
Definition CollisionEvent.hpp:11
Engine::EntityId entity2
The second entity involved in the collision.
Definition CollisionEvent.hpp:12
Event triggered when a collision persists between two entities.
Definition CollisionEvent.hpp:18
Engine::EntityId entity1
The first entity involved in the collision.
Definition CollisionEvent.hpp:19
Engine::EntityId entity2
The second entity involved in the collision.
Definition CollisionEvent.hpp:20
Event triggered when a collision ends between two entities.
Definition CollisionEvent.hpp:26
Engine::EntityId entity2
The second entity involved in the collision.
Definition CollisionEvent.hpp:28
Engine::EntityId entity1
The first entity involved in the collision.
Definition CollisionEvent.hpp:27