Upload files to "/"

This commit is contained in:
Wolf 2025-09-24 14:23:11 +00:00
parent 9fe18da843
commit 43739633b8

14
platform.hpp Normal file
View file

@ -0,0 +1,14 @@
#pragma once
#include <SFML/Graphics.hpp>
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; //щоб перевірити зіткнення
};