4 #include "../Enitites/Base/EB_Entity.h"
5 #include "../Core/C_Text.h"
40 int fontSize,
int r,
int g,
int b, SDL_Renderer* renderer,
float border,
C_Vec2 minDimensions,
41 float* universalSpeed);
59 UI_Button(
int buttonR,
int buttonG,
int buttonB,
C_Vec2 pos, std::string message, std::string fontLocation,
int fontSize,
60 int r,
int g,
int b, SDL_Renderer* renderer,
float border,
C_Vec2 minDimensions,
float* universalSpeed);
78 bool input(SDL_Event& incomingEvent);
84 void draw(SDL_Renderer* renderer);
Creates a Text Texture for use with a renderer using the Text formating.
Definition: C_Text.h:13
C_Vec2 dimensions
The dimensions of the Entity.
Definition: EB_Entity.h:94
Contains variables and functions to be inherited by classes that are about Entities.
Definition: EB_Entity.h:10
Contains the Vec2 structure with functions and overloaded operators.
Definition: C_Vec2.h:7
C_Vec2 pos
The position of the Entity.
Definition: EB_Entity.h:92
C_Texture * sprite
A pointer to the Entity Texture.
Definition: EB_Entity.h:90
float * universalSpeed
A pointer for the universal speed of the game.
Definition: EB_Entity.h:98
Creates a Texture for use with a renderer.
Definition: C_Texture.h:13