aboutsummaryrefslogtreecommitdiff
path: root/game/tile.h
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2022-01-04 13:35:02 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2022-01-04 13:35:02 +0100
commitbb16c32bde58cba70e4877aa2d3ebd04332eb575 (patch)
treede3d82cca043c26cbaa64837a3b2c18efc6ddb64 /game/tile.h
parent411d2f6d6a6e5370d33f0f54b2f2de7147a9d977 (diff)
linux compile and imgs
Diffstat (limited to 'game/tile.h')
-rw-r--r--game/tile.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/game/tile.h b/game/tile.h
index 64e9132..c5c46c6 100644
--- a/game/tile.h
+++ b/game/tile.h
@@ -1,23 +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 { 1 };
- int sight_cost { 1 };
- int range_bonus { 0 };
- float attack_bonus { 0 };
- float defence_bonus { 0 };
-
- vec2 spritebounds;
-};
-
+#ifndef TILE_H
+#define TILE_H
+
+#include <vector>
+#include <string>
+
+#include "../umath/vec2.h"
+
+class Tile {
+ public:
+ Tile() {}
+
+ std::string name;
+ int move_cost { 1 };
+ int sight_cost { 1 };
+ int range_bonus { 0 };
+ float attack_bonus { 0 };
+ float defence_bonus { 0 };
+
+ vec2 spritebounds;
+};
+
#endif \ No newline at end of file