A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACTIVE - cl.cromer.azaraka.object.Portal.State
-
The portal is active
- addDestination(State) - Method in class cl.cromer.azaraka.ai.AI
-
Add a destination to the list of destinations
- addDestination(State) - Method in interface cl.cromer.azaraka.ai.PlayerAI
-
Add a destination to the list of destinations
- addDestination(State) - Method in class cl.cromer.azaraka.ai.PlayerAStarAI
-
Add a destination to visit
- addDestination(State) - Method in class cl.cromer.azaraka.ai.PlayerBreadthFirstAI
-
Add a destination to the AI
- addImage(Animation.Direction, BufferedImage) - Method in class cl.cromer.azaraka.sprite.Animation
-
Add an image to the animation
- addImage(Animation.Direction, String) - Method in class cl.cromer.azaraka.sprite.Animation
-
Add an image to the animation
- addTexture(BufferedImage, int) - Method in class cl.cromer.azaraka.Cell
-
Add a texture to the texture list
- AI - Class in cl.cromer.azaraka.ai
-
AI algorithms extends this class
- AI - cl.cromer.azaraka.Constants.LogLevel
-
The AI log level
- AI() - Constructor for class cl.cromer.azaraka.ai.AI
- AI_HEURISTIC - Static variable in interface cl.cromer.azaraka.Constants
-
The heuristic to use in the AI distance calculations
- AIException - Exception in cl.cromer.azaraka.ai
-
This exception is thrown when there are problems with the AI
- AIException(String) - Constructor for exception cl.cromer.azaraka.ai.AIException
-
Throw an error with a message
- Animation - Class in cl.cromer.azaraka.sprite
-
This class handles loading the images and animating the sprite
- Animation() - Constructor for class cl.cromer.azaraka.sprite.Animation
-
Initialize the sprite
- ANIMATION - cl.cromer.azaraka.Constants.LogLevel
-
The animation log level
- Animation.Direction - Enum in cl.cromer.azaraka.sprite
-
The directions that the image can use
- AnimationException - Exception in cl.cromer.azaraka.sprite
-
This exception is thrown when there are problems with a sprite
- AnimationException(String) - Constructor for exception cl.cromer.azaraka.sprite.AnimationException
-
Throw an error with a message
- APPEND_LOGS - Static variable in interface cl.cromer.azaraka.Constants
-
Append to the logs if true or make a new log if false
- ASTAR - cl.cromer.azaraka.Constants.PlayerAIType
-
A* Search
- attacked() - Method in class cl.cromer.azaraka.object.Player
-
This is called when the player gets attacked
- Azaraka - Class in cl.cromer.azaraka
-
The main class of the game
B
- BFS - cl.cromer.azaraka.Constants.PlayerAIType
-
Breadth-First Search
C
- Canvas - Class in cl.cromer.azaraka
-
This class extends the canvas to make drawing and listening easier
- Canvas(Azaraka, int, int) - Constructor for class cl.cromer.azaraka.Canvas
-
Initialize the canvas
- CANVAS - cl.cromer.azaraka.Constants.LogLevel
-
The canvas log level
- Cell - Class in cl.cromer.azaraka
-
This class is a cell that will contain a game element such as a player, enemy, prize, etc
- Cell(int, int, int, int) - Constructor for class cl.cromer.azaraka.Cell
-
Initialize the cell with its coordinates
- CELL_PIXELS - Static variable in interface cl.cromer.azaraka.Constants
-
The size in pixels of the cells
- changeDirection(Animation.Direction) - Method in class cl.cromer.azaraka.object.Object
-
Change the direction of the object sprite
- checkCondition(Scene, State) - Method in interface cl.cromer.azaraka.ai.PlayerAI
-
Check conditions for the goal, if they are not met don't go after that goal yet
- checkPosition(int, int) - Method in class cl.cromer.azaraka.object.Chest
-
Check what position the chest is located at
- checkPosition(int, int) - Method in class cl.cromer.azaraka.object.Key
-
Check what position the key is located at
- Chest - Class in cl.cromer.azaraka.object
-
This class handles the chests
- Chest(Scene, Cell) - Constructor for class cl.cromer.azaraka.object.Chest
-
Initialize the chest
- CHEST - cl.cromer.azaraka.ai.State.Type
-
Arrive at the chest
- CHEST - cl.cromer.azaraka.Constants.LogLevel
-
The chest log level
- Chest.State - Enum in cl.cromer.azaraka.object
-
The possible states of the chest
- CHESTS - Static variable in interface cl.cromer.azaraka.Constants
-
The amount of chests to draw, if less than 2 the game cannot be won
- cl.cromer.azaraka - package cl.cromer.azaraka
-
This package contains the main classes of the game
- cl.cromer.azaraka.ai - package cl.cromer.azaraka.ai
-
This package contains AI algorithms
- cl.cromer.azaraka.json - package cl.cromer.azaraka.json
-
This package handles json files and structures
- cl.cromer.azaraka.logging - package cl.cromer.azaraka.logging
-
This package handles logging
- cl.cromer.azaraka.object - package cl.cromer.azaraka.object
-
This package contains all the objects that can be in a cell
- cl.cromer.azaraka.sound - package cl.cromer.azaraka.sound
-
This package handles sounds
- cl.cromer.azaraka.sprite - package cl.cromer.azaraka.sprite
-
This package handles spites, animations, and image sheets
- clone() - Method in class cl.cromer.azaraka.sprite.Animation
-
Enable the sprite to be cloned into various cells
- CLOSED - cl.cromer.azaraka.object.Chest.State
-
The chest is closed
- compareTo(State) - Method in class cl.cromer.azaraka.ai.State
-
This is used to compare priorities in a priority queue
- Constants - Interface in cl.cromer.azaraka
-
Constants used in the game
- Constants.AIHeuristic - Enum in cl.cromer.azaraka
-
The different heuristics that the AI uses to calculate distance
- Constants.LogLevel - Enum in cl.cromer.azaraka
-
This enum contains all the levels used for logging
- Constants.PlayerAIType - Enum in cl.cromer.azaraka
-
The different AI that can be used by the player
- containsObject() - Method in class cl.cromer.azaraka.Cell
-
Check if cell contains an object
D
- DEATH - cl.cromer.azaraka.object.Gem.Type
-
The death gem which should be red
- deleteInstance() - Method in class cl.cromer.azaraka.object.Player
-
Delete the Player instance
- deleteInstance() - Method in class cl.cromer.azaraka.object.Portal
-
Delete the Portal instance
- destinationArrived(Scene, State) - Method in interface cl.cromer.azaraka.ai.PlayerAI
-
If the player arrived at a a goal this should be called
- DIAGONAL - cl.cromer.azaraka.Constants.AIHeuristic
-
Used for 8 direction movements
- doAction(Scene, List<State.Type>) - Method in interface cl.cromer.azaraka.ai.PlayerAI
-
Do the player control actions
- DOWN - cl.cromer.azaraka.ai.State.Type
-
Move down
- DOWN - cl.cromer.azaraka.object.Enemy.Direction
-
The enemy is facing down
- DOWN - cl.cromer.azaraka.sprite.Animation.Direction
-
The image is facing down
- drawAnimation(Graphics, int, int) - Method in class cl.cromer.azaraka.object.Object
-
Draw the animation on the canvas
E
- encodeHtml(String) - Static method in class cl.cromer.azaraka.logging.StringUtils
-
Encode the string for html characters
- ENEMIES - Static variable in interface cl.cromer.azaraka.Constants
-
The amount of enemies to draw
- Enemy - Class in cl.cromer.azaraka.object
-
This class handles the enemy object
- Enemy(Scene, Cell, Lock) - Constructor for class cl.cromer.azaraka.object.Enemy
-
Initialize the enemy
- ENEMY - cl.cromer.azaraka.ai.State.Type
-
The enemy
- ENEMY - cl.cromer.azaraka.Constants.LogLevel
-
The enemy log level
- ENEMY_AI - Static variable in interface cl.cromer.azaraka.Constants
-
Whether or not the enemies should be controlled by AI
- Enemy.Direction - Enum in cl.cromer.azaraka.object
-
The possible directions the enemy can face
- EnemyAI - Class in cl.cromer.azaraka.ai
-
This is an implementation of the Depth-First search algorithm
- EnemyAI(Scene, Enemy) - Constructor for class cl.cromer.azaraka.ai.EnemyAI
-
Initialize the algorithm
- equals(Object) - Method in class cl.cromer.azaraka.ai.State
-
Overridden equals to compare the x and y coordinates
- EUCLIDEAN - cl.cromer.azaraka.Constants.AIHeuristic
-
Used for distance between 2 points
- EXIT - cl.cromer.azaraka.ai.State.Type
-
Arrive at the exit
- EXPORT_SCENE - Static variable in interface cl.cromer.azaraka.Constants
-
Exports the scene to a JSON file if true
- exportScene(CopyOnWriteArrayList<CopyOnWriteArrayList<Cell>>) - Method in class cl.cromer.azaraka.json.Json
-
Export the game cells to a JSON ready object then write it to a file
F
- FONT - Static variable in interface cl.cromer.azaraka.Constants
-
The big font to use
- FONT_SIZE - Static variable in interface cl.cromer.azaraka.Constants
-
The font size to use
- format(LogRecord) - Method in class cl.cromer.azaraka.logging.HtmlFormatter
-
Create a log row in the html table
G
- gainHealth(int) - Method in class cl.cromer.azaraka.object.Player
-
Gain a variable amount of health
- gameOver() - Method in class cl.cromer.azaraka.Canvas
-
The player died, game over
- Gem - Class in cl.cromer.azaraka.object
-
This class contains the gem
- Gem(Scene, Cell) - Constructor for class cl.cromer.azaraka.object.Gem
-
Initialize the gem object
- GEM - cl.cromer.azaraka.Constants.LogLevel
-
The gem log level
- Gem.State - Enum in cl.cromer.azaraka.object
-
The possible states of the gem
- Gem.Type - Enum in cl.cromer.azaraka.object
-
The type of gem
- GENERATE_SCENE - Static variable in interface cl.cromer.azaraka.Constants
-
Generates the scene manually instead of from the JSON file if true
- generateRandomObjects() - Method in class cl.cromer.azaraka.Scene
-
Generate random objects in the scene
- getActive() - Method in class cl.cromer.azaraka.ai.AI
-
Get the active state of the AI
- getActive() - Method in class cl.cromer.azaraka.object.Object
-
Get the active state of the GameObject
- getAi() - Method in class cl.cromer.azaraka.object.Enemy
-
Get the AI in use by the enemy
- getAi() - Method in class cl.cromer.azaraka.object.Player
-
Get the AI in use by the player
- getAnimation() - Method in class cl.cromer.azaraka.object.Object
-
Get the current animation
- getAnimationWidth() - Method in class cl.cromer.azaraka.object.Gem
-
Get the width of the gem animation
- getAnimationWidth() - Method in class cl.cromer.azaraka.object.Key
-
Get the width of the key animation
- getCanvas() - Method in class cl.cromer.azaraka.Scene
-
Get the parent canvas of this scene
- getCell() - Method in class cl.cromer.azaraka.object.Object
-
Get the cell the object is in
- getCells() - Method in class cl.cromer.azaraka.Scene
-
Get the cells of the game
- getChests() - Method in class cl.cromer.azaraka.Canvas
-
Get a list of the chests that exist
- getCurrentDirection() - Method in class cl.cromer.azaraka.sprite.Animation
-
Get the current direction that the animation is using
- getCurrentFrame() - Method in class cl.cromer.azaraka.sprite.Animation
-
Get the current frame
- getFrame() - Method in class cl.cromer.azaraka.sprite.Animation
-
Returns the current frame in the sprite
- getFrameCount() - Method in class cl.cromer.azaraka.sprite.Animation
-
Get the number of frames in the
- getGameStatus() - Method in class cl.cromer.azaraka.Canvas
-
Check if the game has ended or not
- getGem() - Method in class cl.cromer.azaraka.object.Chest
-
Get the gem from the chest
- getGemCount() - Method in class cl.cromer.azaraka.object.Player
-
Get the number of gems the player has
- getHead(Handler) - Method in class cl.cromer.azaraka.logging.HtmlFormatter
-
This method is called to get the head of the log
- getHealth() - Method in class cl.cromer.azaraka.object.Player
-
Get the current health of the player
- getImportance() - Method in class cl.cromer.azaraka.ai.State
-
Get the importance of the state
- getInstance(Scene, Cell) - Static method in class cl.cromer.azaraka.object.Player
-
Create the Player instance
- getInstance(Scene, Cell) - Static method in class cl.cromer.azaraka.object.Portal
-
Create an instance of the portal
- getInventoryGems(boolean) - Method in class cl.cromer.azaraka.object.Player
-
Get the gems the player has
- getKey() - Method in class cl.cromer.azaraka.object.Key
-
Get the key
- getKeys() - Method in class cl.cromer.azaraka.Canvas
-
Get a list of the keys that exist
- getLeftMargin() - Method in class cl.cromer.azaraka.Canvas
-
Get the left margin being used
- getLevel() - Method in enum cl.cromer.azaraka.Constants.LogLevel
-
Get the level for the specific part
- getLogger() - Method in class cl.cromer.azaraka.ai.AI
-
Get the logger being used by the AI
- getLogger() - Method in class cl.cromer.azaraka.object.Object
-
Get the logger
- getLogger(Class<?>, Constants.LogLevel) - Method in interface cl.cromer.azaraka.Constants
-
Get a logger object to use for debugging
- getNextFrame() - Method in class cl.cromer.azaraka.sprite.Animation
-
Returns the next frame in the sprite
- getObject() - Method in class cl.cromer.azaraka.Cell
-
Get the object that is in the cell
- getObjectOnBottom() - Method in class cl.cromer.azaraka.Cell
-
Get a bottom object
- getObjectOnTop() - Method in class cl.cromer.azaraka.Cell
-
Get a top object
- getOpenSpaceAroundPlayer(Scene) - Method in interface cl.cromer.azaraka.ai.PlayerAI
-
Check if the spaces around the player are ope or not and return one of them randomly
- getOperation() - Method in class cl.cromer.azaraka.ai.State
-
Get the operation to perform
- getPlayer() - Method in class cl.cromer.azaraka.Canvas
-
Get the player
- getPortal() - Method in class cl.cromer.azaraka.Canvas
-
Get the portal
- getPredecessor() - Method in class cl.cromer.azaraka.ai.State
-
Get the previous state
- getScene() - Method in class cl.cromer.azaraka.object.Object
-
Get the scene the object is in
- getState() - Method in class cl.cromer.azaraka.object.Chest
-
Get the state of the chest
- getState() - Method in class cl.cromer.azaraka.object.Gem
-
Get the current state of the gem
- getState() - Method in class cl.cromer.azaraka.object.Key
-
Get the current state of the key
- getState() - Method in class cl.cromer.azaraka.object.Portal
-
Get the current state of the portal
- getTail(Handler) - Method in class cl.cromer.azaraka.logging.HtmlFormatter
-
This method is called to get the tail of the log
- getTexture(int) - Method in class cl.cromer.azaraka.sprite.Sheet
-
Returns the selected texture
- getTextureNumbers() - Method in class cl.cromer.azaraka.Cell
-
Get an array list of the texture numbers used
- getTextureSheet() - Method in class cl.cromer.azaraka.Scene
-
Get the texture sheet
- getTopMargin() - Method in class cl.cromer.azaraka.Canvas
-
Get the top margin being used
- getVolume() - Method in class cl.cromer.azaraka.Canvas
-
Get the current volume
- getX() - Method in class cl.cromer.azaraka.ai.State
-
Get the x position of the state
- getX() - Method in class cl.cromer.azaraka.Cell
-
Get the x coordinate of the cell
- getX() - Method in class cl.cromer.azaraka.object.Object
-
Get the x position of the object
- getXOffset() - Method in class cl.cromer.azaraka.sprite.Animation
-
Get the offset of x for the sprite
- getY() - Method in class cl.cromer.azaraka.ai.State
-
Get the y position of the state
- getY() - Method in class cl.cromer.azaraka.Cell
-
Get the y coordinate for the cell
- getY() - Method in class cl.cromer.azaraka.object.Object
-
Gets the y position of the object
- getYOffset() - Method in class cl.cromer.azaraka.sprite.Animation
-
Get the offset of y for the sprite
- GLOBAL - cl.cromer.azaraka.Constants.LogLevel
-
The global log level is used if the individual log levels are not
- GLOBAL_LOG - Static variable in interface cl.cromer.azaraka.Constants
-
Use a global log if true or individual logs if false
H
- hashCode() - Method in class cl.cromer.azaraka.ai.State
- hasKey() - Method in class cl.cromer.azaraka.object.Player
-
Checks if the player has a key
- hasTaintedGem() - Method in class cl.cromer.azaraka.object.Player
-
Check if player has a tainted gem in his inventory
- HELD - cl.cromer.azaraka.object.Key.State
-
The key is held by the player
- heuristic(State, State) - Method in interface cl.cromer.azaraka.ai.PlayerAI
-
The heuristic to get the distance between the start state and the end state Manhattan Distance Used for 4 direction movements h = abs (current_cell.x – goal.x) + abs (current_cell.y – goal.y) Diagonal Distance Used for 8 direction movements h = max { abs(current_cell.x – goal.x), abs(current_cell.y – goal.y) } Euclidean Distance Used for distance between 2 points h = sqrt ( (current_cell.x – goal.x)2 + (current_cell.y – goal.y)2 )
- HORIZONTAL_CELLS - Static variable in interface cl.cromer.azaraka.Constants
-
The number of cells to draw horizontally
- HtmlFormatter - Class in cl.cromer.azaraka.logging
-
This class handles formatting the log into a html table
- HtmlFormatter() - Constructor for class cl.cromer.azaraka.logging.HtmlFormatter
- HUMAN - cl.cromer.azaraka.Constants.PlayerAIType
-
Human player
I
- INACTIVE - cl.cromer.azaraka.object.Portal.State
-
The portal is inactive
- initializeLogger(Class<?>) - Method in interface cl.cromer.azaraka.Constants
-
Initialize the logger and assign a html handler
- interact() - Method in class cl.cromer.azaraka.object.Player
-
Interact with an object in the game
- isDoorOpen() - Method in class cl.cromer.azaraka.Scene
-
Check if door is open
- isPlaying() - Method in class cl.cromer.azaraka.sound.Sound
-
Check if the sound clip is playing or not
J
- Json - Class in cl.cromer.azaraka.json
-
This class handles reading and writing of JSON objects
- Json() - Constructor for class cl.cromer.azaraka.json.Json
-
Initialize the JSON object
- JSON - cl.cromer.azaraka.Constants.LogLevel
-
The json log level
- JsonCell - Class in cl.cromer.azaraka.json
-
This class represents the structure of a cell in JSON
- JsonCell() - Constructor for class cl.cromer.azaraka.json.JsonCell
K
- Key - Class in cl.cromer.azaraka.object
-
This class contains the key
- Key(Scene, Cell) - Constructor for class cl.cromer.azaraka.object.Key
-
Initialize the key
- KEY - cl.cromer.azaraka.ai.State.Type
-
Arrive at the key
- KEY - cl.cromer.azaraka.Constants.LogLevel
-
The key log level
- Key.State - Enum in cl.cromer.azaraka.object
-
The state of the key
- keyPressed(int) - Method in class cl.cromer.azaraka.object.Player
-
Handle keys being pressed in the game
- keyPressed(KeyEvent) - Method in class cl.cromer.azaraka.object.Player
-
Handle keys being pressed in the game
L
- LEFT - cl.cromer.azaraka.ai.State.Type
-
Move left
- LEFT - cl.cromer.azaraka.object.Enemy.Direction
-
The enemy is facing left
- LEFT - cl.cromer.azaraka.sprite.Animation.Direction
-
The image is facing left
- LIFE - cl.cromer.azaraka.object.Gem.Type
-
The life gem which should be blue
- loadCharacter(String, int) - Method in class cl.cromer.azaraka.object.Object
-
Load the character animation
- LOG_TO_FILE - Static variable in interface cl.cromer.azaraka.Constants
-
Make logs
- loseHealth(int) - Method in class cl.cromer.azaraka.object.Player
-
Lose a variable amount of health
M
- main(String[]) - Static method in class cl.cromer.azaraka.Azaraka
-
Open the main window
- MAIN - cl.cromer.azaraka.Constants.LogLevel
-
The main log level
- MAIN_WINDOW - cl.cromer.azaraka.Constants.LogLevel
-
The main window log level
- MainWindow - Class in cl.cromer.azaraka
-
The main window of the game
- MainWindow(Azaraka) - Constructor for class cl.cromer.azaraka.MainWindow
-
Initialize the main window
- MANHATTAN - cl.cromer.azaraka.Constants.AIHeuristic
-
Used for 4 direction movements
- MAX_HEALTH - Static variable in class cl.cromer.azaraka.object.Player
-
The maximum health of the player
- moveDown() - Method in class cl.cromer.azaraka.object.Enemy
-
Move down
- moveDown() - Method in class cl.cromer.azaraka.object.Object
-
Move the object down one cell
- moveDown() - Method in class cl.cromer.azaraka.object.Player
-
Move the player down
- moveLeft() - Method in class cl.cromer.azaraka.object.Enemy
-
Move left
- moveLeft() - Method in class cl.cromer.azaraka.object.Object
-
Move the object left one cell
- moveLeft() - Method in class cl.cromer.azaraka.object.Player
-
Move the player to the left
- moveRight() - Method in class cl.cromer.azaraka.object.Enemy
-
Move right
- moveRight() - Method in class cl.cromer.azaraka.object.Object
-
Move the object right one cell
- moveRight() - Method in class cl.cromer.azaraka.object.Player
-
Move the player to the right
- moveUp() - Method in class cl.cromer.azaraka.object.Enemy
-
Move up
- moveUp() - Method in class cl.cromer.azaraka.object.Object
-
Move the object up one cell
- moveUp() - Method in class cl.cromer.azaraka.object.Player
-
Move the player up
N
- NONE - cl.cromer.azaraka.sprite.Animation.Direction
-
The image does not belong in a direction
O
- Object - Class in cl.cromer.azaraka.object
-
All game objects extend this class
- Object(Scene, Cell) - Constructor for class cl.cromer.azaraka.object.Object
-
Initialize the object
- Obstacle - Class in cl.cromer.azaraka.object
-
This class handles the obstacles
- Obstacle(Scene, Cell) - Constructor for class cl.cromer.azaraka.object.Obstacle
-
Initialize the obstacle
- OBSTACLES - Static variable in interface cl.cromer.azaraka.Constants
-
The amount of obstacles to draw on the screen
- openDoor(boolean) - Method in class cl.cromer.azaraka.Scene
-
Change the state of the door
- OPENED - cl.cromer.azaraka.object.Chest.State
-
The chest is opened
- OPENING - cl.cromer.azaraka.object.Chest.State
-
The chest is opening
P
- paint(Graphics) - Method in class cl.cromer.azaraka.Canvas
-
Override the paint method of Canvas to paint all the scene components
- paintComponent(Graphics) - Method in class cl.cromer.azaraka.Cell
-
Override the paintComponent method of JComponent to paint the cell based on type
- paintComponent(Graphics) - Method in class cl.cromer.azaraka.Scene
-
Override the paintComponent method of JComponent to paint the scene
- play() - Method in class cl.cromer.azaraka.sound.Sound
-
Play the sound
- Player - Class in cl.cromer.azaraka.object
-
This class contains the player
- PLAYER - cl.cromer.azaraka.ai.State.Type
-
The player
- PLAYER - cl.cromer.azaraka.Constants.LogLevel
-
The player log level
- PLAYER_AI - Static variable in interface cl.cromer.azaraka.Constants
-
Which type of AI to use
- PlayerAI - Interface in cl.cromer.azaraka.ai
-
This interface has Player specific AI code that is shared between AI implementations
- PlayerAStarAI - Class in cl.cromer.azaraka.ai
-
The class implements the A* search AI algorithm for the player
- PlayerAStarAI(Scene, Player) - Constructor for class cl.cromer.azaraka.ai.PlayerAStarAI
-
Initialize the A* algorithm
- PlayerBreadthFirstAI - Class in cl.cromer.azaraka.ai
-
This is an implementation of the Breadth-First search algorithm with multiple objectives
- PlayerBreadthFirstAI(Scene, Player) - Constructor for class cl.cromer.azaraka.ai.PlayerBreadthFirstAI
-
Initialize the algorithm
- playGemSound() - Method in class cl.cromer.azaraka.object.Gem
-
Play the gem sound
- playGetKeySound() - Method in class cl.cromer.azaraka.object.Key
-
Play the get key sound
- Portal - Class in cl.cromer.azaraka.object
-
This class handles the portal functionality
- PORTAL - cl.cromer.azaraka.ai.State.Type
-
Arrive at the portal
- PORTAL - cl.cromer.azaraka.Constants.LogLevel
-
The portal log level
- Portal.State - Enum in cl.cromer.azaraka.object
-
The current state of the portal
- PRETTY_JSON - Static variable in interface cl.cromer.azaraka.Constants
-
Use pretty JSON if true
- PURIFIED - cl.cromer.azaraka.object.Gem.State
-
The gem has been purified
- purifyGems() - Method in class cl.cromer.azaraka.object.Portal
-
Purify the gems the player is carrying
R
- random(int, int) - Method in interface cl.cromer.azaraka.Constants
-
Generate a random number between given min and max
- removeKeyDestination(int, int) - Method in class cl.cromer.azaraka.ai.AI
-
Remove the picked up key from destinations if it is there
- removeKeyDestination(int, int) - Method in class cl.cromer.azaraka.ai.PlayerAStarAI
-
Remove the picked up key from destinations if it is there
- removeKeyDestination(int, int) - Method in class cl.cromer.azaraka.ai.PlayerBreadthFirstAI
-
Remove the picked up key from destinations if it is there
- removeTexture(int) - Method in class cl.cromer.azaraka.Cell
-
Remove the texture from the map
- restart() - Method in class cl.cromer.azaraka.Azaraka
-
Restart the game
- RIGHT - cl.cromer.azaraka.ai.State.Type
-
Move right
- RIGHT - cl.cromer.azaraka.object.Enemy.Direction
-
The enemy is facing right
- RIGHT - cl.cromer.azaraka.sprite.Animation.Direction
-
The image is facing right
- run() - Method in class cl.cromer.azaraka.ai.AI
-
The AI should run in a loop
- run() - Method in class cl.cromer.azaraka.ai.EnemyAI
-
Run the steps in a loop
- run() - Method in class cl.cromer.azaraka.ai.PlayerAStarAI
-
Run this in a loop
- run() - Method in class cl.cromer.azaraka.ai.PlayerBreadthFirstAI
-
Run the steps in a loop
- run() - Method in class cl.cromer.azaraka.object.Chest
-
This method is run when the thread starts
- run() - Method in class cl.cromer.azaraka.object.Enemy
-
This method is run constantly by the runnable
- run() - Method in class cl.cromer.azaraka.object.Gem
-
This method is run when the thread starts
- run() - Method in class cl.cromer.azaraka.object.Key
-
This is run when the thread starts
- run() - Method in class cl.cromer.azaraka.object.Object
-
The run method
- run() - Method in class cl.cromer.azaraka.object.Player
-
This runs when the thread starts
- run() - Method in class cl.cromer.azaraka.object.Portal
-
This method is run when the thread starts
S
- scaleImage(BufferedImage, int, int) - Static method in class cl.cromer.azaraka.sprite.Animation
-
Scale an image
- Scene - Class in cl.cromer.azaraka
-
The scene used for the game
- Scene(Canvas) - Constructor for class cl.cromer.azaraka.Scene
-
Initialize the scene
- SCENE - cl.cromer.azaraka.Constants.LogLevel
-
The escenario log level
- search(State, State) - Method in class cl.cromer.azaraka.ai.EnemyAI
-
Find a path to the objective
- search(State, State) - Method in interface cl.cromer.azaraka.ai.PlayerAI
-
Search for the goal from a starting state
- search(State, State) - Method in class cl.cromer.azaraka.ai.PlayerAStarAI
-
Search for a path between the start point and the goal
- search(State, State) - Method in class cl.cromer.azaraka.ai.PlayerBreadthFirstAI
-
Find a path to the goal
- setActive(boolean) - Method in class cl.cromer.azaraka.ai.AI
-
Set the active state for the AI loop
- setActive(boolean) - Method in class cl.cromer.azaraka.object.Object
-
Set the active state for the GameObject loop
- setAnimation(Animation) - Method in class cl.cromer.azaraka.object.Object
-
Set a new animation
- setCell(Cell) - Method in class cl.cromer.azaraka.object.Object
-
Get the cell the object is in
- setCurrentDirection(Animation.Direction) - Method in class cl.cromer.azaraka.sprite.Animation
-
Change the animation to the new direction and set the current frame to 0
- setCurrentFrame(int) - Method in class cl.cromer.azaraka.sprite.Animation
-
Set which frame is to be shown in the sprite manually
- setDirection(Enemy.Direction) - Method in class cl.cromer.azaraka.object.Enemy
-
Set the direction of the enemy
- setDoorSound(Sound) - Method in class cl.cromer.azaraka.Scene
-
Set the door sound
- setGem(Gem) - Method in class cl.cromer.azaraka.object.Chest
-
Put a gem in the chest
- setLogger(Logger) - Method in class cl.cromer.azaraka.ai.AI
-
Set the logger that the AI should use
- setLogger(Logger) - Method in class cl.cromer.azaraka.object.Object
-
Set the logger
- setLoops(int) - Method in class cl.cromer.azaraka.sound.Sound
-
Set the number of loops to play
- setObject(Object) - Method in class cl.cromer.azaraka.Cell
-
Put an object in the cell
- setObjectOnBottom(Object) - Method in class cl.cromer.azaraka.Cell
-
Set a bottom object
- setObjectOnTop(Object) - Method in class cl.cromer.azaraka.Cell
-
Set a top object
- setPriority(double) - Method in class cl.cromer.azaraka.ai.State
-
Set the priority of a given state
- setSound(Sound) - Method in class cl.cromer.azaraka.object.Chest
-
Set the chest open sound
- setSound(Sound) - Method in class cl.cromer.azaraka.object.Enemy
-
Set the enemy attack sound
- setSound(Sound) - Method in class cl.cromer.azaraka.object.Gem
-
Set the gem sound
- setSound(Sound) - Method in class cl.cromer.azaraka.object.Key
-
Set the sound the key object will use
- setSound(Sound) - Method in class cl.cromer.azaraka.object.Portal
-
Set the portal sound
- setState(Chest.State) - Method in class cl.cromer.azaraka.object.Chest
-
Sets the state of the chest
- setState(Gem.State) - Method in class cl.cromer.azaraka.object.Gem
-
Set the state of the gem
- setState(Key.State) - Method in class cl.cromer.azaraka.object.Key
-
Set the new state of the key
- setState(Portal.State) - Method in class cl.cromer.azaraka.object.Portal
-
Sets a new status for the portal
- setType(Gem.Type) - Method in class cl.cromer.azaraka.object.Gem
-
Set the gem type
- setUseOffset(boolean) - Method in class cl.cromer.azaraka.object.Object
-
Set the use offset for animation
- setVolume(float) - Method in class cl.cromer.azaraka.sound.Sound
-
Set the volume of the sound
- setXScale(int) - Method in class cl.cromer.azaraka.object.Object
-
Scale the image to x pixels
- setYOffset(int) - Method in class cl.cromer.azaraka.sprite.Animation
-
Set the y offset manually instead of using the automatically detected value
- setYScale(int) - Method in class cl.cromer.azaraka.object.Object
-
Scale the image to y pixels
- Sheet - Class in cl.cromer.azaraka.sprite
-
This class handles loading the images and sub-images
- Sheet(String, int, int) - Constructor for class cl.cromer.azaraka.sprite.Sheet
-
Initialize the texture collection
- SHEET - cl.cromer.azaraka.Constants.LogLevel
-
The sheet log level
- SheetException - Exception in cl.cromer.azaraka.sprite
-
This exception is thrown when there are problems with a sprite
- SheetException(String) - Constructor for exception cl.cromer.azaraka.sprite.SheetException
-
Throw an error with a message
- sortDestinations() - Method in interface cl.cromer.azaraka.ai.PlayerAI
-
Sor the destinations based on importance and distance
- sortDestinations() - Method in class cl.cromer.azaraka.ai.PlayerAStarAI
-
Sort the destinations by importance, if the importance is the same then sort them by distance
- sortDestinations() - Method in class cl.cromer.azaraka.ai.PlayerBreadthFirstAI
-
Sort the destinations by importance, if the importance is the same then sort them by distance
- sortDestinations(List<State>, State) - Method in interface cl.cromer.azaraka.ai.PlayerAI
-
Sort the destinations based on importance and distance
- Sound - Class in cl.cromer.azaraka.sound
-
This class handles sound
- Sound(String) - Constructor for class cl.cromer.azaraka.sound.Sound
-
Load the sound
- SOUND - cl.cromer.azaraka.Constants.LogLevel
-
The sound log level
- SoundException - Exception in cl.cromer.azaraka.sound
-
This exception is thrown when there are problems with a sound
- SoundException(String) - Constructor for exception cl.cromer.azaraka.sound.SoundException
-
Throw an error with a message
- State - Class in cl.cromer.azaraka.ai
-
The states used in the AI algorithms
- State(int, int, State.Type, State, int) - Constructor for class cl.cromer.azaraka.ai.State
-
Initialize the state
- State.Type - Enum in cl.cromer.azaraka.ai
-
The type of operation
- stop() - Method in class cl.cromer.azaraka.sound.Sound
-
Stop the sound
- StringUtils - Class in cl.cromer.azaraka.logging
-
This class handles string formatting for html
- StringUtils() - Constructor for class cl.cromer.azaraka.logging.StringUtils
T
- TAINTED - cl.cromer.azaraka.object.Gem.State
-
The gem is tainted
- textures - Variable in class cl.cromer.azaraka.json.JsonCell
-
A list of the textures to apply to the cell
- TITLE - Static variable in interface cl.cromer.azaraka.Constants
-
The name of the game
- type - Variable in class cl.cromer.azaraka.json.JsonCell
-
The type of cell, e.g.
U
- UNUSED - cl.cromer.azaraka.object.Key.State
-
The key has not been used
- UP - cl.cromer.azaraka.ai.State.Type
-
Move up
- UP - cl.cromer.azaraka.object.Enemy.Direction
-
The enemy is facing up
- UP - cl.cromer.azaraka.sprite.Animation.Direction
-
The image is facing up
- update(Graphics) - Method in class cl.cromer.azaraka.Canvas
-
Override the update method of Canvas to update using a double buffer
- update(Graphics) - Method in class cl.cromer.azaraka.Cell
-
Override the update method of JComponent to do double buffering
- update(Graphics) - Method in class cl.cromer.azaraka.Scene
-
Override the update method of JComponent to do double buffering
- USED - cl.cromer.azaraka.object.Key.State
-
The key has been used
V
- valueOf(String) - Static method in enum cl.cromer.azaraka.ai.State.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cl.cromer.azaraka.Constants.AIHeuristic
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cl.cromer.azaraka.Constants.LogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cl.cromer.azaraka.Constants.PlayerAIType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cl.cromer.azaraka.object.Chest.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cl.cromer.azaraka.object.Enemy.Direction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cl.cromer.azaraka.object.Gem.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cl.cromer.azaraka.object.Gem.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cl.cromer.azaraka.object.Key.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cl.cromer.azaraka.object.Portal.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cl.cromer.azaraka.sprite.Animation.Direction
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum cl.cromer.azaraka.ai.State.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum cl.cromer.azaraka.Constants.AIHeuristic
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum cl.cromer.azaraka.Constants.LogLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum cl.cromer.azaraka.Constants.PlayerAIType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum cl.cromer.azaraka.object.Chest.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum cl.cromer.azaraka.object.Enemy.Direction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum cl.cromer.azaraka.object.Gem.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum cl.cromer.azaraka.object.Gem.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum cl.cromer.azaraka.object.Key.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum cl.cromer.azaraka.object.Portal.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum cl.cromer.azaraka.sprite.Animation.Direction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERTICAL_CELLS - Static variable in interface cl.cromer.azaraka.Constants
-
The number of cells to draw vertically
- VOLUME - Static variable in interface cl.cromer.azaraka.Constants
-
The default volume between 0 and 100
W
A B C D E F G H I J K L M N O P R S T U V WAll Classes All Packages