241242243244245246247248249
public void hurt() { if (hurtTime == 0) { hurtTime = 60; health--; if (health <= 0) { game.showGui(new GuiDead(game)); } } }