summaryrefslogtreecommitdiff
path: root/include/shield.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shield.h')
-rw-r--r--include/shield.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/shield.h b/include/shield.h
index bd64e3e..be65be3 100644
--- a/include/shield.h
+++ b/include/shield.h
@@ -1,11 +1,12 @@
#pragma once
-class Shield {
+#include "game_entity.h"
+
+class Shield: public GameEntity
+{
public:
Shield(int x, int y);
const static char MAP_CHAR = '-';
private:
- int x;
- int y;
};