66 float velocityX,
float velocityY);
This file contains the component definitions.
This file contains the Registry class declaration.
Class for managing entities and their components.
Handles projectile creation and management.
ProjectileManager(ProjectileManager &&)=delete
static ecs::Entity createSuperchargedProjectile(ecs::Registry ®istry, float x, float y, float velocityX, float velocityY)
Create a supercharged projectile.
ProjectileManager()=default
~ProjectileManager()=default
ProjectileManager & operator=(ProjectileManager &&)=delete
static ecs::Entity createProjectile(ecs::Registry ®istry, ecs::Projectile::Type type, float x, float y, float velocityX, float velocityY)
Create a projectile with given parameters.
ProjectileManager & operator=(const ProjectileManager &)=delete
ProjectileManager(const ProjectileManager &)=delete
static ecs::Entity createBasicProjectile(ecs::Registry ®istry, float x, float y, float velocityX, float velocityY)
Create a basic projectile.