Index
All Classes and Interfaces|All Packages|Serialized Form
S
- scale - Variable in class com.skloch.game.Player
- scrollingText - Variable in class com.skloch.game.DialogueBox
- scrollText(float) - Method in class com.skloch.game.DialogueBox
- selectBox - Variable in class com.skloch.game.DialogueBox
- SelectBox() - Constructor for class com.skloch.game.DialogueBox.SelectBox
- selectTable - Variable in class com.skloch.game.DialogueBox.SelectBox
- selectWindow - Variable in class com.skloch.game.DialogueBox.SelectBox
- setBounds(Rectangle) - Method in class com.skloch.game.Player
-
Set a large rectangle that the player should be kept inside, set to null to set no bounds
- setCentreX(float) - Method in class com.skloch.game.GameObject
-
Sets the new X coordinate of the centre of the object
- setCentreY(float) - Method in class com.skloch.game.GameObject
-
Sets the new Y coordinate of the centre of the object
- setChoice(int) - Method in class com.skloch.game.DialogueBox.SelectBox
-
Sets the player's choice to a specific value, used to default to "No" for most options
- setChoice(Boolean) - Method in class com.skloch.game.OptionDialogue
-
Deprecated.Sets the choice to a certain value
- setCollidables(Array<GameObject>) - Method in class com.skloch.game.Player
-
Sets the objects the player cannot move into as an Array of GameObjects
- setEnergy(int) - Method in class com.skloch.game.GameScreen
-
Sets the player's energy level and updates the onscreen bar
- setFrozen(boolean) - Method in class com.skloch.game.Player
-
Sets the player to frozen, a frozen player can be set to ignore keyboard inputs in render
- setMoving(boolean) - Method in class com.skloch.game.Player
-
Sets the player's state to moving or not moving, a not moving character will just display an idle animation
- setMusicVolume(float) - Method in class com.skloch.game.SoundManager
-
Sets the volume of the music
- setOptions(String[], String[]) - Method in class com.skloch.game.DialogueBox.SelectBox
-
Sets the options visible to the player when asking for a choice.
- setPos(float, float) - Method in class com.skloch.game.DialogueBox
-
Sets the dialogue box and all its elements to a position onscreen
- setPos(float, float) - Method in class com.skloch.game.OptionDialogue
-
Deprecated.Set the position of the window
- setPos(float, float) - Method in class com.skloch.game.Player
- setQuestionText(String) - Method in class com.skloch.game.OptionDialogue
-
Deprecated.Sets the text to be displayed on the window, usually a question
- setSfxVolume(float) - Method in class com.skloch.game.SoundManager
-
Sets the sound effect volume
- setSleeping(boolean) - Method in class com.skloch.game.GameScreen
- setText(String) - Method in class com.skloch.game.DialogueBox
-
Sets the text to be displayed on the dialogue box, automatically wraps it correctly
- setText(String, String) - Method in class com.skloch.game.DialogueBox
-
Sets the text to be displayed on the dialogue box, automatically wraps it correctly Additionally, schedules an event to be called after the text is done displaying
- SettingsScreen - Class in com.skloch.game
-
A screen to display settings to the player, lets the player adjust sound and music volume
- SettingsScreen(HustleGame, Screen) - Constructor for class com.skloch.game.SettingsScreen
-
Handles the configuration of Music and Sound effect volume using two sliders
- setupEscapeMenu(Stage) - Method in class com.skloch.game.GameScreen
-
Configures everything needed to display the escape menu window when the player presses 'escape' Doesn't return anything as the variable escapeMenu is used to store the window Takes a table already added to the uiStage
- setVisible(boolean) - Method in class com.skloch.game.OptionDialogue
-
Deprecated.Sets the window's visible variable, used to hide/unhide
- setWidth(int) - Method in class com.skloch.game.OptionDialogue
-
Deprecated.Set the width of the window
- setX(float) - Method in class com.skloch.game.Player
-
Sets the x coordinate of the player, updating all 3 hitboxes at once as opposed to just the sprite rectangle
- setY(float) - Method in class com.skloch.game.Player
-
Sets the Y coordinate of the player, updating all 3 hitboxes at once as opposed to just the sprite rectangle
- sfxSlider - Variable in class com.skloch.game.SettingsScreen
- sfxVolume - Variable in class com.skloch.game.SoundManager
- shapeRenderer - Variable in class com.skloch.game.HustleGame
- show() - Method in class com.skloch.game.CreditScreen
- show() - Method in class com.skloch.game.DialogueBox.SelectBox
-
Shows the selection widget
- show() - Method in class com.skloch.game.DialogueBox
-
Makes the dialogue box visible, along with any elements that need to be shown
- show() - Method in class com.skloch.game.GameOverScreen
- show() - Method in class com.skloch.game.GameScreen
- show() - Method in class com.skloch.game.MenuScreen
- show() - Method in class com.skloch.game.SettingsScreen
- skin - Variable in class com.skloch.game.DialogueBox
- skin - Variable in class com.skloch.game.HustleGame
- sleeping - Variable in class com.skloch.game.GameScreen
- soundManager - Variable in class com.skloch.game.HustleGame
- soundManager - Variable in class com.skloch.game.OptionDialogue
-
Deprecated.
- SoundManager - Class in com.skloch.game
-
A class handling loading, playing and disposing of sounds.
- SoundManager() - Constructor for class com.skloch.game.SoundManager
-
A class to handle playing sounds in the game, handles loading and playing of music and sounds so a GameScreen can just call "play overworld music" without needing to know the track title.
- speed - Variable in class com.skloch.game.Player
- sprite - Variable in class com.skloch.game.Player
- stateTime - Variable in class com.skloch.game.Player
- stopMenuMusic() - Method in class com.skloch.game.SoundManager
-
Stops the music for the menu
- stopOverworldMusic() - Method in class com.skloch.game.SoundManager
-
Stops the music for the overworld
All Classes and Interfaces|All Packages|Serialized Form