Do you really have a enum TileType inside your Tile class?
class Tile : public sf::Sprite
{
public:
enum TileType
{
Type1, Type2
};
Someone know if he have a difference between
Tile(const enum TileType type, int x, int y);
//and
Tile(const TileType type, int x, int y);
It's just to remember this type is a enum?