diff options
author | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-04 13:35:02 +0100 |
---|---|---|
committer | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-04 13:35:02 +0100 |
commit | bb16c32bde58cba70e4877aa2d3ebd04332eb575 (patch) | |
tree | de3d82cca043c26cbaa64837a3b2c18efc6ddb64 /game/tile.h | |
parent | 411d2f6d6a6e5370d33f0f54b2f2de7147a9d977 (diff) |
linux compile and imgs
Diffstat (limited to 'game/tile.h')
-rw-r--r-- | game/tile.h | 44 |
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 |