- canTarget() - Method in class com.jonathan.survivor.entity.Earthquake
-
- canTarget() - Method in class com.jonathan.survivor.entity.GameObject
-
Returns true if the GameObject can be targetted by a Human.
- canTarget() - Method in class com.jonathan.survivor.entity.InteractiveObject
-
Returns true if the Interactive GameObject can be targetted by the player.
- canTarget() - Method in class com.jonathan.survivor.entity.ItemObject
-
An ItemObject can never be targetted.
- canTarget() - Method in class com.jonathan.survivor.entity.Player
-
Override the canTarget method as always returning false since the Player can never be targetted.
- canTarget() - Method in class com.jonathan.survivor.entity.Zombie
-
Override the canTarget method as always returning false since the Zombie can never be targetted.
- Cell - Class in com.jonathan.survivor.math
-
Basic implementation of a Cell containing a row and a column
- Cell() - Constructor for class com.jonathan.survivor.math.Cell
-
Creates a cell at (0,0)
- Cell(int, int) - Constructor for class com.jonathan.survivor.math.Cell
-
Creates a cell with the specified row and column
- Charcoal - Class in com.jonathan.survivor.inventory
-
- Charcoal() - Constructor for class com.jonathan.survivor.inventory.Charcoal
-
Creates a Charcoal item that can be displayed in an inventory slot.
- charge() - Method in class com.jonathan.survivor.entity.Player
-
Makes the player start to charge his gun.
- CHARGE_COLLIDER_HEIGHT - Static variable in class com.jonathan.survivor.entity.Zombie
-
- CHARGE_COLLIDER_WIDTH - Static variable in class com.jonathan.survivor.entity.Zombie
-
Stores the width and height of the zombie's charge collider in world units.
- CHARGE_TIME - Static variable in class com.jonathan.survivor.inventory.Rifle
-
- CHARGE_WALK_SPEED - Static variable in class com.jonathan.survivor.entity.Zombie
-
Stores the horizontal speed of the zombie when he is charging.
- chargeHit(Player) - Method in class com.jonathan.survivor.entity.Zombie
-
Make the zombie charge hit the player.
- chopTree() - Method in class com.jonathan.survivor.entity.Player
-
Makes the player start chopping a tree
- clear() - Method in class com.jonathan.survivor.inventory.Inventory
-
Clears all of the items stored in the inventory.
- clear() - Method in class com.jonathan.survivor.inventory.Loadout
-
Clears all of the weapons held by the player.
- Clickable - Interface in com.jonathan.survivor.entity
-
- Collider - Class in com.jonathan.survivor.math
-
- Collider() - Constructor for class com.jonathan.survivor.math.Collider
-
Creates a collider placed at (0,0).
- Collider(float, float) - Constructor for class com.jonathan.survivor.math.Collider
-
Creates a collider placed at the desired (x,y) coordinates
- COLLIDER_HEIGHT - Static variable in class com.jonathan.survivor.entity.Box
-
Stores the width and height of a box's rectangle collider in world units.
- COLLIDER_HEIGHT - Static variable in class com.jonathan.survivor.entity.Earthquake
-
- COLLIDER_HEIGHT - Static variable in class com.jonathan.survivor.entity.Player
-
- COLLIDER_HEIGHT - Static variable in class com.jonathan.survivor.entity.Tree
-
Stores the width and height of a tree's rectangle collider in world units.
- COLLIDER_HEIGHT - Static variable in class com.jonathan.survivor.entity.Zombie
-
- COLLIDER_WIDTH - Static variable in class com.jonathan.survivor.entity.Box
-
Stores the width and height of a box's rectangle collider in world units.
- COLLIDER_WIDTH - Static variable in class com.jonathan.survivor.entity.Earthquake
-
Stores the width and height of the Earthquake's rectangle collider in world units.
- COLLIDER_WIDTH - Static variable in class com.jonathan.survivor.entity.Player
-
Stores the width and height of the player's rectangle collider in world units.
- COLLIDER_WIDTH - Static variable in class com.jonathan.survivor.entity.Tree
-
Stores the width and height of a tree's rectangle collider in world units.
- COLLIDER_WIDTH - Static variable in class com.jonathan.survivor.entity.Zombie
-
Stores the width and height of the zombie's rectangle collider in world units.
- com.jonathan.survivor.animations - package com.jonathan.survivor.animations
-
- com.jonathan.survivor.entity - package com.jonathan.survivor.entity
-
- com.jonathan.survivor.hud - package com.jonathan.survivor.hud
-
- com.jonathan.survivor.inventory - package com.jonathan.survivor.inventory
-
- com.jonathan.survivor.managers - package com.jonathan.survivor.managers
-
- com.jonathan.survivor.math - package com.jonathan.survivor.math
-
- com.jonathan.survivor.renderers - package com.jonathan.survivor.renderers
-
- com.jonathan.survivor.screens - package com.jonathan.survivor.screens
-
- com.jonathan.survivor.utils - package com.jonathan.survivor.utils
-
- COMBAT_JUMP_SPEED - Static variable in class com.jonathan.survivor.entity.Player
-
Stores the jump speed of the player in the vertical direction when in COMBAT mode.
- COMBAT_WALK_SPEED - Static variable in class com.jonathan.survivor.entity.Zombie
-
Stores the walk speed of the zombie in the horizontal direction when in COMBAT mode.
- CombatHud - Class in com.jonathan.survivor.hud
-
- CombatHud(Stage, World) - Constructor for class com.jonathan.survivor.hud.CombatHud
-
Accepts the stage where 2d widgets will be drawn and placed, and the world, which will receive information about
button presses.
- CombatRenderer - Class in com.jonathan.survivor.renderers
-
- CombatRenderer(OrthographicCamera) - Constructor for class com.jonathan.survivor.renderers.CombatRenderer
-
Accepts the camera where the terrain lines will be drawn.
- CompanySplashScreen - Class in com.jonathan.survivor.screens
-
- CompanySplashScreen(Survivor) - Constructor for class com.jonathan.survivor.screens.CompanySplashScreen
-
- ConfirmDialog - Class in com.jonathan.survivor.hud
-
- ConfirmDialog(String, ClickListener) - Constructor for class com.jonathan.survivor.hud.ConfirmDialog
-
Creates the confirm dialog with the given confirmation message as a title.
- contains(Actor) - Method in class com.jonathan.survivor.hud.InventoryList
-
- containsItem(Class) - Method in class com.jonathan.survivor.hud.CraftingTable
-
Returns true if the given item is contained inside the crafting table.
- CRAFT_BUTTON_X_OFFSET - Static variable in class com.jonathan.survivor.hud.CraftingHud
-
Stores the offset used to anchor the craftButton to the bottom-right of the backpack background.
- CRAFT_BUTTON_Y_OFFSET - Static variable in class com.jonathan.survivor.hud.CraftingHud
-
- Craftable - Class in com.jonathan.survivor.inventory
-
- Craftable(String, String) - Constructor for class com.jonathan.survivor.inventory.Craftable
-
- CRAFTING_TABLE_X_OFFSET - Static variable in class com.jonathan.survivor.hud.CraftingHud
-
Holds the offset used to anchor the crafting table to the left of the backpack background.
- CRAFTING_TABLE_Y_OFFSET - Static variable in class com.jonathan.survivor.hud.CraftingHud
-
- CraftingHud - Class in com.jonathan.survivor.hud
-
- CraftingHud(Stage, World, Inventory, ItemManager) - Constructor for class com.jonathan.survivor.hud.CraftingHud
-
Accepts the Stage instance where widgets are drawn, and the world, used to manipulate the world according to button presses.
- CraftingManager - Class in com.jonathan.survivor.managers
-
- CraftingManager.Item - Class in com.jonathan.survivor.managers
-
Pairs an item with a specific quantity for use inside a Combination.
- CraftingManager.Item(Class, int) - Constructor for class com.jonathan.survivor.managers.CraftingManager.Item
-
Creates a pair between an item and a specific quantity.
- CraftingTable - Class in com.jonathan.survivor.hud
-
- CraftingTable(ItemManager, Inventory, ClickListener) - Constructor for class com.jonathan.survivor.hud.CraftingTable
-
Accepts the itemManager from which to retrieve the items' sprites, the inventory from which to retrieve the player's items,
the ClickListener to which button clicks will be delegated, and the height of the list.
- CrosshairRenderer - Class in com.jonathan.survivor.renderers
-
- CrosshairRenderer(World, OrthographicCamera) - Constructor for class com.jonathan.survivor.renderers.CrosshairRenderer
-
Accepts the world, from which information is gathered about the crosshairs to draw, and the camera where the crosshair lines will be drawn.