|
Aegis2D
Modular C++26 2D game engine for networked games
|
Entity destroyed once its Animation has played to the end: a visual effect that lasts as long as its clip, such as an explosion. More...
#include <aegis2d/ecs/components.hpp>
Entity destroyed once its Animation has played to the end: a visual effect that lasts as long as its clip, such as an explosion.
ecs::destroy_finished_animations() destroys the entity when its Animation does not loop and is finished(). Effects are made by each client from the gameplay events (e.g. ecs::Explosion), so the server never sends them.