SQC-15_online #1

Merged
memartel_loc merged 349 commits from SQC-15_online into master 2023-12-10 17:41:26 -05:00
Showing only changes of commit ae201846b1 - Show all commits

View File

@ -25,7 +25,8 @@ void RemotePlayer::Feed(const netprot::Output out) {
Vector3f positionDelta = current.position - previous.position;
m_position = current.position + positionDelta;
m_direction = current.direction;
m_team_id = current.id;
//Rajouter un get ID public dans la classe player
//m_team_id = current.id;
}
@ -36,27 +37,27 @@ void RemotePlayer::Feed(const netprot::Output out) {
}
if (current.states.shooting) {
true;
//true;
m_animstate = Anim::SHOOTING;
}
else if (current.states.jumping) {
true;
//true;
m_animstate = Anim::JUMPING;
}
else if (current.states.dead) {
true;
//true;
m_animstate = Anim::DEAD;
}
else if(current.states.powerup){
true;
//true;
m_animstate = Anim::POWERUP;
}
else if (current.states.still) {
true;
//true;
m_animstate = Anim::STILL;
}
else if (current.states.running) {
true;
//true;
m_animstate = Anim::RUNNING;
}