Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- actionCounter - Variable in class dev.kyzel.game.entity.animal.Animal
-
The counter to see when the animal should do a different action (e.g.
- alignment - Variable in class dev.kyzel.game.menu.Menu
-
The alignment of the menu.
- Animal - Class in dev.kyzel.game.entity.animal
-
The animal super class.
- Animal(Renderer, Game, int, int, int) - Constructor for class dev.kyzel.game.entity.animal.Animal
-
Creates a new Animal.
- animalImage - Variable in class dev.kyzel.game.entity.animal.Animal
-
The current animal's sprite.
- AnimatedTile - Class in dev.kyzel.game.world.tile
-
The Animated Tile class.
- AnimatedTile(Renderer, int, int, String, int, boolean, Color) - Constructor for class dev.kyzel.game.world.tile.AnimatedTile
-
Creates a new animated tile.
- App - Class in dev.kyzel
-
The main class.
- App() - Constructor for class dev.kyzel.App
- AssetManager - Class in dev.kyzel.utils
-
A class to store all the assets of the game.
- AssetManager() - Constructor for class dev.kyzel.utils.AssetManager
- attack(int) - Method in class dev.kyzel.game.entity.Player
-
Attempts to attack something.
- ATTACK - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for the player to attack.
- ATTACKING - Enum constant in enum class dev.kyzel.game.entity.EntityState
-
Entity is attacking something.
- attackValue - Variable in class dev.kyzel.game.entity.Entity
-
The attack damage value of the entity.
B
- basedSpeed - Variable in class dev.kyzel.game.entity.Entity
-
The based speed of the entity.
- bytes - Variable in class dev.kyzel.sfx.Sound
-
The bytes of the input file.
C
- calculateXY() - Method in class dev.kyzel.game.menu.TextMenu
-
Calculate the x and y coordinates based on the given information.
- camX - Variable in class dev.kyzel.game.Game
-
The x coordinate of the player on the screen.
- camY - Variable in class dev.kyzel.game.Game
-
The y coordinate of the player on the screen.
- checkSwimming() - Method in class dev.kyzel.game.entity.Player
-
Checks if the player is swimming.
- collideWithEntity(ArrayList<Entity>, Direction) - Method in class dev.kyzel.game.entity.Entity
-
Checks if the entity collides with any other entity in the given list.
- collideWithPlayer() - Method in class dev.kyzel.game.entity.Entity
-
Checks if the entity collides with the player.
- collideWithTile(Tile[][]) - Method in class dev.kyzel.game.entity.Entity
-
Checks if the entity collides with any solid tile.
- Control - Class in dev.kyzel.utils
-
A class to handle user's input.
- Control(int...) - Constructor for class dev.kyzel.utils.Control
-
Creates a new keybinding for some action.
- ControlHandler - Class in dev.kyzel.game
-
All possible inputs/keybindings for the game.
- ControlHandler() - Constructor for class dev.kyzel.game.ControlHandler
- createMinimap() - Method in class dev.kyzel.game.world.tile.Minimap
-
Creates the minimap.
- currentHealthValue - Variable in class dev.kyzel.game.entity.Entity
-
The current health value of the entity.
- currentLevel - Variable in class dev.kyzel.game.entity.Player
-
The current level of the player.
- cursed() - Method in class dev.kyzel.game.entity.Entity
-
Curses the entity.
D
- dev.kyzel - package dev.kyzel
-
The main package.
- dev.kyzel.game - package dev.kyzel.game
-
Package to handle the game.
- dev.kyzel.game.entity - package dev.kyzel.game.entity
-
Package to handle the entities.
- dev.kyzel.game.entity.animal - package dev.kyzel.game.entity.animal
-
Package to handle the animals.
- dev.kyzel.game.menu - package dev.kyzel.game.menu
-
Package to handle the menus.
- dev.kyzel.game.world.gen - package dev.kyzel.game.world.gen
-
Package to handle the world generation.
- dev.kyzel.game.world.tile - package dev.kyzel.game.world.tile
-
Package to handle the tiles in the world.
- dev.kyzel.gfx - package dev.kyzel.gfx
-
Package to handle the graphics.
- dev.kyzel.sfx - package dev.kyzel.sfx
-
Package to handle the sounds.
- dev.kyzel.utils - package dev.kyzel.utils
-
Package to handle the utilities.
- direction - Variable in class dev.kyzel.game.entity.Entity
-
The
Direction
the entity moves in. - Direction - Enum Class in dev.kyzel.game.entity
-
All possible directions that Entity can move in.
- Direction() - Constructor for enum class dev.kyzel.game.entity.Direction
- down - Variable in class dev.kyzel.utils.Keyboard.Key
-
A variable to see if the key is pressed down.
- down() - Method in class dev.kyzel.utils.Control
-
Checks if any of the
Control.keys
is pressed down. - DOWN - Enum constant in enum class dev.kyzel.game.entity.Direction
-
Going down.
- DOWN - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for moving the player down.
- downImage - Static variable in class dev.kyzel.utils.AssetManager
-
The list of player's sprites when moving down.
- downSwimmingImage - Static variable in class dev.kyzel.utils.AssetManager
-
The player's sprite when swimming to down.
- draw(Graphics) - Method in class dev.kyzel.game.entity.animal.Animal
- draw(Graphics) - Method in class dev.kyzel.game.entity.Entity
-
Draws the entity.
- draw(Graphics) - Method in class dev.kyzel.game.entity.Player
- draw(Graphics) - Method in class dev.kyzel.game.Game
-
Draws the game.
- draw(Graphics) - Method in class dev.kyzel.game.menu.Menu
-
Draws the container of the menu.
- draw(Graphics) - Method in class dev.kyzel.game.menu.TextMenu
-
Draws the container of the menu.
- draw(Graphics) - Method in class dev.kyzel.game.world.tile.AnimatedTile
-
Updates the tile.
- draw(Graphics) - Method in class dev.kyzel.game.world.tile.Minimap
-
Draws the minimap.
- draw(Graphics) - Method in class dev.kyzel.game.world.tile.Tile
-
Draws the tile.
- drawAllTexture(Graphics) - Method in class dev.kyzel.game.world.tile.TileManager
-
Draws all the visible tiles.
- drawHealthBar(Graphics) - Method in class dev.kyzel.game.entity.animal.Animal
- drawHealthBar(Graphics) - Method in class dev.kyzel.game.entity.Entity
-
Draws the health bar of the entity.
- drawHealthBar(Graphics) - Method in class dev.kyzel.game.entity.Player
- drawHitCooldownBar(Graphics) - Method in class dev.kyzel.game.entity.Player
-
Draws the player's hit cooldown.
- drawScoreBar(Graphics) - Method in class dev.kyzel.game.entity.Player
-
Draws the player's score/exp.
- drawStatusBar(Graphics, Color, int, int, int) - Method in class dev.kyzel.game.entity.Player
-
Draws a scalable value bar for the player.
- drawToScreen() - Method in class dev.kyzel.gfx.Renderer
-
Draws the
Renderer.gameImage
to the window.
E
- emptyHeartImage - Static variable in class dev.kyzel.utils.AssetManager
-
An empty heart image that is used for the HUD.
- Entity - Class in dev.kyzel.game.entity
-
A class to handle Entity in the game.
- Entity(Renderer, Game, int, int, int) - Constructor for class dev.kyzel.game.entity.Entity
-
Creates a new Entity.
- entityList - Variable in class dev.kyzel.game.Game
-
The
Entity
list of the game. - EntityLoader - Class in dev.kyzel.utils
-
A class to load entities.
- EntityLoader() - Constructor for class dev.kyzel.utils.EntityLoader
- EntityState - Enum Class in dev.kyzel.game.entity
-
All the possible states of an entity.
- EntityState() - Constructor for enum class dev.kyzel.game.entity.EntityState
F
- fontList - Variable in class dev.kyzel.game.menu.TextMenu
-
The fonts list.
- format - Variable in class dev.kyzel.sfx.Sound
-
Format of the input audio file.
- FPS - Variable in class dev.kyzel.gfx.Renderer
-
The frame rate (FPS).
- fullHeartImage - Static variable in class dev.kyzel.utils.AssetManager
-
An full heart image that is used for the HUD.
G
- game - Variable in class dev.kyzel.game.entity.Entity
-
The
Game
where the entity interacts. - game - Variable in class dev.kyzel.game.world.tile.Minimap
-
The
Game
where the minimap will take information from. - game - Variable in class dev.kyzel.game.world.tile.TileManager
-
The
Game
where the all the tiles' information will write to. - game - Variable in class dev.kyzel.gfx.Renderer
-
The game to render.
- Game - Class in dev.kyzel.game
-
The main game.
- Game(Renderer) - Constructor for class dev.kyzel.game.Game
-
Creates a new game.
- gameImage - Variable in class dev.kyzel.gfx.Renderer
-
The main
BufferedImage
, which the Renderer uses to draw on. - gameState - Variable in class dev.kyzel.game.Game
-
The current
GameState
. - GameState - Enum Class in dev.kyzel.game
-
All possible game states.
- GameState() - Constructor for enum class dev.kyzel.game.GameState
- gameThread - Variable in class dev.kyzel.game.Game
-
The main
Thread
for the game. - gd - Variable in class dev.kyzel.gfx.Window
-
The GraphicsDevice where the code runs on.
- getAnimalDirection(double) - Method in class dev.kyzel.game.entity.animal.Animal
-
Gets a
Direction
to move in depends on the given number from 0 to 1. - getAttackValue() - Method in class dev.kyzel.game.entity.Entity
- getAttackValue() - Method in interface dev.kyzel.game.entity.IAttackable
-
Gets the attack value of the entity.
- getCamX() - Method in class dev.kyzel.game.Game
-
Gets the x coordinate of the player on the screen.
- getCamY() - Method in class dev.kyzel.game.Game
-
Gets the y coordinate of the player on the screen.
- getCurrentLevel() - Method in class dev.kyzel.game.entity.Player
-
Gets the current level of the player.
- getDirection() - Method in class dev.kyzel.game.entity.Entity
-
Gets the current
Direction
of the entity. - getEntityList() - Method in class dev.kyzel.game.Game
-
Gets the
Entity
list of the game. - getFPS() - Method in class dev.kyzel.gfx.Renderer
-
Gets the frame rate (FPS).
- getGame() - Method in class dev.kyzel.game.entity.Entity
-
Gets the
Game
where the entity interacts. - getGameImageGraphics() - Method in class dev.kyzel.gfx.Renderer
-
Creates a graphics context of
Renderer.gameImage
. - getHealthValue() - Method in class dev.kyzel.game.entity.Entity
- getHealthValue() - Method in interface dev.kyzel.game.entity.IAttackable
-
Gets the current health value of the entity.
- getHeight() - Method in class dev.kyzel.gfx.Renderer
-
Gets the height of this instance.
- getInvincibleCounter() - Method in class dev.kyzel.game.entity.Entity
-
Gets the current invincible counter of the entity.
- getKnockbackCounter() - Method in class dev.kyzel.game.entity.Entity
-
Gets the current knockback counter of the entity.
- getListener() - Static method in class dev.kyzel.utils.Keyboard
-
Gets the KeyListener of this Keyboard class.
- getMapSize() - Method in class dev.kyzel.game.world.tile.Minimap
-
Gets the minimap's size.
- getMaxCol() - Method in class dev.kyzel.game.world.tile.TileManager
-
Gets the max number of columns of the tiles list.
- getMaxHealthValue() - Method in class dev.kyzel.game.entity.Entity
- getMaxHealthValue() - Method in interface dev.kyzel.game.entity.IAttackable
-
Gets the max health value of the entity.
- getMaxRow() - Method in class dev.kyzel.game.world.tile.TileManager
-
Gets the max number of rows of the tiles list.
- getOppositeDirection(Direction) - Static method in enum class dev.kyzel.game.entity.Direction
-
Gets the opposite direction of the given direction.
- getPlayer() - Method in class dev.kyzel.game.Game
-
Gets the
Player
of the game. - getPlayerImage() - Method in class dev.kyzel.game.entity.Player
-
Gets the current player's sprite.
- getPlayerSceneX() - Method in class dev.kyzel.game.Game
-
Gets the modified x offset of the camera.
- getPlayerSceneY() - Method in class dev.kyzel.game.Game
-
Gets the modified y offset of the camera.
- getPoint() - Method in class dev.kyzel.game.entity.animal.Animal
-
Gets the points of the animal.
- getPoint() - Method in class dev.kyzel.game.entity.animal.Ghost
- getPoint() - Method in class dev.kyzel.game.entity.animal.Slime
- getPoint() - Method in class dev.kyzel.game.entity.animal.Zombie
- getPreviousDirection() - Method in class dev.kyzel.game.entity.Entity
-
Gets the previous direction of the entity.
- getRender() - Method in class dev.kyzel.game.entity.Entity
-
Gets the
Renderer
where the entity will be drawn on. - getSceneX() - Method in class dev.kyzel.game.Game
-
Gets the x offset of the camera.
- getSceneY() - Method in class dev.kyzel.game.Game
-
Gets the y offset of the camera.
- getScore() - Method in class dev.kyzel.game.entity.Player
-
Gets the current score of the player.
- getSolidArea() - Method in class dev.kyzel.game.entity.Entity
-
Gets the hitbox of the entity.
- getSolidAreaDefaultX() - Method in class dev.kyzel.game.entity.Entity
-
Gets the default x coordinate of the hitbox.
- getSolidAreaDefaultY() - Method in class dev.kyzel.game.entity.Entity
-
Gets the default y coordinate of the hitbox.
- getSpeed() - Method in class dev.kyzel.game.entity.Entity
-
Gets the speed of the entity.
- getSwimmingSpeed() - Method in class dev.kyzel.game.entity.Entity
-
Gets the speed of the entity when swimming.
- getTextSize(Graphics, String) - Method in class dev.kyzel.game.menu.TextMenu
-
Gets the text size in the given
Graphics
context. - getTile(int, int) - Method in class dev.kyzel.game.world.tile.TileManager
-
Attempts to get a tile in the tiles list.
- getTileColor() - Method in class dev.kyzel.game.world.tile.AnimatedTile
-
Gets the tile's color.
- getTileImage() - Method in class dev.kyzel.game.world.tile.Tile
-
Get the texture of the tile.
- getTileManager() - Method in class dev.kyzel.game.Game
-
Gets the
TileManager
of the game. - getTileName() - Method in class dev.kyzel.game.world.tile.Tile
-
Gets the tile's name.
- getUnitScale() - Method in class dev.kyzel.gfx.Renderer
-
Gets the scale of unit size
- getUnitSize() - Method in class dev.kyzel.gfx.Renderer
-
Gets the actual unit size
- getWidth() - Method in class dev.kyzel.gfx.Renderer
-
Gets the width of this instance.
- getWorldTiles() - Method in class dev.kyzel.game.world.tile.TileManager
-
Gets a list of all tiles.
- getX() - Method in class dev.kyzel.game.entity.Entity
-
Gets the x coordinate of the entity.
- getX() - Method in class dev.kyzel.game.world.tile.Tile
-
Gets the x coordinate of the tile.
- getXAlignment() - Method in class dev.kyzel.game.menu.Menu
-
Gets the x-axis alignment.
- getY() - Method in class dev.kyzel.game.entity.Entity
-
Gets the y coordinate of the entity.
- getY() - Method in class dev.kyzel.game.world.tile.Tile
-
Gets the y coordinate of the tile.
- getYAlignment() - Method in class dev.kyzel.game.menu.Menu
-
Gets the y-axis alignment.
- Ghost - Class in dev.kyzel.game.entity.animal
-
The ghost class.
- Ghost(Renderer, Game, int, int, int) - Constructor for class dev.kyzel.game.entity.animal.Ghost
-
Creates a new Ghost.
- ghostImage - Static variable in class dev.kyzel.utils.AssetManager
-
The list of ghost's sprites.
H
- halfHeartImage - Static variable in class dev.kyzel.utils.AssetManager
-
An half-empty heart image that is used for the HUD.
- hasHUD - Variable in class dev.kyzel.game.Game
-
A variable to see if the game has HUD.
- hasMinimap - Variable in class dev.kyzel.game.Game
-
A variable to see if the game has minimap.
- healing() - Method in class dev.kyzel.game.entity.Entity
-
Heals the entity if the requirements are met.
- healingCounter - Variable in class dev.kyzel.game.entity.Entity
-
The default healing counter.
- height - Variable in class dev.kyzel.game.menu.Menu
-
The height of the menu.
- height - Variable in class dev.kyzel.gfx.Renderer
-
The width and height of this instance.
- hitTick - Variable in class dev.kyzel.game.entity.Entity
-
The default hit cooldown.
- hostileProb - Variable in class dev.kyzel.game.entity.animal.Animal
-
The hostile probability of the animal.
- HURT - Static variable in class dev.kyzel.sfx.Sound
-
The sound when an Entity is hurt.
I
- IAttackable - Interface in dev.kyzel.game.entity
-
The interface for entity that is able to attack.
- imageIndex - Variable in class dev.kyzel.game.entity.animal.Animal
-
The current index to use as the animal's sprite.
- imageIndex - Variable in class dev.kyzel.game.entity.Player
-
The current index to use as the player's sprite.
- importTextAndFont() - Method in class dev.kyzel.game.menu.TextMenu
-
Import all the texts and fonts.
- increaseImageIndex(int, int) - Method in class dev.kyzel.game.entity.Entity
-
Increases the image index so that it will always be in range.
- increaseTileIndex(int, int) - Method in class dev.kyzel.game.world.tile.AnimatedTile
-
Increases the tile index so that it will always be in range.
- inflictDamage(Entity) - Method in class dev.kyzel.game.entity.Entity
- inflictDamage(Entity) - Method in interface dev.kyzel.game.entity.IAttackable
-
Inflicts damage on the given target.
- init() - Static method in class dev.kyzel.gfx.Window
-
Creates a new Window with a dimension of 800x600 and 60 FPS, if there is none available.
- init(int, int, int) - Static method in class dev.kyzel.gfx.Window
-
Creates a new Window if there is none available.
- initTexture() - Method in class dev.kyzel.game.entity.animal.Ghost
- initTexture() - Method in class dev.kyzel.game.entity.animal.Slime
- initTexture() - Method in class dev.kyzel.game.entity.animal.Zombie
- initTexture() - Method in class dev.kyzel.game.entity.Entity
-
Initializes the base texture.
- initTexture() - Method in class dev.kyzel.game.entity.Player
- invincibleCounter - Variable in class dev.kyzel.game.entity.Entity
-
The default invincible counter.
- isAlive() - Method in class dev.kyzel.game.entity.Entity
-
Checks if the entity is alive.
- isCursed - Variable in class dev.kyzel.game.entity.Entity
-
A variable to see if the entity is cursed.
- isCursed() - Method in class dev.kyzel.game.entity.Entity
-
Checks if the entity is cursed.
- isDead() - Method in class dev.kyzel.game.entity.Entity
-
Checks if the entity is dead.
- isInRange(Tile[][], int, int) - Method in class dev.kyzel.game.entity.Entity
-
Checks if the entity is inside the map.
- isLeftLeg - Variable in class dev.kyzel.game.entity.animal.Zombie
-
A variable to help with animation.
- isLeftLeg - Variable in class dev.kyzel.game.entity.Player
-
A variable to help with the animation.
- isPausing - Variable in class dev.kyzel.game.Game
-
A variable to see if the game is paused.
- isSolid - Variable in class dev.kyzel.game.world.tile.Tile
-
A variable to see if the tile is solid.
- isSolid() - Method in class dev.kyzel.game.world.tile.Tile
-
Checks if the tile is solid.
- isSwimming - Variable in class dev.kyzel.game.entity.Player
-
A variable to see if the player is swimming.
K
- Key() - Constructor for class dev.kyzel.utils.Keyboard.Key
-
Creates a new Key.
- KEY_A - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the A key.
- KEY_B - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the B key.
- KEY_C - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the C key.
- KEY_D - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the D key.
- KEY_E - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the E key.
- KEY_ESCAPE - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the Escape key.
- KEY_F - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the F key.
- KEY_G - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the G key.
- KEY_H - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the H key.
- KEY_I - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the I key.
- KEY_J - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the J key.
- KEY_K - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the K key.
- KEY_L - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the L key.
- KEY_M - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the M key.
- KEY_N - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the N key.
- KEY_O - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the O key.
- KEY_P - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the P key.
- KEY_Q - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the Q key.
- KEY_R - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the R key.
- KEY_S - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the S key.
- KEY_SPACE - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the Space key.
- KEY_T - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the T key.
- KEY_U - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the U key.
- KEY_V - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the V key.
- KEY_W - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the W key.
- KEY_X - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the X key.
- KEY_Y - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the Y key.
- KEY_Z - Static variable in class dev.kyzel.utils.Keyboard
-
Constant to represent the Z key.
- Keyboard - Class in dev.kyzel.utils
-
A class to handle keyboard input.
- Keyboard() - Constructor for class dev.kyzel.utils.Keyboard
- Keyboard.Key - Class in dev.kyzel.utils
-
The class that holds properties of a key.
- keys - Variable in class dev.kyzel.utils.Control
-
The list of all input keys.
- keys - Static variable in class dev.kyzel.utils.Keyboard
-
A list of 128 keys.
- knockback() - Method in class dev.kyzel.game.entity.Entity
-
Inflicts knockback on the entity.
- knockbackCounter - Variable in class dev.kyzel.game.entity.Entity
-
The default knockback counter;
L
- last - Variable in class dev.kyzel.utils.Keyboard.Key
-
A variable to check the last state of the key.
- LEFT - Enum constant in enum class dev.kyzel.game.entity.Direction
-
Going left.
- LEFT - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for moving the player left.
- leftImage - Static variable in class dev.kyzel.utils.AssetManager
-
The list of player's sprites when moving to the left.
- leftSwimmingImage - Static variable in class dev.kyzel.utils.AssetManager
-
The player's sprite when swimming to the left.
- LEVEL_UP - Static variable in class dev.kyzel.sfx.Sound
-
The sound when player's level goes up.
- LevelGenerator - Class in dev.kyzel.game.world.gen
-
A class used to generate the level/world for the game.
- LevelGenerator() - Constructor for class dev.kyzel.game.world.gen.LevelGenerator
- loadAllRes(int) - Static method in class dev.kyzel.utils.AssetManager
-
Loads all resources for the game.
- loadAllTexture() - Method in class dev.kyzel.game.world.tile.TileManager
-
Loads all tiles into the game.
- loadEntity(ArrayList<Entity>, Renderer, Game, TileManager) - Static method in class dev.kyzel.utils.EntityLoader
-
Loads entities into the game.
- loadHeartImage(int) - Static method in class dev.kyzel.utils.AssetManager
-
Loads all of the heart's images.
- loadHostile(int, ArrayList<Entity>, Renderer, Game, TileManager) - Static method in class dev.kyzel.utils.EntityLoader
-
Loads hostile entities into the game.
- loadImage(String) - Static method in class dev.kyzel.utils.TextureLoader
-
Attempts to load an image from the given path.
- loadPlayerImage(int) - Static method in class dev.kyzel.utils.AssetManager
-
Loads all player's sprites.
- loadResource(String, int) - Static method in class dev.kyzel.utils.AssetManager
-
Loads and scales a resource file.
- loadResource(String, int, int) - Static method in class dev.kyzel.utils.AssetManager
-
Loads a certain number of resources into an array.
- loadTileImage(int) - Static method in class dev.kyzel.utils.AssetManager
-
Loads all tiles' textures.
- loadZombieImage(int) - Static method in class dev.kyzel.utils.AssetManager
-
Loads all zombie's sprites.
- LOSE - Static variable in class dev.kyzel.sfx.Sound
-
The sound when player loses.
M
- main(String[]) - Static method in class dev.kyzel.App
-
The main method.
- mapSize - Variable in class dev.kyzel.game.world.tile.Minimap
-
The minimap's size.
- maxActionCount - Variable in class dev.kyzel.game.entity.animal.Animal
-
The max counter for action change.
- maxCol - Variable in class dev.kyzel.game.world.tile.Minimap
-
The max number of columns of tiles list.
- maxCol - Variable in class dev.kyzel.game.world.tile.TileManager
-
The max number of columns of the tiles list.
- maxHealingCounter - Static variable in class dev.kyzel.game.entity.Entity
-
Constant for the max value of healing counter.
- maxHealthValue - Variable in class dev.kyzel.game.entity.Entity
-
The max health value of the entity.
- maxHitTick - Static variable in class dev.kyzel.game.entity.Entity
-
Constant for the max value of hit cooldown.
- maxInvincibleCounter - Static variable in class dev.kyzel.game.entity.Entity
-
Constant for the max value of invincible counter.
- maxKnockbackCounter - Static variable in class dev.kyzel.game.entity.Entity
-
Constant for the max value of knockback counter.
- maxRow - Variable in class dev.kyzel.game.world.tile.Minimap
-
The max number of rows of the tiles list.
- maxRow - Variable in class dev.kyzel.game.world.tile.TileManager
-
The max number of rows of the tiles list.
- maxScoreMultiplier - Variable in class dev.kyzel.game.entity.Player
-
The max score multiplier.
- maxSpriteCounter - Variable in class dev.kyzel.game.world.tile.AnimatedTile
-
The max value of sprite counter, which will invoke a texture change if the
AnimatedTile.spriteCounter
reaches this value. - maxTileIndex - Variable in class dev.kyzel.game.world.tile.AnimatedTile
-
The max index that can be used as a tile's texture.
- Menu - Class in dev.kyzel.game.menu
-
The menu super class.
- Menu(Renderer) - Constructor for class dev.kyzel.game.menu.Menu
-
Creates a new menu with no information, aligned to the center of the screen by default.
- Menu(Renderer, int) - Constructor for class dev.kyzel.game.menu.Menu
-
Creates a menu without x, y coordinates and width, height.
- Menu(Renderer, int, int, int, int) - Constructor for class dev.kyzel.game.menu.Menu
-
Creates a new menu, aligned to the center of the screen by default.
- Menu(Renderer, int, int, int, int, int) - Constructor for class dev.kyzel.game.menu.Menu
-
Creates a new menu.
- minimap - Variable in class dev.kyzel.game.Game
-
The
Minimap
of the game. - Minimap - Class in dev.kyzel.game.world.tile
-
A class to handle minimap.
- Minimap(Renderer, Game, int) - Constructor for class dev.kyzel.game.world.tile.Minimap
-
Creates a new minimap.
- MISS - Static variable in class dev.kyzel.sfx.Sound
-
The sound when player misses.
- move(TileManager) - Method in class dev.kyzel.game.entity.animal.Animal
-
Attempts to do an action with the animal (including moving, attacking something in the current
Direction
).
N
- noiseGenerator(double[][]) - Static method in class dev.kyzel.game.world.gen.LevelGenerator
-
Generates an improved noise map, which used the Improved Noise algorithm.
- NONE - Enum constant in enum class dev.kyzel.game.entity.Direction
-
No direction is used.
- numberWorldTile - Variable in class dev.kyzel.game.world.tile.TileManager
-
The list of number which is used to generate the map.
O
- originalUnitSize - Variable in class dev.kyzel.gfx.Renderer
-
The unit size of sprites.
- OVER - Enum constant in enum class dev.kyzel.game.GameState
-
The game-over state.
- OverMenu - Class in dev.kyzel.game.menu
-
The game-over menu class.
- OverMenu(Renderer, Game) - Constructor for class dev.kyzel.game.menu.OverMenu
-
Creates a game-over menu, which will display the score of the player.
P
- PAUSE - Enum constant in enum class dev.kyzel.game.GameState
-
The pausing state.
- PAUSE - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for pausing the game.
- PauseMenu - Class in dev.kyzel.game.menu
-
The pause menu class.
- PauseMenu(Renderer) - Constructor for class dev.kyzel.game.menu.PauseMenu
-
Creates a pause menu.
- play() - Method in class dev.kyzel.sfx.Sound
-
Plays the sound.
- play(boolean) - Method in class dev.kyzel.sfx.Sound
-
Plays the sound.
- player - Variable in class dev.kyzel.game.Game
-
The
Player
of the game. - Player - Class in dev.kyzel.game.entity
-
The player class.
- Player(Renderer, Game, int, int, int) - Constructor for class dev.kyzel.game.entity.Player
-
Creates a new Player.
- PLAYER_HURT - Static variable in class dev.kyzel.sfx.Sound
-
The sound when player is hurt.
- playerImage - Variable in class dev.kyzel.game.entity.Player
-
The current player's sprite.
- playerSceneX - Variable in class dev.kyzel.game.Game
-
A modified x offset of the camera to prevent showing the void.
- playerSceneY - Variable in class dev.kyzel.game.Game
-
A modified y offset of the camera to prevent showing the void.
- PLAYING - Enum constant in enum class dev.kyzel.game.GameState
-
The playing state.
- playingClip - Variable in class dev.kyzel.sfx.Sound
-
The clip that is currently playing.
- pressed - Variable in class dev.kyzel.utils.Keyboard.Key
-
A variable to see if the key is pressed.
- pressed() - Method in class dev.kyzel.utils.Control
-
Checks if any of the
Control.keys
is pressed and released. - previousDirection - Variable in class dev.kyzel.game.entity.Entity
-
The last
Direction
of the entity.
R
- randomGenerator(int[][]) - Static method in class dev.kyzel.game.world.gen.LevelGenerator
-
Generates a random noise map.
- render - Variable in class dev.kyzel.game.entity.Entity
-
The
Renderer
where the entity will be drawn on. - render - Variable in class dev.kyzel.game.Game
-
The
Renderer
where the game will be drawn on. - render - Variable in class dev.kyzel.game.menu.Menu
-
The
Renderer
where the menu will be drawn on. - render - Variable in class dev.kyzel.game.world.tile.Minimap
-
The
Renderer
where the minimap will be drawn on. - render - Variable in class dev.kyzel.game.world.tile.Tile
-
The
Renderer
where the tile will be drawn on. - render - Variable in class dev.kyzel.game.world.tile.TileManager
-
The
Renderer
where the all the tiles will be drawn on. - render - Variable in class dev.kyzel.gfx.Window
-
The renderer of this Window.
- Renderer - Class in dev.kyzel.gfx
-
A class to handle drawing stuff to the screen.
- Renderer(int, int, int) - Constructor for class dev.kyzel.gfx.Renderer
-
Creates a new Renderer.
- RIGHT - Enum constant in enum class dev.kyzel.game.entity.Direction
-
Going right.
- RIGHT - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for moving the player right.
- rightImage - Static variable in class dev.kyzel.utils.AssetManager
-
The list of player's sprites when moving to the right.
- rightSwimmingImage - Static variable in class dev.kyzel.utils.AssetManager
-
The player's sprite when swimming to the right.
- run() - Method in class dev.kyzel.game.Game
-
Updates and redraws the game every 60 ticks.
S
- scale - Variable in class dev.kyzel.gfx.Renderer
-
The desired scale.
- scaleImage(BufferedImage, int) - Static method in class dev.kyzel.utils.AssetManager
-
Scales the given image into the given unit size.
- sceneX - Variable in class dev.kyzel.game.Game
-
The x offset of the camera.
- sceneY - Variable in class dev.kyzel.game.Game
-
The y offset of the camera.
- score - Variable in class dev.kyzel.game.entity.Player
-
The current score of the player at the current level.
- SCORE_UP - Static variable in class dev.kyzel.sfx.Sound
-
The sound when player's score goes up.
- scoreUp(Animal) - Method in class dev.kyzel.game.entity.Player
-
Increases the player's score up with the points taken from the target.
- seedValue - Static variable in class dev.kyzel.game.world.gen.LevelGenerator
-
The seed value which would later be used to generate the map for the game.
- setAttackValue(int) - Method in class dev.kyzel.game.entity.Entity
- setAttackValue(int) - Method in interface dev.kyzel.game.entity.IAttackable
-
Set the attack value of the entity to the given value.
- setAttributes(int, int) - Method in class dev.kyzel.game.Game
-
Set the attributes of the game to match with the new width and height.
- setAttributes(int, int) - Method in class dev.kyzel.gfx.Renderer
-
Set the attributes of this instance to match with the new width and height.
- setCurrentAnimalImage() - Method in class dev.kyzel.game.entity.animal.Animal
-
Set the current animal's sprite.
- setCurrentAnimalImage() - Method in class dev.kyzel.game.entity.animal.Ghost
- setCurrentAnimalImage() - Method in class dev.kyzel.game.entity.animal.Slime
- setCurrentAnimalImage() - Method in class dev.kyzel.game.entity.animal.Zombie
- setCurrentPlayerImage(Direction) - Method in class dev.kyzel.game.entity.Player
-
Set the player's sprite and handles animation in the given
Direction
. - setDirection(Direction) - Method in class dev.kyzel.game.entity.Entity
-
Set the current
Direction
of the entity to the given value. - setFullscreen() - Method in class dev.kyzel.gfx.Window
-
If the window is not in fullscreen mode, set it to fullscreen mode.
- setHealthValue(int) - Method in class dev.kyzel.game.entity.Entity
- setHealthValue(int) - Method in interface dev.kyzel.game.entity.IAttackable
-
Set the current health value of the entity to the given value.
- setInvincibleCounter(int) - Method in class dev.kyzel.game.entity.Entity
-
Set the current invincible counter of the entity to the given value.
- setKnockbackCounter(int) - Method in class dev.kyzel.game.entity.Entity
-
Set the current knockback counter to the given value.
- setMapSize(int) - Method in class dev.kyzel.game.world.tile.Minimap
-
Set the minimap's size to the given value.
- setMaxHealthValue(int) - Method in class dev.kyzel.game.entity.Entity
- setMaxHealthValue(int) - Method in interface dev.kyzel.game.entity.IAttackable
-
Set the max health value of the entity to the given value.
- setPlayerInitialPosition() - Method in class dev.kyzel.game.Game
-
Set the initial position for the player and camera.
- setPlayerSceneX(int) - Method in class dev.kyzel.game.Game
-
Set the modified x offset of the camera to the given value.
- setPlayerSceneY(int) - Method in class dev.kyzel.game.Game
-
Set the modified y offset of the camera to the given value.
- setPreviousDirection(Direction) - Method in class dev.kyzel.game.entity.Entity
-
Set the previous direction of the entity to the given value.
- setRender(Renderer) - Method in class dev.kyzel.game.entity.Entity
-
Set the
Renderer
where the entity will be drawn on. - setSceneX(int) - Method in class dev.kyzel.game.Game
-
Set the x offset of the camera to the given value.
- setSceneY(int) - Method in class dev.kyzel.game.Game
-
Set the y offset of the camera to the given value.
- setSeedValue(double) - Static method in class dev.kyzel.game.world.gen.LevelGenerator
-
Set the seed value to the assigned value.
- setSpeed(int) - Method in class dev.kyzel.game.entity.Entity
-
Set the speed of the entity to the given value.
- setTileImage(BufferedImage) - Method in class dev.kyzel.game.world.tile.Tile
-
Set the texture of the tile to the given image.
- setTileName(String) - Method in class dev.kyzel.game.world.tile.Tile
-
Set the tile's name to the given value.
- setX(int) - Method in class dev.kyzel.game.entity.Entity
-
Set the x coordinate of the entity to the given value.
- setX(int) - Method in class dev.kyzel.game.world.tile.Tile
-
Set the x coordinate of the tile to the given value.
- setY(int) - Method in class dev.kyzel.game.entity.Entity
-
Set the y coordinate of the entity to the given value.
- setY(int) - Method in class dev.kyzel.game.world.tile.Tile
-
Set the y coordinate of the tile to the given value.
- SHOW_STAT - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for showing player's stats.
- Slime - Class in dev.kyzel.game.entity.animal
-
The slime class.
- Slime(Renderer, Game, int, int, int) - Constructor for class dev.kyzel.game.entity.animal.Slime
-
Creates a new Slime.
- slimeImage - Static variable in class dev.kyzel.utils.AssetManager
-
The list of slime's sprites.
- solidArea - Variable in class dev.kyzel.game.entity.Entity
-
The hitbox of the entity.
- solidAreaDefaultX - Variable in class dev.kyzel.game.entity.Entity
-
The default x coordinate of the hitbox.
- solidAreaDefaultY - Variable in class dev.kyzel.game.entity.Entity
-
The default y coordinate of the hitbox.
- Sound - Class in dev.kyzel.sfx
-
A class to handle Sound.
- Sound(String) - Constructor for class dev.kyzel.sfx.Sound
-
Creates a new Sound with the given path.
- speed - Variable in class dev.kyzel.game.entity.Entity
-
The speed of the entity.
- spriteCounter - Variable in class dev.kyzel.game.entity.Entity
-
The sprite counter, which is used for the animation
- spriteCounter - Variable in class dev.kyzel.game.world.tile.AnimatedTile
-
The sprite counter, which is used for animation.
- STANDING - Enum constant in enum class dev.kyzel.game.entity.EntityState
-
Entity is standing still.
- state - Variable in class dev.kyzel.game.entity.Entity
-
The
EntityState
of the entity. - StatMenu - Class in dev.kyzel.game.menu
-
A status menu class.
- StatMenu(Renderer, Game) - Constructor for class dev.kyzel.game.menu.StatMenu
-
Creates a status menu, which will display the current status of the player.
- stop() - Method in class dev.kyzel.sfx.Sound
-
Stops if the sound is currently playing.
- SWIMMING - Enum constant in enum class dev.kyzel.game.entity.EntityState
-
Entity is swimming.
T
- text - Variable in class dev.kyzel.game.menu.TextMenu
-
The texts in the menu.
- textHeight - Variable in class dev.kyzel.game.menu.TextMenu
-
The texts' height.
- TextMenu - Class in dev.kyzel.game.menu
-
The text menu super class.
- TextMenu(Renderer, String[], Font) - Constructor for class dev.kyzel.game.menu.TextMenu
-
Creates a new text menu.
- TextMenu(Renderer, String[], Font[]) - Constructor for class dev.kyzel.game.menu.TextMenu
-
Creates a new text menu.
- TextMenu(Renderer, String[], Font[], int) - Constructor for class dev.kyzel.game.menu.TextMenu
-
Creates a new text menu.
- TextMenu(Renderer, String[], Font, int) - Constructor for class dev.kyzel.game.menu.TextMenu
-
Creates a new text menu.
- TextureLoader - Class in dev.kyzel.utils
-
A class to handle loading texture.
- TextureLoader() - Constructor for class dev.kyzel.utils.TextureLoader
- textWidth - Variable in class dev.kyzel.game.menu.TextMenu
-
The texts' width.
- THEME - Static variable in class dev.kyzel.sfx.Sound
-
The theme song of the game.
- Tile - Class in dev.kyzel.game.world.tile
-
The tile class.
- Tile(Renderer, int, int, String, boolean) - Constructor for class dev.kyzel.game.world.tile.Tile
-
Creates a new tile.
- tileColor - Variable in class dev.kyzel.game.world.tile.AnimatedTile
-
The color to used on the
Minimap
- tileImage - Variable in class dev.kyzel.game.world.tile.Tile
-
The texture of the tile.
- tileIndex - Variable in class dev.kyzel.game.world.tile.AnimatedTile
-
The current index to use as a tile's texture.
- tileManager - Variable in class dev.kyzel.game.Game
-
The
TileManager
of the game. - TileManager - Class in dev.kyzel.game.world.tile
-
A class to manage the tiles in the game.
- TileManager(Renderer, Game) - Constructor for class dev.kyzel.game.world.tile.TileManager
-
Creates a new TileManager.
- tileMap - Static variable in class dev.kyzel.utils.AssetManager
-
The list of all tiles that can be used in the game.
- tileName - Variable in class dev.kyzel.game.world.tile.Tile
-
The tile's name.
- tilesName - Static variable in class dev.kyzel.utils.AssetManager
-
The list of all the tiles' name
- TITLE - Enum constant in enum class dev.kyzel.game.GameState
-
The title state.
- TOGGLE_FULLSCREEN - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for toggling fullscreen.
- TOGGLE_HUD - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for toggling the HUD.
- TOGGLE_MINIMAP - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for toggling the minimap.
U
- unitSize - Variable in class dev.kyzel.gfx.Renderer
-
The actual unit size of sprites after scaling.
- UP - Enum constant in enum class dev.kyzel.game.entity.Direction
-
Going up.
- UP - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for moving the player up.
- update() - Method in class dev.kyzel.game.entity.animal.Animal
- update() - Method in class dev.kyzel.game.entity.animal.Ghost
-
Updates the entity.
- update() - Method in class dev.kyzel.game.entity.Entity
-
Updates the entity.
- update() - Method in class dev.kyzel.game.entity.Player
- update() - Method in class dev.kyzel.game.Game
-
Update the game.
- update() - Method in class dev.kyzel.game.world.tile.Minimap
-
Updates the minimap.
- update() - Static method in class dev.kyzel.utils.Keyboard
-
Updates the states of each key.
- updateTileImage() - Method in class dev.kyzel.game.world.tile.AnimatedTile
-
Updates the tile image if the requirement is met.
- upImage - Static variable in class dev.kyzel.utils.AssetManager
-
The list of player's sprites when moving up.
- upSwimmingImage - Static variable in class dev.kyzel.utils.AssetManager
-
The player's sprite when swimming to up.
- useOneFont - Variable in class dev.kyzel.game.menu.TextMenu
-
A variable to see if the menu only uses one font.
V
- valueOf(String) - Static method in enum class dev.kyzel.game.entity.Direction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.kyzel.game.entity.EntityState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.kyzel.game.GameState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.kyzel.game.entity.Direction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.kyzel.game.entity.EntityState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.kyzel.game.GameState
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WALKING - Enum constant in enum class dev.kyzel.game.entity.EntityState
-
Entity is walking.
- width - Variable in class dev.kyzel.game.menu.Menu
-
The width of the menu.
- width - Variable in class dev.kyzel.gfx.Renderer
-
The width and height of this instance.
- window - Static variable in class dev.kyzel.gfx.Window
-
The only Window that should be used.
- Window - Class in dev.kyzel.gfx
-
A class to handle creating and managing a Window.
- Window(int, int, int) - Constructor for class dev.kyzel.gfx.Window
-
Creates a new Window.
- worldMap - Variable in class dev.kyzel.game.world.tile.Minimap
-
The output minimap.
- worldTiles - Variable in class dev.kyzel.game.world.tile.Minimap
-
The list of all tiles in the game.
- worldTiles - Variable in class dev.kyzel.game.world.tile.TileManager
-
The list of all tiles.
X
- x - Variable in class dev.kyzel.game.entity.Entity
-
The x coordinate of the entity.
- x - Variable in class dev.kyzel.game.menu.Menu
-
The x coordinate of the menu.
- x - Variable in class dev.kyzel.game.world.tile.Tile
-
The x coordinate of the tile.
- X_CENTER - Static variable in class dev.kyzel.game.menu.Menu
-
The constant for the center alignment on the x-axis.
- X_LEFT - Static variable in class dev.kyzel.game.menu.Menu
-
The constant for the left alignment.
- X_RIGHT - Static variable in class dev.kyzel.game.menu.Menu
-
The constant for the right alignment.
Y
- y - Variable in class dev.kyzel.game.entity.Entity
-
The y coordinate of the entity.
- y - Variable in class dev.kyzel.game.menu.Menu
-
The y coordinate of the menu.
- y - Variable in class dev.kyzel.game.world.tile.Tile
-
The y coordinate of the tile.
- Y_BOTTOM - Static variable in class dev.kyzel.game.menu.Menu
-
The constant for the bottom alignment.
- Y_CENTER - Static variable in class dev.kyzel.game.menu.Menu
-
The constant for the center alignment on the y-axis.
- Y_TOP - Static variable in class dev.kyzel.game.menu.Menu
-
The constant for the top alignment.
Z
- Zombie - Class in dev.kyzel.game.entity.animal
-
The zombie class.
- Zombie(Renderer, Game, int, int, int) - Constructor for class dev.kyzel.game.entity.animal.Zombie
-
Creates a new Zombie.
- zombieDownImage - Static variable in class dev.kyzel.utils.AssetManager
-
The list of zombie's sprites when moving down.
- zombieLeftImage - Static variable in class dev.kyzel.utils.AssetManager
-
The list of zombie's sprites when moving to the left.
- zombieRightImage - Static variable in class dev.kyzel.utils.AssetManager
-
The list of zombie's sprites when moving to the right.
- zombieUpImage - Static variable in class dev.kyzel.utils.AssetManager
-
The list of zombie's sprites when moving up.
- ZOOM_IN_MINIMAP - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for zooming in the minimap.
- ZOOM_OUT_MINIMAP - Static variable in class dev.kyzel.game.ControlHandler
-
Keybinding for zooming out the minimap.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form