diff --git a/a3/game.h b/a3/game.h index 29b14fb..02ed4b3 100644 --- a/a3/game.h +++ b/a3/game.h @@ -2,6 +2,8 @@ #define _GAME_H_INCLUDE_ #include "world.h" + +#define MOUSE_COUNT 5 // Set of variables that expresses state of the game. // struct game { @@ -12,13 +14,14 @@ struct game { // X position of the cat int catx_position; // Y opsition of the cat - int caty_position;; + int caty_position; // X position of the mouse - int mousex; + int mousex[MOUSE_COUNT]; // Y position of the mouse - int mousey; + int mousey[MOUSE_COUNT]; // Funky message char message[100]; + int mouse_state[MOUSE_COUNT]; }; // Returns pointer to newly allocated state