RemotePlayer
This commit is contained in:
@@ -10,13 +10,14 @@ class RemotePlayer : public Player {
|
||||
public:
|
||||
enum Anim { STILL = 1, RUNNING = 2, JUMPING = 4, SHOOTING = 8, POWERUP = 16, DEAD = 32 };
|
||||
|
||||
RemotePlayer();
|
||||
RemotePlayer(netprot::PlayerInfo pinfo);
|
||||
|
||||
void Init();
|
||||
void Feed(const netprot::Output out);
|
||||
|
||||
private:
|
||||
netprot::Output current, previous;
|
||||
netprot::PlayerInfo m_pinfo;
|
||||
float m_aminacc;
|
||||
Anim m_animstate;
|
||||
uint64_t m_team_id;
|
||||
|
Reference in New Issue
Block a user