r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
EntityManager.hpp File Reference

Centralized entity lifecycle management system for R-Type server. More...

#include "ECS/Component.hpp"
#include "ECS/Entity.hpp"
#include "ECS/Registry.hpp"
#include "Interfaces/Protocol/Protocol.hpp"
#include <memory>
#include <unordered_map>
#include <unordered_set>
#include <vector>
+ Include dependency graph for EntityManager.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gme::EntityMetadata
 Metadata structure for tracking entity lifecycle and properties. More...
 
class  gme::EntityManager
 Central entity lifecycle manager for the R-Type game server. More...
 

Namespaces

namespace  gme
 

Enumerations

enum class  gme::ServerEntityType : uint8_t {
  gme::PLAYER = 0 , gme::ENEMY_BASIC = 1 , gme::ENEMY_ADVANCED = 2 , gme::BOSS = 3 ,
  gme::PROJECTILE_PLAYER = 4 , gme::PROJECTILE_ENEMY = 5 , gme::POWERUP = 6
}
 Enumeration of entity types managed by the server. More...
 

Detailed Description

Centralized entity lifecycle management system for R-Type server.

This file contains the EntityManager class which provides a complete entity management system for the R-Type game server. It handles creation, destruction, tracking, and synchronization of all game entities including players, enemies, projectiles, and powerups. The manager maintains network IDs for entity synchronization and provides factory methods for entity creation with proper component initialization.

Definition in file EntityManager.hpp.