#ifndef PLAYER_H #define PLAYER_H #include "object.h" #include "point.h" #include "velocity.h" #include "gun.h" #include #include class Player : public Object { private: float health; Gun gun; sf::Color color; public: Player (const Point &point, const Velocity &velocity, sf::Color &color, const Gun &gun); void setGun(const Gun &gun); void setHealth(const float health); void setColor(const sf::Color &color); float getHealth(); sf::Color getColor(); Gun getGun(); void draw(sf::RenderWindow &window); }; #endif