Entity.h 202 B

1234567891011
  1. #ifndef ENTITY_H
  2. #define ENTITY_H
  3. struct Entity {
  4. virtual ~Entity() = 0;
  5. // these methods are used by tiles
  6. virtual bool canSwim() const = 0;
  7. virtual bool canFly() const = 0;
  8. };
  9. #endif