sec respawn

This commit is contained in:
lindaandersson 2014-02-21 15:56:32 +01:00
parent 1d147004a2
commit 7bb67b6a85
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ Player::Player(Oyster::Physics::ICustomBody *rigidBody, void (*EventOnCollision)
key_jump = 0; key_jump = 0;
invincibleCooldown = 0; invincibleCooldown = 0;
this->deathTimeLeft = 0; this->deathTimeLeft = 0;
this->deathTime = 1; this->deathTime = 5;
this->previousPosition = Oyster::Math::Float3(0,0,0); this->previousPosition = Oyster::Math::Float3(0,0,0);
@ -57,7 +57,7 @@ Player::Player(Oyster::Physics::ICustomBody *rigidBody, Oyster::Physics::ICustom
key_jump = 0; key_jump = 0;
invincibleCooldown = 0; invincibleCooldown = 0;
this->deathTimeLeft = 0; this->deathTimeLeft = 0;
this->deathTime = 1; this->deathTime = 5;
this->previousPosition = Oyster::Math::Float3(0,0,0); this->previousPosition = Oyster::Math::Float3(0,0,0);
this->moveDir = Oyster::Math::Float3(0,0,0); this->moveDir = Oyster::Math::Float3(0,0,0);
this->moveSpeed = 20; this->moveSpeed = 20;