#ifndef CLOUD_H #define CLOUD_H class Cloud { public: Cloud(std::string player, float x, float y, float r); bool overlaps(Cloud const& o) const; void consume(Cloud& o); bool operator>(Cloud const& rhs) const; std::string to_string() const; private: static float sq(float v); std::string player; float x; float y; float r; }; std::ostream& operator<<(std::ostream& os, Cloud const& c); #endif