public void respawn() { this.health = maxHealth; velocity.set(0F, 0F); setPosition(spawnPoint.cpy()); reset = false; }
public void setCheckPoint(Vector2 point) { this.spawnPoint = point.cpy(); this.spawnPoint.add(0.025F, 0); }