|
Aegis2D
Modular C++26 2D game engine for networked games
|
An entity whose health reached zero, and the hit that did it. More...
#include <aegis2d/ecs/damage.hpp>
Public Attributes | |
| Entity | victim |
| Entity with no health left. | |
| Entity | killer |
| Attacker of the last hit, e.g. the missile, to credit its shooter. | |
Friends | |
| constexpr bool | operator== (const Kill &, const Kill &) noexcept=default |
| Compares the kills. | |
An entity whose health reached zero, and the hit that did it.
| Entity aegis2d::ecs::Kill::killer |
Attacker of the last hit, e.g. the missile, to credit its shooter.