#ifndef ENTITY_H #define ENTITY_H struct Entity { virtual ~Entity() = 0; // these methods are used by tiles virtual bool canSwim() const = 0; virtual bool canFly() const = 0; }; #endif