Files
Space-Invader/include/Player.h
T
2024-01-09 16:21:57 +01:00

23 lines
286 B
C++

#pragma once
#include <SFML/Graphics.hpp>
#include <iostream>
using namespace std;
using namespace sf;
class Player
{
public:
Player(Vector2u screenSize);
CircleShape getShape() { return _shape; };
void move(int direction);
private:
CircleShape _shape;
int _screenWidth;
};