Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::ecs::Owner Struct Reference

Entity that created this one, e.g. the player who fired a missile. More...

#include <aegis2d/ecs/components.hpp>

Public Attributes

Entity entity
 The creator; null if there is none.
 

Detailed Description

Entity that created this one, e.g. the player who fired a missile.

Lets a kill made by a missile be credited to its shooter (ecs::credit_kills()).

Member Data Documentation

◆ entity

Entity aegis2d::ecs::Owner::entity

The creator; null if there is none.


The documentation for this struct was generated from the following file: