refac: clean base

This commit is contained in:
Floriansylvain
2025-12-28 02:50:59 +01:00
parent 199b77df58
commit 683096351f
10 changed files with 228 additions and 144 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef PLAYER_HPP
#define PLAYER_HPP
#include <SFML/Graphics/CircleShape.hpp>
#include <SFML/Graphics/Color.hpp>
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Graphics/View.hpp>
class Player {
public:
Player(float size, sf::Color color);
void update(double dt, sf::RenderWindow &window, const sf::View &view);
void render(sf::RenderWindow &window);
private:
sf::CircleShape circleShape;
};
#endif // PLAYER_HPP