Statek miga
przy uderzeniu w meteoryt
This commit is contained in:
@@ -29,7 +29,7 @@ unsigned int Actor::getHP() {
|
||||
}
|
||||
|
||||
void Actor::dealDamage() {
|
||||
if(damageDealClock.getElapsedTime().asSeconds() > 1) {
|
||||
if(damageDealClock.getElapsedTime().asSeconds() > 1.5) {
|
||||
if(hp > 0) {
|
||||
hp--;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user