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::ObstacleEvent Struct Reference

#include <LevelData.hpp>

Collaboration diagram for rtp::server::ObstacleEvent:

Public Attributes

float atTime {0.0f}
 
Vec2f position {0.0f, 0.0f}
 
Vec2f size {32.0f, 32.0f}
 
int health {50}
 
net::EntityType type {net::EntityType::Obstacle}
 

Detailed Description

Definition at line 39 of file LevelData.hpp.

Member Data Documentation

◆ atTime

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

Definition at line 40 of file LevelData.hpp.

◆ health

int rtp::server::ObstacleEvent::health {50}

Definition at line 43 of file LevelData.hpp.

◆ position

Vec2f rtp::server::ObstacleEvent::position {0.0f, 0.0f}

Definition at line 41 of file LevelData.hpp.

◆ size

Vec2f rtp::server::ObstacleEvent::size {32.0f, 32.0f}

Definition at line 42 of file LevelData.hpp.

◆ type

net::EntityType rtp::server::ObstacleEvent::type {net::EntityType::Obstacle}

Definition at line 44 of file LevelData.hpp.


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