#pragma once #include class Platform { private: sf::RectangleShape shape; //візуальна частина платформи public: Platform(float x, float y, float width, float height); void draw(sf::RenderWindow& window); sf::FloatRect getBounds() const; //щоб перевірити зіткнення };