Uses of Class
org.progettoedids.exceptions.GameOverException
Packages that use GameOverException
Package
Description
A package that holds the base Entity class, the subtypes of Entity and interfaces related to the Entity(ies).
A package for the abstract Monster subtype of NPC and its concrete final subclasses.
A package that holds the base UserCommand class and its subtypes.
-
Uses of GameOverException in org.progettoedids.entities
Methods in org.progettoedids.entities that throw GameOverExceptionModifier and TypeMethodDescriptionvoidInteractiveOnTurnEnd.interactOnTurnEnd(CommandLogger commandLogger, Labyrinth labyrinth) voidInteractiveOnTurnStart.interactOnTurnStart(CommandLogger commandLogger, Labyrinth labyrinth) Method called in order to get the implementing class to perform its specific actions. -
Uses of GameOverException in org.progettoedids.entities.npcs.monsters
Methods in org.progettoedids.entities.npcs.monsters that throw GameOverExceptionModifier and TypeMethodDescriptionvoidMonster.interactOnTurnStart(CommandLogger commandLogger, Labyrinth labyrinth) Interacts with the user.protected voidMonster.monsterAttacksPlayer(Player player) protected voidMonster.playerAttacksMonster(CommandLogger commandLogger, Player player, Weapon playerWeapon) protected WeaponMonster.playerChooseWeaponFromInventory(CommandLogger commandLogger, Player player) -
Uses of GameOverException in org.progettoedids.usercommands
Methods in org.progettoedids.usercommands that throw GameOverExceptionModifier and TypeMethodDescriptionvoidQuitCommand.commandHandle(Labyrinth labyrinth, String args) voidUseInRoomCommand.commandHandle(Labyrinth labyrinth, String args) abstract voidUserCommand.commandHandle(Labyrinth labyrinth, String args)