#ifndef TILE_H #define TILE_H #include "Entity.h" struct Tile { virtual ~Tile() = 0; // returns true if the tile is solid for the given entity virtual bool isSolid(const Entity& e) const = 0; }; #endif