Everything is false.
This commit is contained in:
parent
db854c77b2
commit
0fb5c85660
@ -38,24 +38,24 @@ namespace netprot {
|
||||
/* Sous-structures */
|
||||
|
||||
struct Keys {
|
||||
bool forward,
|
||||
backward,
|
||||
left,
|
||||
right,
|
||||
jump,
|
||||
shoot,
|
||||
block;
|
||||
bool forward = false,
|
||||
backward = false,
|
||||
left = false,
|
||||
right = false,
|
||||
jump = false,
|
||||
shoot = false,
|
||||
block = false;
|
||||
};
|
||||
|
||||
struct States {
|
||||
bool jumping,
|
||||
shooting,
|
||||
hit,
|
||||
powerup,
|
||||
dead,
|
||||
still,
|
||||
jumpshot,
|
||||
running;
|
||||
bool jumping = false,
|
||||
shooting = false,
|
||||
hit = false,
|
||||
powerup = false,
|
||||
dead = false,
|
||||
still = false,
|
||||
jumpshot = false,
|
||||
running = false;
|
||||
};
|
||||
|
||||
/* Structures de paquets */
|
||||
|
Loading…
x
Reference in New Issue
Block a user