Shoot'em up building blocks on top of the ECS: player ships, their controls, weapons and their shots....
Definition components.hpp:5
Weapon that fires on its own, as soon as it is reloaded (enemies).
Definition components.hpp:31
Ship steered by a player's input (ecs::PlayerInput).
Definition components.hpp:8
float speed
Speed in logical pixels per second, the same in every direction.
Definition components.hpp:10
Gun of a ship: how often it can fire.
Definition components.hpp:18
float cooldown
Seconds between two shots.
Definition components.hpp:20
float reload
Seconds before the next shot is allowed; 0 when ready.
Definition components.hpp:22