diff options
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 |