#pragma once #include #include #include #include #include class Entity { protected: float x; float y; public: Entity() : x(0), y(0) {} virtual ~Entity() {} inline float getX() const { return x; } inline float getY() const { return y; } };