Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- safeReadNext() - Method in class com.adventure.commands.AbstractCommand
-
Read method used for non-blocking read operations.
- safeReadNextLine() - Method in class com.adventure.commands.AbstractCommand
-
Read method used for non-blocking read (entire line) operations.
- saveGame(Game) - Method in class com.adventure.services.BucketStorageService
- saveGame(Game) - Method in class com.adventure.services.FileSystemStorageService
- saveGame(Game) - Method in interface com.adventure.services.StorageService
-
Saves a game.
- serialize(Inventory, JsonGenerator, SerializerProvider) - Method in class com.adventure.serializers.InventorySerializer
- serialize(Action, JsonGenerator, SerializerProvider) - Method in class com.adventure.serializers.ActionSerializer
- serialize(Graph, JsonGenerator, SerializerProvider) - Method in class com.adventure.serializers.GraphSerializer
- setAction(Action) - Method in class com.adventure.models.nodes.StoryNodeLink
-
Link another action to this edge
- setAdder(int) - Method in class com.adventure.models.items.AttackItem
-
Attack adder setter.
- setAdder(int) - Method in class com.adventure.models.items.DefenceItem
-
Additional defence setter.
- setAdder(int) - Method in interface com.adventure.models.items.Equipable
-
Set adder value.
- setAdditionalAttack(int) - Method in interface com.adventure.models.items.Usable
-
Set additional attack value.
- setAdditionalAttack(int) - Method in class com.adventure.models.items.UsableItem
- setAdditionalDefence(int) - Method in interface com.adventure.models.items.Usable
-
Set additional defence value.
- setAdditionalDefence(int) - Method in class com.adventure.models.items.UsableItem
- setAdditionalHp(int) - Method in interface com.adventure.models.items.Usable
-
Set additional hp value.
- setAdditionalHp(int) - Method in class com.adventure.models.items.UsableItem
- setAlive(boolean) - Method in class com.adventure.models.Entity
-
Setter used to kill or revive the entity.
- setArgs(List<String>) - Method in class com.adventure.commands.AbstractCommand
-
Arguments setter.
- setArgs(List<String>) - Method in interface com.adventure.commands.Command
-
Sets command arguments.
- setBackgroundPath(String) - Method in class com.adventure.models.nodes.Room
-
Background path setter.
- setBaseAttack(int) - Method in class com.adventure.models.Stats
-
Base attack setter.
- setBaseDefense(int) - Method in class com.adventure.models.Stats
-
Base defence setter.
- setCompleted(boolean) - Method in class com.adventure.models.nodes.Room
-
Completed setter.
- setContext(ApplicationContext) - Method in class com.adventure.commands.AbstractCommand
-
Context setter.
- setContext(ApplicationContext) - Method in interface com.adventure.commands.Command
-
Sets command context.
- setContext(ApplicationContext) - Method in class com.adventure.commands.CommandParser
-
Sets the active context.
- setCurrentNode(StoryNode) - Method in class com.adventure.models.Game
-
Current node setter
- setCurrentWeight(int) - Method in class com.adventure.models.Inventory
-
Set the current weight in the inventory.
- setDefaultDialog(String) - Method in class com.adventure.models.NPC
-
Default dialog setter.
- setDescription(String) - Method in class com.adventure.commands.CommandMetadata
-
Sets the description for the command.
- setDescription(String) - Method in class com.adventure.models.nodes.Room
-
Description setter
- setEquiped(boolean) - Method in class com.adventure.models.items.AttackItem
-
isEquipable setter.
- setEquiped(boolean) - Method in class com.adventure.models.items.DefenceItem
-
isEquipable setter.
- setFightingStatus(boolean) - Method in class com.adventure.models.Player
-
Set the fighting status of the player
- setGame(Game) - Method in interface com.adventure.config.ApplicationContext
-
Game setter.
- setGame(Game) - Method in class com.adventure.config.ApplicationContextProvider
-
Game setter.
- setHp(int) - Method in class com.adventure.models.Stats
-
Hp setter.
- setId(String) - Method in class com.adventure.models.Game
-
Game di setter.
- setID() - Method in class com.adventure.models.nodes.StoryNode
-
Sets the numeric ID and the String ID for the class
- setID() - Method in class com.adventure.models.nodes.StoryNodeLink
-
Set numericID and stringID with IdManager
- setID(int) - Method in class com.adventure.models.nodes.StoryNode
-
Sets the numeric ID and the String ID for the class
- setID(int) - Method in class com.adventure.models.nodes.StoryNodeLink
-
Set numeric and stringID with IdManager given an int ID
- setInputStream(InputStream) - Method in class com.adventure.commands.AbstractCommand
-
Input stream setter.
- setInputStream(InputStream) - Method in interface com.adventure.commands.Command
-
Sets command stdin.
- setInventory(Inventory) - Method in class com.adventure.models.Entity
-
Inventory setter.
- setItems(ArrayList<Item>) - Method in class com.adventure.models.Inventory
-
Set all items in the inventory.
- setItems(List<Item>) - Method in class com.adventure.models.nodes.Room
-
Items list setter
- setKey(String) - Method in class com.adventure.models.nodes.StoryNodeLink
-
Key setter.
- setLocked(boolean) - Method in class com.adventure.models.nodes.StoryNodeLink
-
Sets flag locked.
- setMaxHp(int) - Method in class com.adventure.models.Stats
-
Max hp setter.
- setMaxWeight(int) - Method in class com.adventure.models.Inventory
-
Set max weight the inventory can hold.
- setMonster(Enemy) - Method in class com.adventure.models.nodes.Room
-
Monster setter
- setMultiplier(double) - Method in class com.adventure.models.items.AttackItem
-
Attack multiplier setter.
- setMultiplier(double) - Method in class com.adventure.models.items.DefenceItem
-
Defence multiplier setter.
- setMultiplier(double) - Method in interface com.adventure.models.items.Equipable
-
Set multiplier value.
- setName(String) - Method in class com.adventure.models.Entity
-
Sets entity name.
- setName(String) - Method in class com.adventure.models.nodes.Room
-
Name setter
- setPlayer(Player) - Method in class com.adventure.models.Game
-
Player setter.
- setStage(Stage) - Method in class com.adventure.models.Game
-
Stage setter
- setStats(Stats) - Method in class com.adventure.models.Entity
-
Sets entity stats.
- setStdOut(String) - Method in class com.adventure.components.Display
-
Sets text to the stdout of the display console.
- setTargetView(String) - Method in class com.adventure.models.nodes.StoryNode
- setText(String) - Method in class com.adventure.components.Display
-
Sets input text value.
- setWeight(int) - Method in class com.adventure.models.items.Item
-
Set the weight of the item
- setWriter(Writer) - Method in class com.adventure.commands.AbstractCommand
-
Writer setter.
- setWriter(Writer) - Method in interface com.adventure.commands.Command
-
Sets stdout writer for command.
- shouldTerminate - Variable in class com.adventure.commands.AbstractCommand
-
Flag that indicates if the main thread requested the command to terminate.
- shutdown() - Method in class com.adventure.components.Display
-
Tiers down the controller.
- shutdown() - Method in interface com.adventure.controllers.BaseController
-
Method used to tear down the controller when the controller is being unloaded.
- shutdown() - Method in class com.adventure.controllers.GameLoaderController
- shutdown() - Method in class com.adventure.controllers.RoomController
- shutdown() - Method in class com.adventure.controllers.VictoryController
- shutdown() - Method in class com.adventure.models.Game
-
Method that should be called when unloading a game.
- start(Stage) - Method in class com.adventure.Main
- stats - Variable in class com.adventure.models.Entity
-
Entity stats.
- Stats - Class in com.adventure.models
-
Player stats.
- Stats(int, int, int, int) - Constructor for class com.adventure.models.Stats
-
Default constructor.
- StorageService - Interface in com.adventure.services
-
Interfaces for a storage service.
- StoryNode - Class in com.adventure.models.nodes
-
Class that represents a node in the game graph.
- StoryNode(String) - Constructor for class com.adventure.models.nodes.StoryNode
-
Constructor.
- StoryNodeLink - Class in com.adventure.models.nodes
-
This class represents a game graph edge.
- StoryNodeLink() - Constructor for class com.adventure.models.nodes.StoryNodeLink
-
Default constructor
- StoryNodeLink(int) - Constructor for class com.adventure.models.nodes.StoryNodeLink
-
Constructor for deserialization
- StringPropertyWriter - Class in com.adventure.utils
-
Writer used for handling a StringProperty.
- StringPropertyWriter(StringProperty) - Constructor for class com.adventure.utils.StringPropertyWriter
-
Constructor.
- SupportedStorage - Enum Class in com.adventure.config
-
Supported type of storages by the application.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form