- game - Variable in class me.lihq.game.screen.AbstractScreen
-
The game that the Screen is live in
- game - Variable in class me.lihq.game.screen.CharacterCreationScreen
-
- game - Variable in class me.lihq.game.screen.elements.CharacterGeneration
-
- game - Variable in class me.lihq.game.screen.elements.journal.Clues
-
- game - Variable in class me.lihq.game.screen.elements.journal.Notepad
-
- game - Variable in class me.lihq.game.screen.elements.StatusBar
-
- gameLoop() - Method in class me.lihq.game.GameMain
-
This is the main gameLoop that only needs to be called once, it then creates a logic thread to be executed once a game tick
- GameMain - Class in me.lihq.game
-
This is the class responsible for the game as a whole.
- GameMain() - Constructor for class me.lihq.game.GameMain
-
- gameMap - Variable in class me.lihq.game.GameMain
-
The game map
- generateGame(ArrayList<String>, String) - Method in class me.lihq.game.GameMain
-
The generate game screen generates the game.
- getAmountOfRooms() - Method in class me.lihq.game.models.Map
-
Returns the amount of rooms created by the map
- getArrowDirection(String) - Static method in class me.lihq.game.Assets
-
This method takes a direction and returns the corresponding arrow asset for that direction
- getBackgroundDrawable(Color, int, int) - Static method in class me.lihq.game.screen.elements.UIHelpers
-
Returns drawable with single colour fill
- getClue(int, int) - Method in class me.lihq.game.models.Room
-
This method takes a location parameter and checks it for a clue, if a clue is found it is removed from the map and return
- getColoredTileSprite(Color) - Static method in class me.lihq.game.screen.elements.DebugOverlay
-
This method returns a tile overlay of the specified color
- getDescription() - Method in class me.lihq.game.models.Clue
-
Getter for clue description
- getDirection() - Method in class me.lihq.game.people.AbstractPerson
-
Getter for direction.
- getDx() - Method in enum me.lihq.game.people.AbstractPerson.Direction
-
Getter for dx.
- getDy() - Method in enum me.lihq.game.people.AbstractPerson.Direction
-
Getter for dy.
- getFacingNPC() - Method in class me.lihq.game.people.Player
-
This method tries to get an NPC if the player is facing one
- getFontWithSize(int) - Static method in class me.lihq.game.Assets
-
This method gets the default font but at the requested size
- getHidingSpots() - Method in class me.lihq.game.models.Room
-
This will check the map for any potential hiding locations, and returns them as a list of
coordinates.
- getID() - Method in class me.lihq.game.models.Room
-
Returns the integer ID of the room
- getMatRotation(int, int) - Method in class me.lihq.game.models.Room
-
This method gets the rotation that the map is that they are standing on.
- getMotive() - Method in class me.lihq.game.people.NPC
-
Getter for motive.
- getName() - Method in class me.lihq.game.models.Clue
-
Getter for Clue name.
- getName() - Method in class me.lihq.game.models.Room
-
This returns the String name of the room
- getName() - Method in class me.lihq.game.people.AbstractPerson
-
This method returns the Persons name as a String
- getNavigationScreen() - Method in class me.lihq.game.GameMain
-
This method returns the Navigation Screen that the game runs on.
- getNewRoom() - Method in class me.lihq.game.models.Room.Transition
-
- getNPCS(Room) - Method in class me.lihq.game.GameMain
-
This method returns a list of the NPCs that are in the specified room
- getNPCs() - Method in class me.lihq.game.screen.NavigationScreen
-
This method gets the list of current NPCs in the current room
- getOpposite() - Method in enum me.lihq.game.people.AbstractPerson.Direction
-
This method takes the current direction and gets the opposite direction
- getPersonality() - Method in class me.lihq.game.people.AbstractPerson
-
This returns the persons personality
- getPersonality() - Method in class me.lihq.game.people.NPC
-
This method returns the NPCs personality
- getPersonality() - Method in class me.lihq.game.people.Player
-
Getter for personality, it uses the personalityLevel of the player and thus returns either AGGRESSIVE, NEUTRAL or NICE
- getPersonalityLevel() - Method in class me.lihq.game.people.Player
-
This gets the players personality level; this similar to Personality but a integer representation
- getPosition() - Method in class me.lihq.game.models.Clue
-
This method gets the Clue's current tile location on the map as a Vector2Int
- getRandHidingSpot() - Method in class me.lihq.game.models.Room
-
This gets a random possible location to hide a clue in
- getRandomLocation() - Method in class me.lihq.game.models.Room
-
This method returns a random location in the room that is walkable
- getRoom(int) - Method in class me.lihq.game.models.Map
-
This returns a room from the list based on the id.
- getRoom() - Method in class me.lihq.game.people.AbstractPerson
-
This method returns the room that the Person is in
- getRooms() - Method in class me.lihq.game.models.Map
-
Gets the rooms in the map.
- getScreen() - Method in class me.lihq.game.GameMain
-
Overrides the getScreen method to return our AbstractScreen type.
- getSpeech(String) - Method in class me.lihq.game.people.AbstractPerson
-
Gets a random item from the correct dictionary key.
- getSpeech(Clue) - Method in class me.lihq.game.people.AbstractPerson
-
This method returns the response based on the clue given
- getSpeech(Clue, AbstractPerson.Personality) - Method in class me.lihq.game.people.AbstractPerson
-
This handles speech for a clue that has a question style
- getSpeech(Clue, AbstractPerson.Personality) - Method in class me.lihq.game.people.NPC
-
This handles speech for a clue that has a question style
- getSpeech(Clue, AbstractPerson.Personality) - Method in class me.lihq.game.people.Player
-
This method gets the speech based on what clue it is and the selected personality
- getStage() - Method in class me.lihq.game.screen.elements.journal.Clues
-
Returns the stage used to hold GUI elements
- getStage() - Method in class me.lihq.game.screen.elements.journal.Notepad
-
Returns the stage containing all GUI elements
- getState() - Method in class me.lihq.game.people.AbstractPerson
-
This method returns the Persons walking state.
- getTileCoordinates() - Method in class me.lihq.game.people.AbstractPerson
-
This method gets the Persons tile coordinates
- getTiledMap() - Method in class me.lihq.game.models.Room
-
This returns the tiledMap for this room
- getTileX() - Method in class me.lihq.game.models.Clue
-
- getTileY() - Method in class me.lihq.game.models.Clue
-
- getTransitionData(int, int) - Method in class me.lihq.game.models.Room
-
This method will get the transition data (if available)
for the associated door mat in this room at the location x y.
- getX() - Method in class me.lihq.game.models.Vector2Int
-
Getter for x coordinate.
- getY() - Method in class me.lihq.game.models.Vector2Int
-
Getter for y coordinate.
- greenSprite - Static variable in class me.lihq.game.screen.elements.DebugOverlay
-
This is to store the green tile overlay sprite