A B C D E F G H I K L M N P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addNode(Node) - Method in class com.mygdx.auber.Pathfinding.MapGraph
-
Adds a node to the list of nodes in the graph, sets the node index and increases the index by one.
- addPrisoner(Sprite) - Static method in class com.mygdx.auber.entities.Prisoners
-
Adds a prisoner to the list of prisoners and spawns them in the brig.
- addPrisoner(Sprite, int, int) - Static method in class com.mygdx.auber.entities.Prisoners
-
Adds a prisoner to the list of prisoners at a specific location.
- arrestUp(boolean) - Method in class com.mygdx.auber.entities.Player
-
Sets whether the player is using the arrest powerup.
- ArrestUp - Class in com.mygdx.auber.Powerups
- ArrestUp(Vector2) - Constructor for class com.mygdx.auber.Powerups.ArrestUp
-
Class constructor.
- ARRESTUP_TIME - Static variable in class com.mygdx.auber.Config
-
The time that the arrestup powerup affects the player for in seconds.
- Auber - Class in com.mygdx.auber
- Auber() - Constructor for class com.mygdx.auber.Auber
- AUBER_CIRCLE_SEGMENTS - Static variable in class com.mygdx.auber.Config
-
The radius within which Auber can arrest NPCs.
- AUBER_DAMAGE_VALUE - Static variable in class com.mygdx.auber.entities.Infiltrator
-
The amount to damage Auber by if Auber is to be damaged.
- AUBER_HEAL_STOP_TIME - Static variable in class com.mygdx.auber.Config
-
When Auber's healing is stopped, this is how long it is stopped for.
B
- BACKGROUND_SCROLL_SPEED - Static variable in class com.mygdx.auber.Config
-
The speed of the background scroll in pixels per second.
- beingDestroyedKeySystemsCount() - Static method in class com.mygdx.auber.entities.KeySystemManager
C
- canHeal() - Static method in class com.mygdx.auber.entities.Player
-
Returns whether the player can currently heal.
- checkCollision(float) - Method in class com.mygdx.auber.entities.NPC
-
Checks whether the NPC has made it to the next node.
- ChooseDifficultyScreen - Class in com.mygdx.auber.Screens
- ChooseDifficultyScreen(Auber) - Constructor for class com.mygdx.auber.Screens.ChooseDifficultyScreen
-
Lets the player choose dificulty based on button press.
- clearPathQueue() - Method in class com.mygdx.auber.entities.NPC
-
Clears this NPC's pathQueue.
- COLLISION_SPEEDUP_BLUE - Static variable in class com.mygdx.auber.Config
-
The blue component of the speedup powerup's colour after colliding with the player.
- COLLISION_SPEEDUP_GREEN - Static variable in class com.mygdx.auber.Config
-
The green component of the speedup powerup's colour after colliding with the player.
- COLLISION_SPEEDUP_RED - Static variable in class com.mygdx.auber.Config
-
The red component of the speedup powerup's colour after colliding with the player.
- com.mygdx.auber - package com.mygdx.auber
-
Top level package for the game.
- com.mygdx.auber.entities - package com.mygdx.auber.entities
-
Contains information about different classes of entities in the game.
- com.mygdx.auber.Pathfinding - package com.mygdx.auber.Pathfinding
-
This package is used to contain methods and classes related to pathfinding.
- com.mygdx.auber.Powerups - package com.mygdx.auber.Powerups
-
This package contains classes regarding powerups.
- com.mygdx.auber.Scenes - package com.mygdx.auber.Scenes
-
Stores data related to the game HUD.
- com.mygdx.auber.Screens - package com.mygdx.auber.Screens
-
Stores information about the different screens in the game.
- Config - Class in com.mygdx.auber
- connectNodes(Node, Node) - Method in class com.mygdx.auber.Pathfinding.MapGraph
-
Creates a path from one node to another.
- create() - Method in class com.mygdx.auber.Auber
-
Called when this is created.
- createCrew(Sprite, Node, MapGraph) - Static method in class com.mygdx.auber.entities.NPCCreator
-
Creates crewmembers, adds them to the array, sets its index and increments the index counter.
- createCrewSprites() - Static method in class com.mygdx.auber.entities.CrewMembers
-
Generates the list of crewmate sprites the crewmates can be.
- createInfiltrator(Sprite, Node, MapGraph) - Static method in class com.mygdx.auber.entities.NPCCreator
-
Creates infiltrators, adds them to the array, sets its index and increments the index counter.
- createInfiltrator(Sprite, Float, Float, MapGraph) - Static method in class com.mygdx.auber.entities.NPCCreator
-
Creates infiltrators, adds them to the array, sets its index and increments the index counter.
- createInfiltratorSprites() - Static method in class com.mygdx.auber.entities.Infiltrator
-
Fills out the array of sprites available for the infiltrators to take.
- CREW_COUNT_DIFFICULTY_MULTIPLIER - Static variable in class com.mygdx.auber.Config
-
The amount of crew to add per difficulty level increase.
- CREW_MEMBER_SPEED - Static variable in class com.mygdx.auber.Config
-
The crew members' speed in pixels/second.
- CrewMembers - Class in com.mygdx.auber.entities
- CrewMembers(Sprite, Node, MapGraph) - Constructor for class com.mygdx.auber.entities.CrewMembers
-
Class constructor.
D
- damageAuber(Player, int) - Method in class com.mygdx.auber.entities.Infiltrator
-
Damages Auber by an amount.
- debugText() - Method in class com.mygdx.auber.Screens.PlayScreen
-
Prints debug text, not used.
- DEFAULT_ARRESTUP_BLUE - Static variable in class com.mygdx.auber.Config
-
The blue component of the arrestup powerup's default colour.
- DEFAULT_ARRESTUP_GREEN - Static variable in class com.mygdx.auber.Config
-
The green component of the arrestup powerup's default colour.
- DEFAULT_ARRESTUP_RED - Static variable in class com.mygdx.auber.Config
-
The red component of the arrestup powerup's default colour.
- DEFAULT_FREEZEUP_BLUE - Static variable in class com.mygdx.auber.Config
-
The blue component of the FreezeUp powerup's default colour.
- DEFAULT_FREEZEUP_GREEN - Static variable in class com.mygdx.auber.Config
-
The green component of the FreezeUp powerup's default colour.
- DEFAULT_FREEZEUP_RED - Static variable in class com.mygdx.auber.Config
-
The red component of the FreezeUp powerup's default colour.
- DEFAULT_HIGHLIGHTUP_BLUE - Static variable in class com.mygdx.auber.Config
-
The blue component of the HighlightUp powerup's default colour.
- DEFAULT_HIGHLIGHTUP_GREEN - Static variable in class com.mygdx.auber.Config
-
The green component of the HighlightUp powerup's default colour.
- DEFAULT_HIGHLIGHTUP_RED - Static variable in class com.mygdx.auber.Config
-
The red component of the HighlightUp powerup's default colour.
- DEFAULT_SHIELDUP_BLUE - Static variable in class com.mygdx.auber.Config
-
The blue component of the ShieldUp powerup's default colour.
- DEFAULT_SHIELDUP_GREEN - Static variable in class com.mygdx.auber.Config
-
The green component of the ShieldUp powerup's default colour.
- DEFAULT_SHIELDUP_RED - Static variable in class com.mygdx.auber.Config
-
The red component of the ShieldUp powerup's default colour.
- DEFAULT_SPEEDUP_BLUE - Static variable in class com.mygdx.auber.Config
-
The blue component of the speedup powerup's default colour.
- DEFAULT_SPEEDUP_GREEN - Static variable in class com.mygdx.auber.Config
-
The green component of the speedup powerup's default colour.
- DEFAULT_SPEEDUP_RED - Static variable in class com.mygdx.auber.Config
-
The red component of the speedup powerup's default colour.
- destroyedKeySystemsCount() - Static method in class com.mygdx.auber.entities.KeySystemManager
- destroyKeySystem() - Method in class com.mygdx.auber.entities.Infiltrator
-
Starts destroying a random keySystem, moves towards it, sets isDestroying to true.
- dispose() - Method in class com.mygdx.auber.entities.CrewMembers
-
Method implemented from abstract superclass.
- dispose() - Method in class com.mygdx.auber.entities.Infiltrator
-
Called when this object is deleted.
- dispose() - Static method in class com.mygdx.auber.entities.KeySystemManager
-
Called when this object is deleted.
- dispose() - Static method in class com.mygdx.auber.entities.NPCCreator
-
Called when this object is deleted.
- dispose() - Method in class com.mygdx.auber.entities.Player
-
Called when this object is deleted.
- dispose() - Method in class com.mygdx.auber.Pathfinding.GraphCreator
- dispose() - Method in class com.mygdx.auber.Pathfinding.MapGraph
-
Called when this object is deleted.
- dispose() - Method in class com.mygdx.auber.Screens.ChooseDifficultyScreen
-
Method called when this screen is deleted.
- dispose() - Method in class com.mygdx.auber.Screens.GameOverScreen
-
Method implemented from abstract superclass.
- dispose() - Method in class com.mygdx.auber.Screens.MainMenuScreen
-
Method called when this screen is deleted.
- dispose() - Method in class com.mygdx.auber.Screens.PlayScreen
-
Called when the screen is closed, need to call dispose methods of classes to ensure no memory leaks.
- dispose() - Method in class com.mygdx.auber.Screens.TutorialScreen
-
Method implemented from abstract superclass.
- disposeNPC() - Static method in class com.mygdx.auber.entities.NPC
-
Dispose method to be called in dispose method of screen.
- draw() - Method in class com.mygdx.auber.Scenes.Hud
-
Draws this HUD.
- draw(Batch) - Method in class com.mygdx.auber.entities.Player
-
Used to draw the player to the screen.
- drawArrow(Batch) - Method in class com.mygdx.auber.entities.Player
-
Draws arrows pointing in the direction of key systems being destroyed.
- drawCircle(ShapeRenderer) - Method in class com.mygdx.auber.entities.Player
-
Draws the arrest radius for Auber.
E
- encode() - Static method in class com.mygdx.auber.entities.NPCCreator
-
Encodes all of the NPCs in the game into a recognisable string.
- encode() - Method in class com.mygdx.auber.entities.Player
-
Encodes this Player to a string.
- encode() - Static method in class com.mygdx.auber.entities.Prisoners
-
Encodes the prisoners to a string for saving.
- encode(Array<CrewMembers>) - Static method in class com.mygdx.auber.entities.CrewMembers
-
Encodes data of all crew members into a recognisable string.
- encode(Array<Infiltrator>) - Static method in class com.mygdx.auber.entities.Infiltrator
-
Encodes data of all infiltrators into a recognisable string.
- estimate(Node, Node) - Method in class com.mygdx.auber.Pathfinding.PathHeuristic
- EXTEND_ARREST_RANGE - Static variable in class com.mygdx.auber.Config
-
The radius of the player arrest range circle when with arrest power up.
F
- FAST_PLAYER_SPEED - Static variable in class com.mygdx.auber.Config
-
The speed of the player in pixels/second when using a speed powerup.
- findBrigLocations(TiledMapTileLayer) - Static method in class com.mygdx.auber.entities.Prisoners
-
Scans every tile and adds a vector2 with the position of the tile with the property "prison".
- findInfirmary(TiledMapTileLayer) - Method in class com.mygdx.auber.entities.Player
-
Finds the location of the infirmary on the map.
- findPath(Node, Node) - Method in class com.mygdx.auber.Pathfinding.MapGraph
-
Calculates a path from one node to another, populates the nodePath variable with the path it finds.
- freezeUp(boolean) - Method in class com.mygdx.auber.entities.Player
-
Sets whether the player is using the freeze powerup.
- FreezeUp - Class in com.mygdx.auber.Powerups
- FreezeUp(Vector2) - Constructor for class com.mygdx.auber.Powerups.FreezeUp
-
Class constructor.
- FREEZEUP_TIME - Static variable in class com.mygdx.auber.Config
-
The time that the FreezeUp powerup affects the player for in seconds.
G
- gameOver() - Method in class com.mygdx.auber.Screens.PlayScreen
-
If any of the game over conditions are true, returns true.
- GameOverScreen - Class in com.mygdx.auber.Screens
- GameOverScreen(Auber, boolean) - Constructor for class com.mygdx.auber.Screens.GameOverScreen
-
Class constructor.
- gameWin() - Method in class com.mygdx.auber.Screens.PlayScreen
-
If any of the win conditions are true, returns true.
- generateConnections() - Method in class com.mygdx.auber.Pathfinding.GraphCreator
-
Generates a path from each node to its neighbour nodes (up, down, left, right).
- generateNodeMap() - Method in class com.mygdx.auber.Pathfinding.GraphCreator
-
Generates a node on every tile in the map, if it matches the id.
- getBatch() - Method in class com.mygdx.auber.Auber
- getBeingDestroyedKeySystems() - Static method in class com.mygdx.auber.entities.KeySystemManager
- getCamera() - Static method in class com.mygdx.auber.Screens.PlayScreen
-
The camera used to render the game.
- getClosestKeySystem(float, float) - Static method in class com.mygdx.auber.entities.KeySystemManager
-
Returns the closest KeySystem to the given coordinates.
- getConnections(Node) - Method in class com.mygdx.auber.Pathfinding.MapGraph
-
Returns the list of paths that start at a particular node.
- getCost() - Method in class com.mygdx.auber.Pathfinding.Path
-
Returns the cost of the path.
- getCrew() - Static method in class com.mygdx.auber.entities.NPCCreator
-
Returns the list of Crew Members.
- getEasySprites() - Static method in class com.mygdx.auber.entities.Infiltrator
-
Gets the list of easy sprites.
- getElapsedTime() - Method in class com.mygdx.auber.entities.NPC
-
Returns how long this NPC has been waiting for.
- getFreeze() - Static method in class com.mygdx.auber.entities.Player
-
Gets whether the player is using the freeze powerup.
- getFromNode() - Method in class com.mygdx.auber.Pathfinding.Path
-
Returns the node the path comes from.
- getHardSprites() - Static method in class com.mygdx.auber.entities.Infiltrator
-
Gets the list of hard sprites.
- getHealth() - Method in class com.mygdx.auber.entities.Player
-
Returns this player's health.
- getHighlight() - Static method in class com.mygdx.auber.entities.Player
-
Gets whether the player is using the highlight powerup.
- getIncorrectArrestCount() - Static method in class com.mygdx.auber.Scenes.Hud
-
Returns the current number of incorrect arrests.
- getIndex() - Method in class com.mygdx.auber.entities.NPC
-
Gets the index of this NPC.
- getIndex() - Method in class com.mygdx.auber.Pathfinding.Node
-
Gets the index of this node.
- getIndex(Node) - Method in class com.mygdx.auber.Pathfinding.MapGraph
-
Returns the index of a particular Node instance.
- getInfiltrators() - Static method in class com.mygdx.auber.entities.NPCCreator
-
Returns the list of Infiltrators.
- getIsDestroying() - Method in class com.mygdx.auber.entities.Infiltrator
-
Gets if infiltrator is destroying.
- getKeySystemNodes() - Static method in class com.mygdx.auber.Pathfinding.GraphCreator
-
Returns the key system nodes for this GraphCreator.
- getKeySystems() - Static method in class com.mygdx.auber.entities.KeySystemManager
-
Gets the key systems managed by this object.
- getMapGraph() - Method in class com.mygdx.auber.Pathfinding.GraphCreator
-
Gets this GraphCreator's mapGraph.
- getMaxIncorrectArrests() - Method in class com.mygdx.auber.Screens.PlayScreen
-
Gets the max incorrect arrests.
- getNeighbourNodes(Node) - Method in class com.mygdx.auber.Pathfinding.GraphCreator
-
Returns every valid neighbour node to the node passed as input.
- getNode(float, float) - Method in class com.mygdx.auber.Pathfinding.MapGraph
-
Returns a node based on the x,y position of the node.
- getNodeCount() - Method in class com.mygdx.auber.Pathfinding.MapGraph
-
Return the count of how many nodes are in our search space.
- getNodes() - Method in class com.mygdx.auber.Pathfinding.MapGraph
-
The Nodes in this MapGraph.
- getNumberOfInfiltrators() - Static method in class com.mygdx.auber.Screens.PlayScreen
-
Gets the number of infiltrators.
- getPathQueue() - Method in class com.mygdx.auber.entities.NPC
-
Returns the path this NPC is following.
- getPaths() - Method in class com.mygdx.auber.Pathfinding.MapGraph
-
The connections in this MapGraph.
- getPosition() - Method in class com.mygdx.auber.entities.KeySystem
-
Gets the position of this KeySystem.
- getPosition() - Method in class com.mygdx.auber.entities.Player
-
Gets the position of this Player.
- getPosition() - Method in class com.mygdx.auber.Powerups.PowerUp
-
Returns the player's position.
- getPreviousNode() - Method in class com.mygdx.auber.entities.NPC
-
Gets the previous node that this NPC visited.
- getRandomNode() - Method in class com.mygdx.auber.Pathfinding.MapGraph
-
Returns a random node from this MapGraph.
- getRequestedPause() - Method in class com.mygdx.auber.entities.Player
-
Returns whether the user has requested pause.
- getRequestedSave() - Method in class com.mygdx.auber.entities.Player
-
Returns whether the user has requested save.
- getTeleporterLocations(TiledMapTileLayer) - Static method in class com.mygdx.auber.entities.Player
-
Get the location of the teleporters on the map.
- getToNode() - Method in class com.mygdx.auber.Pathfinding.Path
-
Returns the node the path goes to.
- getVelocity() - Method in class com.mygdx.auber.entities.NPC
-
Gets this NPC's velocity.
- getX() - Method in class com.mygdx.auber.Pathfinding.Node
-
Gets the x coordinate of this node.
- getY() - Method in class com.mygdx.auber.Pathfinding.Node
-
Gets the y coordinate of this node.
- goInvisible() - Method in class com.mygdx.auber.entities.Infiltrator
-
Sets the sprite alpha to 0, records the time the invisibility started, sets isInvisible to true.
- GraphCreator - Class in com.mygdx.auber.Pathfinding
- GraphCreator(TiledMapTileLayer) - Constructor for class com.mygdx.auber.Pathfinding.GraphCreator
-
The constructor for this MapGraph.
H
- handledSave() - Method in class com.mygdx.auber.entities.Player
-
Called when the player has been saved.
- hasCrew() - Static method in class com.mygdx.auber.entities.NPCCreator
-
Returns if this NPCCreator has crew.
- hasInfiltrators() - Static method in class com.mygdx.auber.entities.NPCCreator
-
Returns if this NPCCreator has infiltrators.
- heal() - Method in class com.mygdx.auber.entities.Player
-
Heal Auber for the full amount.
- heal(int) - Method in class com.mygdx.auber.entities.Player
-
Heal Auber for a certain amount.
- hide() - Method in class com.mygdx.auber.Screens.ChooseDifficultyScreen
-
Method implemented from abstract superclass.
- hide() - Method in class com.mygdx.auber.Screens.GameOverScreen
-
Method implemented from abstract superclass.
- hide() - Method in class com.mygdx.auber.Screens.MainMenuScreen
-
Method implemented from abstract superclass.
- hide() - Method in class com.mygdx.auber.Screens.PlayScreen
-
Method implemented from abstract superclass.
- hide() - Method in class com.mygdx.auber.Screens.TutorialScreen
-
Method implemented from abstract superclass.
- highlightUp(boolean) - Method in class com.mygdx.auber.entities.Player
-
Sets whether the player is using the highlight powerup.
- HighlightUp - Class in com.mygdx.auber.Powerups
- HighlightUp(Vector2) - Constructor for class com.mygdx.auber.Powerups.HighlightUp
-
Class constructor.
- HIGHLIGHTUP_TIME - Static variable in class com.mygdx.auber.Config
-
The time that the HighlightUp powerup affects the player for in seconds.
- Hud - Class in com.mygdx.auber.Scenes
- Hud(SpriteBatch, PlayScreen, Player) - Constructor for class com.mygdx.auber.Scenes.Hud
-
Creates the HUD using the specified SpriteBatch.
I
- INCORRECT_ARREST_DIFFICULTY_MULTIPLIER - Static variable in class com.mygdx.auber.Config
-
The amount of incorrect arrests to remove per difficulty level increase.
- incrementArrestedInfiltrators() - Static method in class com.mygdx.auber.Scenes.Hud
-
Increments the number of arrested infiltrators.
- incrementElapsedTime(float) - Method in class com.mygdx.auber.entities.NPC
-
Increases the elapsed time by the given value.
- incrementIncorrectArrests() - Static method in class com.mygdx.auber.Scenes.Hud
-
Increments the number of incorrect arrests.
- Infiltrator - Class in com.mygdx.auber.entities
- Infiltrator(Sprite, float, float, MapGraph, boolean) - Constructor for class com.mygdx.auber.entities.Infiltrator
-
Class constructor.
- Infiltrator(Sprite, Node, MapGraph, boolean) - Constructor for class com.mygdx.auber.entities.Infiltrator
-
Class constructor.
- INFILTRATOR_SPEED - Static variable in class com.mygdx.auber.Config
-
The infiltrators' speed in pixels/second.
- isBeingDestroyed() - Method in class com.mygdx.auber.entities.KeySystem
- isDestroyed() - Method in class com.mygdx.auber.entities.KeySystem
- isDestroying() - Method in class com.mygdx.auber.entities.Infiltrator
-
Whether this infiltrator is currently destroying a system.
- isHighlighted() - Static method in class com.mygdx.auber.entities.Infiltrator
-
Whether infiltrators are currently highlighted.
- isSafe() - Method in class com.mygdx.auber.entities.KeySystem
- isTaken() - Method in class com.mygdx.auber.Powerups.PowerUp
-
Returns if the player has picked up this PowerUp.
- isUsed() - Method in class com.mygdx.auber.Powerups.PowerUp
-
Used to determine if the powerup has been used and is no longer affecting the player.
K
- keyDown(int) - Method in class com.mygdx.auber.entities.Player
-
When a key is pressed, this method is called.
- KeySystem - Class in com.mygdx.auber.entities
- KeySystem(TiledMapTileLayer.Cell, String, Vector2) - Constructor for class com.mygdx.auber.entities.KeySystem
-
Class constructor.
- KeySystemManager - Class in com.mygdx.auber.entities
- KeySystemManager(TiledMapTileLayer) - Constructor for class com.mygdx.auber.entities.KeySystemManager
-
Class constructor.
- keySystemsCount() - Static method in class com.mygdx.auber.entities.KeySystemManager
- keyTyped(char) - Method in class com.mygdx.auber.entities.Player
- keyUp(int) - Method in class com.mygdx.auber.entities.Player
-
When a key is lifted, this method is called.
L
- LoadCrewFromEncoding(String, String, MapGraph) - Static method in class com.mygdx.auber.entities.NPCCreator
- loadFromEncoding(String, String, String, String) - Static method in class com.mygdx.auber.entities.Infiltrator
- loadFromString(String) - Static method in class com.mygdx.auber.entities.Prisoners
-
Loads the prisoners from a string.
- loadInfiltratorsFromEncoding(String, String, String, String, String, String, MapGraph) - Static method in class com.mygdx.auber.entities.NPCCreator
M
- MainMenuScreen - Class in com.mygdx.auber.Screens
- MainMenuScreen(Auber) - Constructor for class com.mygdx.auber.Screens.MainMenuScreen
-
Class constructor.
- mapGraph - Variable in class com.mygdx.auber.entities.NPC
-
Mapgraph for the NPC to reference.
- MapGraph - Class in com.mygdx.auber.Pathfinding
- MapGraph() - Constructor for class com.mygdx.auber.Pathfinding.MapGraph
- MAX_LOST_SYSTEMS - Static variable in class com.mygdx.auber.Config
-
The amount of systems that can be destroyed before the player loses.
- MIN_TELEPORT_DISTANCE - Static variable in class com.mygdx.auber.entities.Player
-
How close Auber has to be to a teleporter in order to teleport.
- mouseMoved(int, int) - Method in class com.mygdx.auber.entities.Player
- moveNPC(float) - Method in class com.mygdx.auber.entities.NPC
-
Moves the NPC based on their movement vector, and sets their sprite in the direction of movement.
N
- Node - Class in com.mygdx.auber.Pathfinding
- Node(float, float) - Constructor for class com.mygdx.auber.Pathfinding.Node
-
The class constructor.
- NORMAL_ARREST_RANGE - Static variable in class com.mygdx.auber.Config
-
The radius of the player arrest range circle.
- NORMAL_PLAYER_SPEED - Static variable in class com.mygdx.auber.Config
-
The speed of the player in pixels/second without powerups.
- NPC - Class in com.mygdx.auber.entities
-
NPCs use nodes to walk around and A* to navigate between them, the nodes are generated and stored in GraphCreator, while MapGraph is used to search and manipulate the node graph.
- NPC(Sprite, float, float, MapGraph, float) - Constructor for class com.mygdx.auber.entities.NPC
- NPC(Sprite, Node, MapGraph, float) - Constructor for class com.mygdx.auber.entities.NPC
-
Constructor for NPC.
- NPCCreator - Class in com.mygdx.auber.entities
- NPCCreator() - Constructor for class com.mygdx.auber.entities.NPCCreator
P
- Path - Class in com.mygdx.auber.Pathfinding
- Path(Node, Node) - Constructor for class com.mygdx.auber.Pathfinding.Path
-
Class constructor.
- PathHeuristic - Class in com.mygdx.auber.Pathfinding
- PathHeuristic() - Constructor for class com.mygdx.auber.Pathfinding.PathHeuristic
- pause() - Method in class com.mygdx.auber.Screens.ChooseDifficultyScreen
-
Method implemented from abstract superclass.
- pause() - Method in class com.mygdx.auber.Screens.GameOverScreen
-
Method implemented from abstract superclass.
- pause() - Method in class com.mygdx.auber.Screens.MainMenuScreen
-
Method implemented from abstract superclass.
- pause() - Method in class com.mygdx.auber.Screens.PlayScreen
-
Method implemented from abstract superclass.
- pause() - Method in class com.mygdx.auber.Screens.TutorialScreen
-
Method implemented from abstract superclass.
- Player - Class in com.mygdx.auber.entities
- Player(Sprite, Array<TiledMapTileLayer>, boolean) - Constructor for class com.mygdx.auber.entities.Player
-
Class constructor.
- PLAYER_START_X - Static variable in class com.mygdx.auber.Config
-
The x position the player starts at.
- PLAYER_START_Y - Static variable in class com.mygdx.auber.Config
-
The y position the player starts at.
- playerCollision(float, float, float, float) - Method in class com.mygdx.auber.Powerups.PowerUp
-
Determines if the player is touching this powerup.
- PlayScreen - Class in com.mygdx.auber.Screens
- PlayScreen(Auber, boolean, int) - Constructor for class com.mygdx.auber.Screens.PlayScreen
-
Class constructor.
- PlayScreen(Auber, boolean, String) - Constructor for class com.mygdx.auber.Screens.PlayScreen
-
Class constructor.
- PowerUp - Class in com.mygdx.auber.Powerups
- PowerUp(Vector2) - Constructor for class com.mygdx.auber.Powerups.PowerUp
-
Constructor used to instantiate the class.
- POWERUP_DIAMETER - Static variable in class com.mygdx.auber.Config
-
The diameter of powerups in pixels.
- POWERUP_START_X - Static variable in class com.mygdx.auber.Config
-
The x position the powerups spawn at.
- POWERUP_START_Y - Static variable in class com.mygdx.auber.Config
-
The y position the powerups spawn at.
- Prisoners - Class in com.mygdx.auber.entities
- Prisoners(TiledMapTileLayer) - Constructor for class com.mygdx.auber.entities.Prisoners
-
Class constructor.
R
- reachDestination() - Method in class com.mygdx.auber.entities.CrewMembers
-
Called when the path queue is empty.
- reachDestination() - Method in class com.mygdx.auber.entities.Infiltrator
-
Called when the path queue is empty.
- reachDestination() - Method in class com.mygdx.auber.entities.NPC
-
A placeholder function to be superceded by subclasses own reachDestination().
- reachNextNode(float) - Method in class com.mygdx.auber.entities.NPC
-
Called when NPC has reached a node, sets the next node to be moved to, or if the path queue is empty, destination is reached.
- removeCrewmember(int) - Static method in class com.mygdx.auber.entities.NPCCreator
-
Removes crewmember for given id.
- removeInfiltrator(Player, int) - Static method in class com.mygdx.auber.entities.NPCCreator
-
Removes infiltrator for given id.
- render() - Method in class com.mygdx.auber.Auber
-
Called when a new frame is rendered.
- render() - Method in class com.mygdx.auber.Pathfinding.GraphCreator
-
Renders the nodes and paths on the screen using their render methods, used for debugging purposes.
- render(float) - Method in class com.mygdx.auber.Screens.ChooseDifficultyScreen
-
Called every frame to render this screen.
- render(float) - Method in class com.mygdx.auber.Screens.GameOverScreen
-
Called every frame to render this screen.
- render(float) - Method in class com.mygdx.auber.Screens.MainMenuScreen
-
Called every frame to render this screen.
- render(float) - Method in class com.mygdx.auber.Screens.PlayScreen
-
Called every frame, call render methods in here.
- render(float) - Method in class com.mygdx.auber.Screens.TutorialScreen
-
Called to draw the tutorial screen.
- render(Batch) - Static method in class com.mygdx.auber.entities.NPC
-
Render method for rendering all NPCs.
- render(Batch) - Static method in class com.mygdx.auber.entities.Prisoners
-
Renders the sprites in the prison.
- render(ShapeRenderer) - Method in class com.mygdx.auber.Pathfinding.Path
-
Render method for rendering the paths between nodes, used for debugging purposes.
- render(ShapeRenderer) - Method in class com.mygdx.auber.Powerups.ArrestUp
-
Calls the superclass render method with the specified colour.
- render(ShapeRenderer) - Method in class com.mygdx.auber.Powerups.FreezeUp
-
Calls the superclass render method with the specified colour.
- render(ShapeRenderer) - Method in class com.mygdx.auber.Powerups.HighlightUp
-
Calls the superclass render method with the specified colour.
- render(ShapeRenderer) - Method in class com.mygdx.auber.Powerups.PowerUp
-
Draws this powerup using the specified shapeRenderer.
- render(ShapeRenderer) - Method in class com.mygdx.auber.Powerups.ShieldUp
-
Calls the superclass render method with the specified colour.
- render(ShapeRenderer) - Method in class com.mygdx.auber.Powerups.SpeedUp
-
Calls the superclass render method with the specified colour.
- render(ShapeRenderer, SpriteBatch, BitmapFont, boolean) - Method in class com.mygdx.auber.Pathfinding.Node
-
Renderer for the nodes, used for debugging purposes.
- resetElapsedTime() - Method in class com.mygdx.auber.entities.NPC
-
Sets the elapsed time to 0.
- resetHealStopTime() - Method in class com.mygdx.auber.entities.Player
-
Sets the heal stop time to 0.
- resize(int, int) - Method in class com.mygdx.auber.Screens.ChooseDifficultyScreen
-
Method implemented from abstract superclass.
- resize(int, int) - Method in class com.mygdx.auber.Screens.GameOverScreen
-
Method implemented from abstract superclass.
- resize(int, int) - Method in class com.mygdx.auber.Screens.MainMenuScreen
-
Method implemented from abstract superclass.
- resize(int, int) - Method in class com.mygdx.auber.Screens.PlayScreen
-
Called upon window being resized, and at the beginning.
- resize(int, int) - Method in class com.mygdx.auber.Screens.TutorialScreen
-
Method implemented from abstract superclass.
- resize(int, int) - Method in class com.mygdx.auber.ScrollingBackground
-
Resets the size of the background.
- resume() - Method in class com.mygdx.auber.Screens.ChooseDifficultyScreen
-
Method implemented from abstract superclass.
- resume() - Method in class com.mygdx.auber.Screens.GameOverScreen
-
Method implemented from abstract superclass.
- resume() - Method in class com.mygdx.auber.Screens.MainMenuScreen
-
Method implemented from abstract superclass.
- resume() - Method in class com.mygdx.auber.Screens.PlayScreen
-
Method implemented from abstract superclass.
- resume() - Method in class com.mygdx.auber.Screens.TutorialScreen
-
Method implemented from abstract superclass.
S
- safeKeySystemsCount() - Static method in class com.mygdx.auber.entities.KeySystemManager
- scrolled(int) - Method in class com.mygdx.auber.entities.Player
- ScrollingBackground - Class in com.mygdx.auber
- ScrollingBackground() - Constructor for class com.mygdx.auber.ScrollingBackground
-
Class constructor.
- selectSprite() - Static method in class com.mygdx.auber.entities.CrewMembers
-
Returns a crew member sprite, low chance of anime.
- setCanHeal(boolean) - Static method in class com.mygdx.auber.entities.Player
-
Sets whether the player can heal.
- setDestroying(boolean) - Method in class com.mygdx.auber.entities.Infiltrator
-
Sets whether this Infiltrator is destroying a system.
- setGoal(Node, float) - Method in class com.mygdx.auber.entities.NPC
-
Sets the goal node and calculates the path to take there.
- setHealStopTime(float) - Method in class com.mygdx.auber.entities.Player
-
Sets when the player stopped healing.
- setHealth(float) - Method in class com.mygdx.auber.entities.Player
-
Sets this player's health.
- setHighlight(ShapeRenderer) - Method in class com.mygdx.auber.entities.Infiltrator
-
Highlights each Infiltrator.
- setIndex(int) - Method in class com.mygdx.auber.entities.NPC
-
Sets the index of this NPC.
- setIndex(int) - Method in class com.mygdx.auber.Pathfinding.Node
-
Setter for the index of the node, used for A* Indexed search.
- setIsDestroying() - Method in class com.mygdx.auber.entities.Infiltrator
-
Sets if infiltrator is destroying.
- setIsInvisible(boolean) - Method in class com.mygdx.auber.entities.Infiltrator
-
Sets whether this infiltrator is invisible.
- setNodePath(GraphPath<Node>) - Static method in class com.mygdx.auber.Pathfinding.GraphCreator
-
Sets the nodePath for this GraphCreator.
- setPosition(Vector2) - Method in class com.mygdx.auber.Powerups.PowerUp
-
Sets the position of this PowerUp.
- setRequestedPause(boolean) - Method in class com.mygdx.auber.entities.Player
-
Sets whether the user has requested pause.
- setRGB(float, float, float) - Method in class com.mygdx.auber.Powerups.PowerUp
-
Sets the colour of this PowerUp.
- setSpeedToNextNode(float) - Method in class com.mygdx.auber.entities.NPC
-
Sets the velocity towards the next node.
- setTaken(boolean) - Method in class com.mygdx.auber.Powerups.PowerUp
-
Sets whether the player has picked up this PowerUp.
- setTeleporters(Array<Vector2>) - Method in class com.mygdx.auber.entities.Player
-
Sets the array of teleporter locations.
- setTimeInvisible(float) - Method in class com.mygdx.auber.entities.Infiltrator
-
Sets how long this infiltrator has been invisible for.
- setUsed(boolean) - Method in class com.mygdx.auber.Powerups.PowerUp
-
Returns whether the player has finished using this PowerUp.
- setUsingArrestPowerUp(boolean) - Method in class com.mygdx.auber.entities.Player
-
Sets whether the player is using the arrest powerup.
- setUsingSpeedPowerUp(boolean) - Method in class com.mygdx.auber.entities.Player
-
Sets whether the player is using the speed powerup.
- setVelocity(Vector2) - Method in class com.mygdx.auber.entities.NPC
-
Sets this NPC's velocity.
- shieldUp(boolean) - Method in class com.mygdx.auber.entities.Player
-
Sets whether the player is using the freeze powerup.
- ShieldUp - Class in com.mygdx.auber.Powerups
- ShieldUp(Vector2) - Constructor for class com.mygdx.auber.Powerups.ShieldUp
-
Class constructor.
- SHIELDUP_TIME - Static variable in class com.mygdx.auber.Config
-
The time that the ShieldUp powerup affects the player for in seconds.
- show() - Method in class com.mygdx.auber.Screens.ChooseDifficultyScreen
-
Method implemented from abstract superclass.
- show() - Method in class com.mygdx.auber.Screens.GameOverScreen
-
Method implemented from abstract superclass.
- show() - Method in class com.mygdx.auber.Screens.MainMenuScreen
-
Method implemented from abstract superclass.
- show() - Method in class com.mygdx.auber.Screens.PlayScreen
-
Method implemented from abstract superclass.
- show() - Method in class com.mygdx.auber.Screens.TutorialScreen
-
Method implemented from abstract superclass.
- speedUp(boolean) - Method in class com.mygdx.auber.entities.Player
-
Sets whether the player is using the speed powerup.
- SpeedUp - Class in com.mygdx.auber.Powerups
- SpeedUp(Vector2) - Constructor for class com.mygdx.auber.Powerups.SpeedUp
-
Class constructor.
- SPEEDUP_TIME - Static variable in class com.mygdx.auber.Config
-
The time that the speedup powerup affects the player for in seconds.
- startDestroy() - Method in class com.mygdx.auber.entities.KeySystem
-
Called when a system begins to be destroyed.
- step(float) - Method in class com.mygdx.auber.entities.CrewMembers
-
Step needs to be called in the update method, makes the NPC move and check if it has reached its next node.
- step(Player, float) - Method in class com.mygdx.auber.entities.Infiltrator
-
Step needs to be called in the update method, makes the NPC move and check if it has reached its next node.
- stopAuberHealing(Player) - Method in class com.mygdx.auber.entities.Infiltrator
-
Sets canHeal to false in player, records the time at which he stopped being able to heal.
- stopDestroy() - Method in class com.mygdx.auber.entities.KeySystem
-
Called when an Infiltrator stops destroying a system.
- SYSTEM_DESTRUCTION_TIME - Static variable in class com.mygdx.auber.Config
-
The time to destroy a system in milliseconds.
T
- takeDamage(float) - Method in class com.mygdx.auber.entities.Player
-
Take damage for amount given.
- teleport() - Method in class com.mygdx.auber.entities.Player
-
Teleport player to the other teleporter.
- timeRemaining() - Method in class com.mygdx.auber.entities.KeySystem
-
Calculates time remaining for the system to be destroyed.
- touchDown(int, int, int, int) - Method in class com.mygdx.auber.entities.Player
-
Called when a mouse left click is clicked.
- touchDragged(int, int, int) - Method in class com.mygdx.auber.entities.Player
- touchUp(int, int, int, int) - Method in class com.mygdx.auber.entities.Player
- TutorialScreen - Class in com.mygdx.auber.Screens
- TutorialScreen(Auber) - Constructor for class com.mygdx.auber.Screens.TutorialScreen
-
Class constructor.
U
- update(float) - Method in class com.mygdx.auber.entities.Player
-
Used to update the player, move in direction, change scale, and check for collision.
- update(float) - Method in class com.mygdx.auber.Screens.PlayScreen
-
Called every frame, call update methods in here.
- update(Player) - Method in class com.mygdx.auber.Powerups.ArrestUp
-
Used to update the status of this powerup every frame.
- update(Player) - Method in class com.mygdx.auber.Powerups.FreezeUp
-
Used to update the status of this powerup every frame.
- update(Player) - Method in class com.mygdx.auber.Powerups.HighlightUp
-
Used to update the status of this powerup every frame.
- update(Player) - Method in class com.mygdx.auber.Powerups.PowerUp
-
An abstract method used to update the PowerUp every frame.
- update(Player) - Method in class com.mygdx.auber.Powerups.ShieldUp
-
Used to update the status of this powerup every frame.
- update(Player) - Method in class com.mygdx.auber.Powerups.SpeedUp
-
Used to update the status of this powerup every frame.
- update(Player) - Method in class com.mygdx.auber.Scenes.Hud
-
Used to update the HUD every frame.
- updateNPC(Player, float) - Static method in class com.mygdx.auber.entities.NPC
-
Updates every NPC, to be called in a screens update method.
- updateRender(float, SpriteBatch) - Method in class com.mygdx.auber.ScrollingBackground
-
Used to update and render the background.
- useAbility(Player) - Method in class com.mygdx.auber.entities.Infiltrator
-
Causes the infiltrator to use a random ability.
V
- VIRTUAL_HEIGHT - Static variable in class com.mygdx.auber.Auber
-
The virtual height of the game.
- VIRTUAL_WIDTH - Static variable in class com.mygdx.auber.Auber
-
The virtual width of the game.
All Classes All Packages