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; int sight_cost; int range_bonus; float attack_bonus; float defence_bonus; vec2 spritebounds; }; #endif