sec respawn
This commit is contained in:
parent
1d147004a2
commit
7bb67b6a85
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue