- TABLE_OFFSET - Static variable in class com.jonathan.survivor.hud.PauseMenuHud
-
Stores the amount the table is offset upwards so that the "Paused" label is shown higher up the screen.
- TABLE_Y_OFFSET - Static variable in class com.jonathan.survivor.hud.BackpackHud
-
Stores the y position of the table nudge the table up, so that the header is at the right position on the backpack.
- TABLE_Y_OFFSET - Static variable in class com.jonathan.survivor.screens.BackpackHud
-
Stores the y position of the table nudge the table up, so that the header is at the right position on the backpack.
- takeDamage(float) - Method in class com.jonathan.survivor.entity.Human
-
Deals damage to the human by removing the given amount from its health.
- takeDamage(float) - Method in class com.jonathan.survivor.entity.Player
-
Overrides the takeDamage() method to take note of when the player dies, in order to display the KO animation.
- takeDamage(float) - Method in class com.jonathan.survivor.entity.Tree
-
Deals damage to the tree by removing the given amount from its health.
- targetted() - Method in class com.jonathan.survivor.entity.InteractiveObject
-
Called when the Interactive GameObject has just been targetted by a Human
- Teleporter - Class in com.jonathan.survivor.inventory
-
- Teleporter() - Constructor for class com.jonathan.survivor.inventory.Teleporter
-
Creates a Teleporter item that can be displayed in an inventory slot.
- teleporter - Variable in class com.jonathan.survivor.managers.CraftingManager
-
Holds all of the possible crafting combinations.
- TerrainRenderer - Class in com.jonathan.survivor.renderers
-
- TerrainRenderer(OrthographicCamera) - Constructor for class com.jonathan.survivor.renderers.TerrainRenderer
-
Accepts the camera where the terrain lines will be drawn.
- TILE_HEIGHT - Static variable in class com.jonathan.survivor.entity.Background
-
Stores the size of each tile in world units.
- TILE_WIDTH - Static variable in class com.jonathan.survivor.entity.Background
-
Stores the size of each tile in world units.
- TO_DEGREES - Static variable in class com.jonathan.survivor.math.Vector2
-
- TO_RADIANS - Static variable in class com.jonathan.survivor.math.Vector2
-
- toggleInput(boolean) - Method in interface com.jonathan.survivor.hud.HudListener
-
Called when the user presses/releases a button on a HUD.
- toggleInput(boolean) - Method in class com.jonathan.survivor.screens.GameScreen.UiListener
-
Called when the user presses/releases a button on a HUD.
- toString() - Method in class com.jonathan.survivor.managers.CraftingManager.Item
-
- toString() - Method in class com.jonathan.survivor.math.Rectangle
-
- toString() - Method in class com.jonathan.survivor.math.Vector2
-
- toString() - Method in class com.jonathan.survivor.Profile
-
Returns a string representation for the profile, used for each item of the world selection list from the world select screen.
- touchDown(int, int, int, int) - Method in class com.jonathan.survivor.managers.InputManager
-
- touchDragged(int, int, int) - Method in class com.jonathan.survivor.managers.InputManager
-
- touchUp(int, int, int, int) - Method in class com.jonathan.survivor.managers.InputManager
-
Called when the user releases a press anywhere on the screen.
- Tree - Class in com.jonathan.survivor.entity
-
- Tree() - Constructor for class com.jonathan.survivor.entity.Tree
-
Creates a tree whose bottom-center is at position (0, 0).
- Tree(float, float) - Constructor for class com.jonathan.survivor.entity.Tree
-
Creates a tree whose bottom-center is at position (x, y).