feat(game): include pet in state
This commit is contained in:
+5
-8
@@ -3,20 +3,17 @@
|
||||
#include "joystick.hpp"
|
||||
#include "display.hpp"
|
||||
#include "menu.hpp"
|
||||
#include "pet.hpp"
|
||||
#define ACTION_INTERVAL 60000 // 1 minute
|
||||
#define MAXIMUM_STAT 100
|
||||
|
||||
typedef struct {
|
||||
bool dead;
|
||||
bool menuOpen;
|
||||
|
||||
int hunger;
|
||||
int joy;
|
||||
int energy;
|
||||
int cleanliness;
|
||||
Pet pet;
|
||||
|
||||
uint64_t lastActionTime;
|
||||
bool shouldClear;
|
||||
|
||||
bool isMenuOpen;
|
||||
bool shouldClearDisplay;
|
||||
} GameState;
|
||||
|
||||
class Game {
|
||||
|
||||
Reference in New Issue
Block a user