aboutsummaryrefslogtreecommitdiff
path: root/game/tile.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/tile.h')
-rw-r--r--game/tile.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/game/tile.h b/game/tile.h
new file mode 100644
index 0000000..3b83531
--- /dev/null
+++ b/game/tile.h
@@ -0,0 +1,23 @@
+#ifndef TILE_H
+#define TILE_H
+
+#include <vector>
+#include <string>
+
+#include "../umath/vec2.h"
+
+class Tile {
+ public:
+ Tile() {}
+
+ std::string name;
+ int move_cost;
+ int sight_cost;
+ int range_bonus;
+ float attack_bonus;
+ float defence_bonus;
+
+ vec2 spritebounds;
+};
+
+#endif \ No newline at end of file