R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
ecs::SpawnRequest Struct Reference

Declarative request for spawning an entity. More...

#include <Spawner.hpp>

Collaboration diagram for ecs::SpawnRequest:
Collaboration graph

Public Attributes

float x
 
float y
 
std::string enemyType
 
std::string scriptPath
 
float health
 
int scoreValue
 
float spawnDelay
 
bool hasSpawned = false
 

Detailed Description

Declarative request for spawning an entity.

Definition at line 19 of file Spawner.hpp.

Member Data Documentation

◆ enemyType

std::string ecs::SpawnRequest::enemyType

◆ hasSpawned

bool ecs::SpawnRequest::hasSpawned = false

Definition at line 27 of file Spawner.hpp.

Referenced by scripting::bindings::bindServerGame().

◆ health

float ecs::SpawnRequest::health

◆ scoreValue

int ecs::SpawnRequest::scoreValue

◆ scriptPath

std::string ecs::SpawnRequest::scriptPath

◆ spawnDelay

float ecs::SpawnRequest::spawnDelay

Definition at line 26 of file Spawner.hpp.

Referenced by scripting::bindings::bindServerGame().

◆ x

float ecs::SpawnRequest::x

◆ y

float ecs::SpawnRequest::y

The documentation for this struct was generated from the following file: