ffdgfg
This commit is contained in:
@@ -134,17 +134,17 @@ Here is roughly what I came up with:
|
|||||||
#include "raylib.h"
|
#include "raylib.h"
|
||||||
|
|
||||||
namespace DREAM {
|
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}; };
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user