Files
whateversfml/src/Player.hpp
T
2025-12-28 02:50:59 +01:00

21 lines
436 B
C++

#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