From a8bcacc95045102e67f2feabbdddf79535837554 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Thu, 19 Aug 2021 18:46:51 +0200 Subject: forgot to make repo until now --- game/tile.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 game/tile.h (limited to 'game/tile.h') 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 +#include + +#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 -- cgit v1.2.3-54-g00ecf