Uses of Class
org.progettoedids.exceptions.DeathException
Packages that use DeathException
Package
Description
A package for the abstract Player class and its concrete final subclasses.
-
Uses of DeathException in org.progettoedids.entities.players
Methods in org.progettoedids.entities.players that throw DeathExceptionModifier and TypeMethodDescriptionvoidPlayer.decreaseHealth(int amount) Decreases the health of the Player by a certain amount.voidPlayer.setHealth(int health) Sets the health of the Player.