afegides notificacions per als inputs externs al joc

This commit is contained in:
2024-08-03 13:55:16 +02:00
parent 256959505d
commit 958a4d1d99
13 changed files with 78 additions and 33 deletions

View File

@@ -34,6 +34,12 @@ private:
bottomRight
};
enum notification_shape_t
{
notification_shape_rounded,
notification_shape_squared,
};
struct notification_t
{
std::string text1;
@@ -46,6 +52,7 @@ private:
SDL_Rect rect;
int y;
int travelDist;
notification_shape_t shape;
};
// Objetos y punteros