summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h
index 2127fb9..aeaeb48 100644
--- a/src/game.h
+++ b/src/game.h
@@ -1,5 +1,6 @@
#pragma once
#include "entity.h"
+#include "rotrect.h"
enum { MAX_ENTITIES = 128 };
@@ -9,7 +10,8 @@ typedef struct Game {
int queue_restart_scene;
int player_dir;
int show_ui;
- double spike_angle;
+ Rect spike_rect;
+ Rect spike_irect;
Entity entities[MAX_ENTITIES];
} Game;