#ifndef TILE_HPP #define TILE_HPP struct Tile { enum Type { GRASS, WATER }; const Type type; const int x, y; Tile(Type _type, int _x, int _y) : type(_type), x(_x), y(_y) {} }; #endif