feat(shield): added shields

This commit is contained in:
2024-01-23 11:40:46 +01:00
parent 15c745d7c0
commit d67394aaec
10 changed files with 127 additions and 10 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
#pragma once
#define _USE_MATH_DEFINES
#include <SFML/Graphics.hpp>
#include <iostream>
#include <cmath>
using namespace std;
using namespace sf;
@@ -11,7 +14,7 @@ class Player
public:
Player(Vector2u screenSize);
CircleShape getShape() { return _shape; };
CircleShape& getShape() { return _shape; };
void move(int direction);
private: