Uses of Class
org.progettoedids.util.CommandLogger
Packages that use CommandLogger
Package
Description
A package that holds the base Entity class, the subtypes of Entity and interfaces related to the Entity(ies).
A package that holds the base Item class, the subtypes of Item and interfaces related to the Item(s).
A package for the abstract Food subtype of Item and its concrete final subclasses.
A package for the abstract Human subtype of NPC and its concrete final subclasses.
A package for the abstract Monster subtype of NPC and its concrete final subclasses.
A package that holds classes with simple factory methods.
A package that holds the base Room class and its subtypes.
A package that holds the base UserCommand class and its subtypes.
A package for the SaveStringReader and SaveStringProducer interfaces and implementing classes.
-
Uses of CommandLogger in org.progettoedids.entities
Methods in org.progettoedids.entities with parameters of type CommandLoggerModifier 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 CommandLogger in org.progettoedids.entities.items
Methods in org.progettoedids.entities.items with parameters of type CommandLoggerModifier and TypeMethodDescriptionvoidBrokenFountain.interactWithItem(CommandLogger commandLogger, Labyrinth labyrinth, String args) voidInteractiveItem.interactWithItem(CommandLogger commandLogger, Labyrinth labyrinth, String args) This method is called whenever it has been requested to the implementing Item to perform its actions.voidKey.interactWithItem(CommandLogger commandLogger, Labyrinth labyrinth, String args) -
Uses of CommandLogger in org.progettoedids.entities.items.food
Methods in org.progettoedids.entities.items.food with parameters of type CommandLoggerModifier and TypeMethodDescriptionvoidFood.interactWithItem(CommandLogger commandLogger, Labyrinth labyrinth, String args) Interacts with the user and add a certain amount of health to the Player. -
Uses of CommandLogger in org.progettoedids.entities.npcs.humans
Methods in org.progettoedids.entities.npcs.humans with parameters of type CommandLoggerModifier and TypeMethodDescriptionvoidHuman.interactOnTurnStart(CommandLogger commandLogger, Labyrinth labyrinth) Interacts with the user. -
Uses of CommandLogger in org.progettoedids.entities.npcs.monsters
Methods in org.progettoedids.entities.npcs.monsters with parameters of type CommandLoggerModifier and TypeMethodDescriptionvoidMonster.interactOnTurnStart(CommandLogger commandLogger, Labyrinth labyrinth) Interacts with the user.protected voidMonster.playerAttacksMonster(CommandLogger commandLogger, Player player, Weapon playerWeapon) protected WeaponMonster.playerChooseWeaponFromInventory(CommandLogger commandLogger, Player player) -
Uses of CommandLogger in org.progettoedids.repositories
Methods in org.progettoedids.repositories with parameters of type CommandLoggerModifier and TypeMethodDescriptionstatic UserCommand[]UserCommandRepository.getMainUserCommands(CommandLogger commandLogger) -
Uses of CommandLogger in org.progettoedids.rooms
Methods in org.progettoedids.rooms with parameters of type CommandLoggerModifier and TypeMethodDescriptionvoidTeleportRoom.interactOnTurnStart(CommandLogger commandLogger, Labyrinth labyrinth) Teleports the Player to another Room reachable from the Teleport room.voidVictoryRoom.interactOnTurnStart(CommandLogger commandLogger, Labyrinth labyrinth) Interacts with the user and send an exception to Game that the game was won. -
Uses of CommandLogger in org.progettoedids.usercommands
Fields in org.progettoedids.usercommands declared as CommandLoggerConstructors in org.progettoedids.usercommands with parameters of type CommandLoggerModifierConstructorDescriptionBackCommand(CommandLogger commandLogger) DropCommand(CommandLogger commandLogger) EastChangeRoomCommand(CommandLogger commandLogger) HelpCommand(CommandLogger commandLogger) LookCommand(CommandLogger commandLogger) NorthChangeRoomCommand(CommandLogger commandLogger) OpenInventoryCommand(CommandLogger commandLogger) QuitCommand(CommandLogger commandLogger) SaveCommand(CommandLogger commandLogger) SouthChangeRoomCommand(CommandLogger commandLogger) TakeCommand(CommandLogger commandLogger) UseCommand(CommandLogger commandLogger) UseInRoomCommand(CommandLogger commandLogger) UserCommand(CommandLogger commandLogger) WestChangeRoomCommand(CommandLogger commandLogger) -
Uses of CommandLogger in org.progettoedids.util.savestrings
Methods in org.progettoedids.util.savestrings with parameters of type CommandLoggerModifier and TypeMethodDescriptionSaveStringJSON.produceSaveString(CommandLogger commandLogger, Labyrinth labyrinth) SaveStringProducer.produceSaveString(CommandLogger commandLogger, Labyrinth labyrinth) Produces a String containing the required save data in a certain format, as chosen by the implementer.