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

#include <LevelData.hpp>

Collaboration diagram for rtp::server::SpawnEvent:

Public Attributes

float atTime {0.0f}
 
net::EntityType type {net::EntityType::Scout}
 
Vec2f startPosition {0.0f, 0.0f}
 
ecs::components::Patterns pattern {ecs::components::Patterns::StraightLine}
 
float speed {120.0f}
 
float amplitude {40.0f}
 
float frequency {2.0f}
 

Detailed Description

Definition at line 21 of file LevelData.hpp.

Member Data Documentation

◆ amplitude

float rtp::server::SpawnEvent::amplitude {40.0f}

Definition at line 27 of file LevelData.hpp.

◆ atTime

float rtp::server::SpawnEvent::atTime {0.0f}

Definition at line 22 of file LevelData.hpp.

Referenced by rtp::server::loadLevelFromFile().

◆ frequency

float rtp::server::SpawnEvent::frequency {2.0f}

Definition at line 28 of file LevelData.hpp.

◆ pattern

Definition at line 25 of file LevelData.hpp.

◆ speed

float rtp::server::SpawnEvent::speed {120.0f}

Definition at line 26 of file LevelData.hpp.

◆ startPosition

Vec2f rtp::server::SpawnEvent::startPosition {0.0f, 0.0f}

Definition at line 24 of file LevelData.hpp.

◆ type

net::EntityType rtp::server::SpawnEvent::type {net::EntityType::Scout}

Definition at line 23 of file LevelData.hpp.


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