feat(player): added movements

This commit is contained in:
2024-01-08 14:13:16 +01:00
parent c7c7c91818
commit 0fed252afd
8 changed files with 113 additions and 4 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include <SFML/Graphics.hpp>
#include "Player.h";
using namespace std;
using namespace sf;
class Inputs
{
public:
Inputs(RenderWindow& window, Player& player) : _window(window), _player(player) {};
void HandleInputs(Event& event);
private:
RenderWindow& _window;
Player& _player;
};