- InputManager - Class in com.jonathan.survivor.managers
-
- InputManager(World, OrthographicCamera) - Constructor for class com.jonathan.survivor.managers.InputManager
-
Creates an InputManager with the given world.
- insideCamera(OrthographicCamera) - Method in class com.jonathan.survivor.math.Collider
-
Returns true if this collider is inside the camera.
- insideCamera(OrthographicCamera) - Method in class com.jonathan.survivor.math.Rectangle
-
Returns true if this rectangle collider is inside the bounds of the camera.
- instance - Static variable in class com.jonathan.survivor.managers.CraftingManager
-
Holds the singleton instance to the CraftingManager.
- InteractiveObject - Class in com.jonathan.survivor.entity
-
- InteractiveObject(float, float, float, float) - Constructor for class com.jonathan.survivor.entity.InteractiveObject
-
Creates the Interactive GameObject with the given bottom-center position and the given collider width and height.
- InteractiveObject.InteractiveState - Enum in com.jonathan.survivor.entity
-
- InteractiveObjectRenderer - Class in com.jonathan.survivor.renderers
-
- InteractiveObjectRenderer(SpriteBatch) - Constructor for class com.jonathan.survivor.renderers.InteractiveObjectRenderer
-
Accepts the SpriteBatch instance used to draw the Interactive GameObjects.
- intersects(Collider) - Method in class com.jonathan.survivor.math.Collider
-
Returns true if this collider intersects with another collider
- intersects(Vector2) - Method in class com.jonathan.survivor.math.Collider
-
Returns true if this point is within the collider.
- intersects(Collider) - Method in class com.jonathan.survivor.math.Line
-
Returns true if the line intersects with a given collider.
- intersects(Collider) - Method in class com.jonathan.survivor.math.Rectangle
-
Returns true if this rectangle intersects with another collider
- intersects(Vector2) - Method in class com.jonathan.survivor.math.Rectangle
-
Returns true if this point is within the rectangle.
- Inventory - Class in com.jonathan.survivor.inventory
-
- Inventory() - Constructor for class com.jonathan.survivor.inventory.Inventory
-
Creates an empty inventory.
- INVENTORY_LIST_HEIGHT - Static variable in class com.jonathan.survivor.hud.CraftingHud
-
Holds the height of the inventory list holding all of the item buttons.
- INVENTORY_LIST_X_OFFSET - Static variable in class com.jonathan.survivor.hud.CraftingHud
-
Holds the offset used to anchor the inventory list to the left of the backpack background.
- INVENTORY_LIST_Y_OFFSET - Static variable in class com.jonathan.survivor.hud.CraftingHud
-
- INVENTORY_SPRITE - Static variable in class com.jonathan.survivor.inventory.Axe
-
- InventoryList - Class in com.jonathan.survivor.hud
-
- InventoryList(ItemManager, Inventory, ClickListener, float) - Constructor for class com.jonathan.survivor.hud.InventoryList
-
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.
- INVULNERABLE_TIME - Static variable in class com.jonathan.survivor.entity.Player
-
Holds the amount of time that the player is invulnerable when hit.
- INVULNERABLE_TIME - Static variable in class com.jonathan.survivor.entity.Zombie
-
Holds the amount of time that the zombie is invulnerable when hit.
- Iron - Class in com.jonathan.survivor.inventory
-
- Iron() - Constructor for class com.jonathan.survivor.inventory.Iron
-
Creates a Iron item that can be displayed in an inventory slot.
- isAbove(GameObject) - Method in class com.jonathan.survivor.entity.GameObject
-
Returns true if this GameObject is above the given GameObject.
- isAlerted() - Method in class com.jonathan.survivor.entity.Zombie
-
Returns true if the Zombie is aware that the Player is there.
- isCraftedItemButton(Actor) - Method in class com.jonathan.survivor.hud.CraftingTable
-
Returns true if the given Actor is the craftedItemButton.
- isDead() - Method in class com.jonathan.survivor.entity.Human
-
Returns true if the Human's health has dropped to zero or below.
- isFacing(Human) - Method in class com.jonathan.survivor.entity.Human
-
Returns true if the given human is facing the other human, and this human can thus see the other one.
- isFull() - Method in class com.jonathan.survivor.hud.CraftingTable
-
Returns true if the crafting table cannot take any more items.
- isInCamera(float, float, float, float) - Method in class com.jonathan.survivor.renderers.TerrainRenderer
-
Returns true if the given line is inside the viewable region of the camera.
- isInvulnerable() - Method in class com.jonathan.survivor.entity.Human
-
Returns true if the Human is invulnerable to incoming attacks.
- isItemButton(Actor) - Method in class com.jonathan.survivor.hud.CraftingTable
-
Returns true if the given actor is an item button inside the crafting table.
- isTargetReached() - Method in class com.jonathan.survivor.entity.Human
-
Returns true if the human has reached his target.
- isTargetted() - Method in class com.jonathan.survivor.entity.Zombie
-
Returns true if the zombie is being targetted by the player.
- Item - Class in com.jonathan.survivor.inventory
-
- Item(String, String) - Constructor for class com.jonathan.survivor.inventory.Item
-
Creates an item with the given name and description.
- ItemManager - Class in com.jonathan.survivor.managers
-
- ItemManager() - Constructor for class com.jonathan.survivor.managers.ItemManager
-
Creates an itemManager which provides access to Item instances.
- ItemObject - Class in com.jonathan.survivor.entity
-
- ItemObject() - Constructor for class com.jonathan.survivor.entity.ItemObject
-
Creates an ItemObject at bottom-center position (0,0).
- ItemObject(int, int) - Constructor for class com.jonathan.survivor.entity.ItemObject
-
Creates an Item GameObject at the given bottom-center (x,y) position.
- ItemObject.ItemState - Enum in com.jonathan.survivor.entity
-
Stores the different possible state of an item object that is dropped into the world.
- ItemObjectPool - Class in com.jonathan.survivor.managers
-
- ItemObjectPool() - Constructor for class com.jonathan.survivor.managers.ItemObjectPool
-
- ItemObjectRenderer - Class in com.jonathan.survivor.renderers
-
- ItemObjectRenderer(SpriteBatch) - Constructor for class com.jonathan.survivor.renderers.ItemObjectRenderer
-
Accepts the SpriteBatch instance used to render the ItemObjects passed to render().