3#include "Components.hpp"
7#define DEFAULT_TIMER 10.0f
45void spawn_player(
Registry &
r,
const float pos_x,
const float pos_y,
const uint32_t client_id,
const std::string &username);
loot_enum
Defines the different types of loot that can be dropped in the game.
void spawn_powerup(Registry &r, const float pos_x, const float pos_y, const loot_enum loot)
Spawns a power-up at the specified position.
void spawn_obstacle(Registry &r, const float pos_x, const float pos_y)
Spawns an obstacle at the specified position.
void spawn_missile(Registry &r, const float pos_x, const float pos_y, const type_enum owner)
Spawns a missile at the specified position.
void spawn_monster_system(Registry &r)
Spawns a monster periodically based on the spawn timer.
void spawn_monster(Registry &r, const float pos_x, const float pos_y)
Spawns a monster at the specified position.
void spawn_player(Registry &r, const float pos_x, const float pos_y, const uint32_t client_id, const std::string &username)
Spawns a player with the specified username at the given position.
void spawn_obstacle_system(Registry &r)
Spawns obstacles periodically based on the spawn timer.
type_enum
Defines the different types of entities in the game.
Manages entities and their associated components, enabling the creation, deletion,...