Defined some stuff prob need to add functionality still

main
Johannes Hendrik Gerard van der Weide 2023-10-12 11:15:46 +02:00
parent 38c898ad9c
commit 67d5830da5
1 changed files with 4 additions and 5 deletions

View File

@ -1,14 +1,13 @@
class Game class Game
{ {
static:
PlayerSpeed;
public:Game(); public:Game();
void run(); void run();
static const float PlayerSpeed;
static const sf::Time TimePerFrame;
private: private:
void processEvents(); void processEvents();
void update(); void handlePlayerInput(sf::Keyboard::Key key,bool isPressed);
void update(const sf::Time);
void render(); void render();
private: private: