1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 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; }; #endif