feat(shield): added shields
This commit is contained in:
+4
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user