Skip to content
Snippets Groups Projects
Commit aec08d0d authored by ROGER ROMAIN's avatar ROGER ROMAIN
Browse files

Lol les bools non initialisés

parent d0c14080
Branches
No related merge requests found
......@@ -23,8 +23,8 @@ private:
static u_int32_t speed;
static u_int32_t screenHeight;
static u_int32_t screenWidth;
bool goLeft;
bool goRight;
static bool goLeft;
static bool goRight;
public:
Player(u_int32_t screenHeigth, u_int32_t screenWidth);
......
......@@ -16,6 +16,9 @@ u_int32_t Player::speed;
u_int32_t Player::screenHeight;
u_int32_t Player::screenWidth;
bool Player::goLeft = false;
bool Player::goRight = false;
/**
* Constructor for the Player class
* @param x: x position of the player
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment