add resetCounter method to player entity and integrate into game reset
This commit is contained in:
@@ -313,6 +313,7 @@ public class Player extends Entity {
|
||||
}
|
||||
public void restoreStatus() {
|
||||
life = maxLife;
|
||||
speed = defaultSpeed;
|
||||
invincible = false;
|
||||
transparent = false;
|
||||
attacking = false;
|
||||
|
||||
Reference in New Issue
Block a user