Index
All Classes and Interfaces|All Packages|Serialized Form
G
- game - Variable in class com.skloch.game.CreditScreen
- game - Variable in class com.skloch.game.EventManager
- game - Variable in class com.skloch.game.GameOverScreen
- game - Variable in class com.skloch.game.GameScreen
- game - Variable in class com.skloch.game.MenuScreen
- game - Variable in class com.skloch.game.SettingsScreen
- GameObject - Class in com.skloch.game
-
An object that stores a position and dimensions, but can also store extra properties when loaded from a tilemap.
- GameObject(float, float, float, float) - Constructor for class com.skloch.game.GameObject
-
Creates an instance of a GameObject without MapProperties, functions similarily to just a normal rectangle
- GameObject(MapProperties, float) - Constructor for class com.skloch.game.GameObject
-
Creates a GameObject using the MapProperties stored in a object when exported with the Tiled map editor Sets x, y, width and height, as well as loading all other properties which can be fetched with get()
- GameOver() - Method in class com.skloch.game.GameScreen
-
Ends the game, called at the end of the 7th day, switches to a screen that displays a score
- GameOverScreen - Class in com.skloch.game
-
A screen that displays the player's stats at the end of the game.
- GameOverScreen(HustleGame, int, int, int) - Constructor for class com.skloch.game.GameOverScreen
-
A screen to display a 'Game Over' screen when the player finishes their exams Currently does not calculate a score, just shows the player's stats to them, as requested in assessment 1 Tracking them now will make win conditions easier to implement for assessment 2
- gameOverStage - Variable in class com.skloch.game.GameOverScreen
- gameScreen - Variable in class com.skloch.game.HustleGame
- GameScreen - Class in com.skloch.game
-
Handles the majority of the game logic, rendering and user inputs of the game.
- GameScreen(HustleGame, int) - Constructor for class com.skloch.game.GameScreen
- get(String) - Method in class com.skloch.game.GameObject
-
Gets a property from a key
- getCentreX() - Method in class com.skloch.game.Player
- getCentreY() - Method in class com.skloch.game.Player
- getChoice() - Method in class com.skloch.game.DialogueBox.SelectBox
-
Returns the event string associated with the selected choice Call hide() afterwards to close the menu
- getChoice() - Method in class com.skloch.game.OptionDialogue
-
Deprecated.Gets the choice that the user has selected on the menu
- getClosestObject() - Method in class com.skloch.game.Player
-
Returns the object that is closest to the player, calculated during move()
- getCurrentFrame() - Method in class com.skloch.game.Player
-
Returns the current frame the player's animation is on
- getEnergy() - Method in class com.skloch.game.GameScreen
- getHeight() - Method in class com.skloch.game.DialogueBox
-
Returns the height of the main dialogue screen widget
- getMeal() - Method in class com.skloch.game.GameScreen
- getMusicVolume() - Method in class com.skloch.game.SoundManager
- getObjectInteraction(String) - Method in class com.skloch.game.EventManager
-
Gets the interaction text associated with each object via a key
- getPosAsVec3() - Method in class com.skloch.game.Player
- getSeconds() - Method in class com.skloch.game.GameScreen
- getSelectBox() - Method in class com.skloch.game.DialogueBox
-
Returns the created selectbox class
- getSfxVolume() - Method in class com.skloch.game.SoundManager
- getSleeping() - Method in class com.skloch.game.GameScreen
- getWakeUpMessage() - Method in class com.skloch.game.GameScreen
- getWidth() - Method in class com.skloch.game.DialogueBox
-
Returns the width of the main dialogue screen widget
- getWindow() - Method in class com.skloch.game.DialogueBox
-
Gets the window widget of the dialogue box
- getWindow() - Method in class com.skloch.game.DialogueBox.SelectBox
-
Gets the window of the select box
- getWindow() - Method in class com.skloch.game.OptionDialogue
-
Deprecated.
- getX() - Method in class com.skloch.game.Player
- getY() - Method in class com.skloch.game.Player
All Classes and Interfaces|All Packages|Serialized Form