r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
gme::Sprite Struct Reference

#include <IGameClient.hpp>

+ Collaboration diagram for gme::Sprite:

Public Attributes

std::string type
 
float pos_x = 0.F
 
float pos_y = 0.F
 
float v_x = 0.F
 
float v_y = 0.F
 
float scale_x = 1.F
 
float scale_y = 1.F
 
unsigned char r = 255u
 
unsigned char g = 255u
 
unsigned char b = 255u
 
unsigned char a = 255u
 
std::string texture_path = ""
 
float text_rect_x = 0.F
 
float text_rect_y = 0.F
 
int text_rect_fx = 0
 
int text_rect_fy = 0
 
std::string id
 

Detailed Description

Definition at line 15 of file IGameClient.hpp.

Member Data Documentation

◆ a

unsigned char gme::Sprite::a = 255u

Definition at line 21 of file IGameClient.hpp.

◆ b

unsigned char gme::Sprite::b = 255u

Definition at line 21 of file IGameClient.hpp.

◆ g

unsigned char gme::Sprite::g = 255u

Definition at line 21 of file IGameClient.hpp.

◆ id

std::string gme::Sprite::id

Definition at line 25 of file IGameClient.hpp.

◆ pos_x

float gme::Sprite::pos_x = 0.F

Definition at line 18 of file IGameClient.hpp.

◆ pos_y

float gme::Sprite::pos_y = 0.F

Definition at line 18 of file IGameClient.hpp.

◆ r

unsigned char gme::Sprite::r = 255u

Definition at line 21 of file IGameClient.hpp.

◆ scale_x

float gme::Sprite::scale_x = 1.F

Definition at line 20 of file IGameClient.hpp.

◆ scale_y

float gme::Sprite::scale_y = 1.F

Definition at line 20 of file IGameClient.hpp.

◆ text_rect_fx

int gme::Sprite::text_rect_fx = 0

Definition at line 24 of file IGameClient.hpp.

◆ text_rect_fy

int gme::Sprite::text_rect_fy = 0

Definition at line 24 of file IGameClient.hpp.

◆ text_rect_x

float gme::Sprite::text_rect_x = 0.F

Definition at line 23 of file IGameClient.hpp.

◆ text_rect_y

float gme::Sprite::text_rect_y = 0.F

Definition at line 23 of file IGameClient.hpp.

◆ texture_path

std::string gme::Sprite::texture_path = ""

Definition at line 22 of file IGameClient.hpp.

◆ type

std::string gme::Sprite::type

Definition at line 17 of file IGameClient.hpp.

◆ v_x

float gme::Sprite::v_x = 0.F

Definition at line 19 of file IGameClient.hpp.

◆ v_y

float gme::Sprite::v_y = 0.F

Definition at line 19 of file IGameClient.hpp.


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