push de remote player

This commit is contained in:
Claudel-D-Roy
2023-10-23 15:35:31 -04:00
parent d7e55c8446
commit 67a49a4cad
2 changed files with 32 additions and 26 deletions

View File

@@ -8,7 +8,7 @@
class RemotePlayer : public Player {
public:
enum Anim { STILL, RUNNING, JUMPING, SHOOTING, JUMPSHOOT, DEAD };
enum Anim { STILL = 1, RUNNING = 2, JUMPING = 4, SHOOTING = 8, POWERUP = 16, DEAD = 32 };
RemotePlayer();
@@ -16,7 +16,7 @@ public:
void Feed(const netprot::Output out);
private:
netprot::Output current, next;
netprot::Output current, previous;
float m_aminacc;
Anim m_animstate;
uint64_t m_team_id;