Defined some stuff prob need to add functionality still
parent
38c898ad9c
commit
67d5830da5
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue