#ifndef PTF_BALL_HPP #define PTF_BALL_HPP #include #include class Ball { protected: sf::Vector2f position; sf::Vector2f velocity; float mass; int charge; public: Ball(); void update(float delta); void draw(sf::RenderWindow& window); // getters et setters sf::Vector2f getPosition() { return position; } sf::Vector2f getVelocity() { return velocity; } float getMass() { return mass; } int getCharge() { return charge; } }; #endif