pouet pouet

This commit is contained in:
MarcEricMartel
2023-10-30 15:36:43 -04:00
parent 3249d68e60
commit 35c2a5be31
3 changed files with 96 additions and 88 deletions

View File

@@ -8,7 +8,7 @@
class RemotePlayer : public Player {
public:
enum Anim { STILL = 1, RUNNING = 2, JUMPING = 4, SHOOTING = 8, POWERUP = 16, DEAD = 32 };
enum Anim: uint8_t { STILL = 1, RUNNING = 2, JUMPING = 4, SHOOTING = 8, POWERUP = 16, DEAD = 32 };
RemotePlayer(netprot::PlayerInfo pinfo);
@@ -17,6 +17,7 @@ public:
private:
netprot::Output current, previous;
std::map<uint64_t, netprot::Output> m_outbuf;
netprot::PlayerInfo m_pinfo;
float m_aminacc;
Anim m_animstate;