Remove the dead code.

This commit is contained in:
MarcEricMartel
2023-12-16 16:13:20 -05:00
parent 4df53a5f9b
commit 678776d6e6
4 changed files with 5 additions and 112 deletions

View File

@@ -205,11 +205,7 @@ Player::Sound Player::ApplyPhysics(Vector3f input, World* world, float elapsedTi
void Player::ApplyTransformation(Transformation& transformation, bool rel, bool rot) const {
transformation.ApplyRotation(-m_rotX, 1, 0, 0);
transformation.ApplyRotation(-m_rotY, 0, 1, 0);
if (rel) transformation.ApplyTranslation(-GetPOV());
}
void Player::GetBooster(Booster boosttype)
@@ -302,9 +298,6 @@ void Player::InflictDamage(float hitPoints) {
if (m_hp < 0)
m_hp == 0;
//if (AmIDead())
//{ // Quand le joueur est mort.
//}
}
int Player::getScore() const { return m_score; }