|
Aegis2D
Modular C++26 2D game engine for networked games
|
Score: credits each kill to the player who made it. More...
#include <aegis2d/ecs/components.hpp>#include <aegis2d/ecs/damage.hpp>#include <aegis2d/ecs/entity.hpp>#include <aegis2d/ecs/registry.hpp>#include <cstdint>#include <limits>#include <optional>#include <vector>Go to the source code of this file.
Classes | |
| struct | aegis2d::ecs::Award |
| Points given to a player for a kill. More... | |
Namespaces | |
| namespace | aegis2d |
| Root namespace of the engine. | |
| namespace | aegis2d::ecs |
| Entity-Component-System used by client and server. | |
Functions | |
| std::optional< Entity > | aegis2d::ecs::shooter_of (const Registry ®istry, Entity killer) |
| Player credited for a kill made by an entity. | |
| void | aegis2d::ecs::credit_kills (Registry ®istry, const DamageReport &report, std::vector< Award > &awards) |
| Adds the value of each killed entity to the score of the player who killed it. | |
Score: credits each kill to the player who made it.