diff --git a/player.h b/player.h new file mode 100644 index 0000000000000000000000000000000000000000..e47efe19fec620dd23639591a7db6c5c11dfe7c1 --- /dev/null +++ b/player.h @@ -0,0 +1,19 @@ +#ifndef PLAYER_H +#define PLAYER_H + +#include <SFML/Graphics.hpp> + +class Player : public sf::Drawable { +public: + Player(); + void setPosition(float x, float y); + void update(); + +private: + void draw(sf::RenderTarget& target, sf::RenderStates states) const override; + + sf::RectangleShape m_shape; +}; + +#endif +