#ifndef PLAYER_HPP #define PLAYER_HPP #include #include class Player { public: Player(sf::Vector2 size, sf::Vector2 starting_position, float acceleration, float initial_acceleration, float thickness, float velocity_x); sf::RectangleShape rect; sf::Vector2 m_size; sf::Vector2 m_velocity; float m_acceleration; float m_jump_strength; bool m_jumping; void handle_movment(); sf::Vector2 get_velocity(); bool get_jumping(); // private: }; #endif