diff options
author | jacopograndi <jak.sk8@hotmail.it> | 2021-08-19 18:46:51 +0200 |
---|---|---|
committer | jacopograndi <jak.sk8@hotmail.it> | 2021-08-19 18:46:51 +0200 |
commit | a8bcacc95045102e67f2feabbdddf79535837554 (patch) | |
tree | 5781dd4cb2fe66b67deab84ff4641b7e21b9c174 /game/tile.h |
forgot to make repo until now
Diffstat (limited to 'game/tile.h')
-rw-r--r-- | game/tile.h | 23 |
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 |