Defined some stuff prob need to add functionality still
parent
38c898ad9c
commit
67d5830da5
|
@ -1,14 +1,13 @@
|
|||
class Game
|
||||
{
|
||||
static:
|
||||
PlayerSpeed;
|
||||
|
||||
public:Game();
|
||||
void run();
|
||||
|
||||
static const float PlayerSpeed;
|
||||
static const sf::Time TimePerFrame;
|
||||
private:
|
||||
void processEvents();
|
||||
void update();
|
||||
void handlePlayerInput(sf::Keyboard::Key key,bool isPressed);
|
||||
void update(const sf::Time);
|
||||
void render();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue