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::scenes::EntitySpriteInfo Struct Reference

Information about an entity's sprite for the mod menu. More...

#include <ModMenuScene.hpp>

Collaboration diagram for rtp::client::scenes::EntitySpriteInfo:

Public Attributes

std::string name
 Display name of the entity.
 
std::string texturePath
 Path to the texture.
 
int rectLeft
 Left position in sprite sheet.
 
int rectTop
 Top position in sprite sheet.
 
int rectWidth
 Width of the sprite.
 
int rectHeight
 Height of the sprite.
 

Detailed Description

Information about an entity's sprite for the mod menu.

Definition at line 30 of file ModMenuScene.hpp.

Member Data Documentation

◆ name

std::string rtp::client::scenes::EntitySpriteInfo::name

Display name of the entity.

Definition at line 31 of file ModMenuScene.hpp.

Referenced by rtp::client::scenes::ModMenuScene::getEntityKey().

◆ rectHeight

int rtp::client::scenes::EntitySpriteInfo::rectHeight

Height of the sprite.

Definition at line 36 of file ModMenuScene.hpp.

Referenced by rtp::client::scenes::ModMenuScene::applyCustomSprite().

◆ rectLeft

int rtp::client::scenes::EntitySpriteInfo::rectLeft

Left position in sprite sheet.

Definition at line 33 of file ModMenuScene.hpp.

◆ rectTop

int rtp::client::scenes::EntitySpriteInfo::rectTop

Top position in sprite sheet.

Definition at line 34 of file ModMenuScene.hpp.

◆ rectWidth

int rtp::client::scenes::EntitySpriteInfo::rectWidth

Width of the sprite.

Definition at line 35 of file ModMenuScene.hpp.

Referenced by rtp::client::scenes::ModMenuScene::applyCustomSprite().

◆ texturePath

std::string rtp::client::scenes::EntitySpriteInfo::texturePath

Path to the texture.

Definition at line 32 of file ModMenuScene.hpp.


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