Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
rtp::client::EntityBuilder Class Reference

#include <EntityBuilder.hpp>

Collaboration diagram for rtp::client::EntityBuilder:

Public Member Functions

 EntityBuilder (ecs::Registry &registry)
 
auto spawn (const EntityTemplate &t) -> std::expected< ecs::Entity, Error >
 
void kill (ecs::Entity entity)
 
void update (ecs::Entity entity, const EntityTemplate &t)
 

Private Attributes

ecs::Registry_registry
 

Detailed Description

Definition at line 700 of file EntityBuilder.hpp.

Constructor & Destructor Documentation

◆ EntityBuilder()

rtp::client::EntityBuilder::EntityBuilder ( ecs::Registry registry)
explicit

Definition at line 15 of file EntityBuilder.cpp.

Member Function Documentation

◆ kill()

void rtp::client::EntityBuilder::kill ( ecs::Entity  entity)

◆ spawn()

◆ update()

Member Data Documentation

◆ _registry

ecs::Registry& rtp::client::EntityBuilder::_registry
private

Definition at line 713 of file EntityBuilder.hpp.

Referenced by kill(), and update().


The documentation for this class was generated from the following files: