This commit is contained in:
2025-07-19 20:37:42 +02:00
parent 3353fda464
commit 5976b47a16

View File

@@ -134,17 +134,17 @@ Here is roughly what I came up with:
#include "raylib.h"
namespace DREAM {
struct Health { int health = 100; };
struct Health { int value = 100; };
struct Attack { int attack = 1; };
struct Attack { int value = 1; };
struct Defense { int defense = 1; };
struct Defense { int value = 1; };
struct Level { uint8_t level = 1; };
struct Level { uint8_t value = 1; };
struct Position { Vector2 position = {0.0f, 0.0f}; };
struct Position { Vector2 value = {0.0f, 0.0f}; };
struct Velocity { Vector2 velocity = {0.0f, 0.0f}; };
struct Velocity { Vector2 value = {0.0f, 0.0f}; };
}
```