Module com.adventure
Package com.adventure.commands
package com.adventure.commands
This package contains all command objects and related helper object.
The commands are a modular solution to implement game functionalities.
-
ClassDescriptionAbstract command that contains basic functionality for a generic command.Singleton that predicts text when pressing tabDirection to follow when selecting the next predictionCommand used during a fight to attack an enemy.Command used to go back to the previous room, if there is one.Clears the console.Command used to delete an existing game.Command used to dodge an attack.Command used to drop an item.Equips an item in the inventory.Command used to start a fight with an enemy (if there is one).Command used to display possible command with descriptions.Command used to list available games.Command used to load a new game.Command used to retrieve information about the room the user is in.Command used by the player to move inside the game graph.Command used to create a new game.Command used to pick an item from a room.Command used to run away from a fight.Command used to save the current game.Command used to show player stats/inventory.Command used to consume an item.Command used to gather information about current player location.Interface for command.Object that stores metadata for a specific command.Class responsible for parsing and instantiating commands.Command that does nothing Only to be used when you want "dummy" command to appear as enabled (e.g.