Index

A B C D E F G H I L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractController<T> - Class in controller
 
AbstractController() - Constructor for class controller.AbstractController
 
add(T) - Method in class controller.AbstractController
 
addReplacement(Replacement) - Method in class level.generator.dungeong.roomg.ReplacementLoader
adds a replacement to the list
addRoomTemplate(RoomTemplate) - Method in class level.generator.dungeong.roomg.RoomTemplateLoader
adds a template to the list
ALL - Enum constant in enum class level.tools.DesignLabel
 
Animation - Class in graphic
A list of textures from an animation.
Animation(Collection<String>, int) - Constructor for class graphic.Animation
Creates an animation.

B

batch - Variable in class controller.MainController
 
beginFrame() - Method in class controller.MainController
 
beginFrame() - Method in class demo.MyController
 

C

camera - Variable in class controller.MainController
 
canRotate() - Method in class level.generator.dungeong.roomg.Replacement
 
CantBePlanarException - Exception in level.generator.dungeong.graphg
Thrown when a graph cannot be planar due to the demand requirements.
CantBePlanarException() - Constructor for exception level.generator.dungeong.graphg.CantBePlanarException
 
CantBePlanarException(String) - Constructor for exception level.generator.dungeong.graphg.CantBePlanarException
 
connect(Node) - Method in class level.elements.Node
Add this node as neighbour
connectNewNode(int) - Method in class level.elements.Graph
Try to connect a existing node with a new node
connectNodes(int, int) - Method in class level.elements.Graph
Try to connect two existing nodes with eachother
Constants - Class in tools
 
Constants() - Constructor for class tools.Constants
 
contains(Object) - Method in class controller.AbstractController
 
controller - package controller
 
create() - Method in class controller.LibgdxSetup
 

D

DEFAULT - Enum constant in enum class level.tools.DesignLabel
 
DEFAULT_ZOOM_FACTOR - Static variable in class tools.Constants
200% zoom.
demo - package demo
 
DesignLabel - Enum Class in level.tools
Specifies which textures and layouts should be used for the room.
dispose() - Method in class controller.LibgdxSetup
 
draw() - Method in interface interfaces.IEntity
Draws this instance on the batch.
draw(float, float, float, float, String, Point, SpriteBatch) - Method in class graphic.Painter
Draws the instance based on its position.
draw(float, float, String, Point, SpriteBatch) - Method in class graphic.Painter
Draws the instance based on its position with default scaling and specific offset.
draw(SpriteBatch) - Method in interface interfaces.IHUDElement
 
draw(String, Point, SpriteBatch) - Method in class graphic.Painter
Draws the instance based on its position with default offset and default scaling.
drawText(String, String, Color, int, int, int, int, int) - Method in class controller.HUDController
Draws a given text on the screen.
drawText(String, String, Color, int, int, int, int, int, int) - Method in class controller.HUDController
Draws a given text on the screen.
drawWithScaling(float, float, String, Point, SpriteBatch) - Method in class graphic.Painter
Draws the instance based on its position with default offset and specific scaling.
DummyGenerator - Class in level.generator.dummy
 
DummyGenerator() - Constructor for class level.generator.dummy.DummyGenerator
 
DUNGEON - Enum constant in enum class level.tools.DesignLabel
 
DungeonCamera - Class in graphic
Sauron's eye.
DungeonCamera(IEntity, float, float) - Constructor for class graphic.DungeonCamera
Creates a new camera.

E

endFrame() - Method in class controller.MainController
 
endFrame() - Method in class demo.MyController
 
entityController - Variable in class controller.MainController
 
EntityController - Class in controller
Keeps a set of entities and calls their update method every frame.
EntityController() - Constructor for class controller.EntityController
 
EXIT - Enum constant in enum class level.tools.LevelElement
This field is the exit-field to the next level

F

FIELD_WIDTH_AND_HEIGHT_IN_PIXEL - Static variable in class tools.Constants
Virtual width and height.
findTexture(LevelElement, DesignLabel, LevelElement[][], Point) - Static method in class level.tools.TileTextureFactory
 
FIRE - Enum constant in enum class level.tools.DesignLabel
 
FLOOR - Enum constant in enum class level.tools.LevelElement
This field is a floor-field
follow(IEntity) - Method in class graphic.DungeonCamera
Sets the entity to follow.
FOREST - Enum constant in enum class level.tools.DesignLabel
 
FRAME_RATE - Static variable in class tools.Constants
Frames per seconds.

G

generateGraphs(int, int) - Method in class level.generator.dungeong.graphg.GraphG
Calculate a list of planar graphs.
generator - Variable in class controller.MainController
 
getActiveAnimation() - Method in interface interfaces.IAnimatable
 
getAllPath(Node, Node) - Method in class level.elements.Level
 
getAvailablePaths() - Method in class textures.TextureHandler
 
getBatch() - Method in interface interfaces.IEntity
 
getCriticalNodes() - Method in class level.elements.Level
 
getCurrentLevel() - Method in class level.LevelAPI
 
getDesign() - Method in class level.elements.Room
 
getDesign() - Method in class level.generator.dungeong.roomg.Replacement
 
getDesign() - Method in class level.generator.dungeong.roomg.RoomTemplate
 
getEndNode() - Method in class level.elements.Level
 
getEndTile() - Method in class level.elements.Level
 
getFollowedObject() - Method in class graphic.DungeonCamera
 
getFrustum() - Method in class graphic.DungeonCamera
 
getGlobalPosition() - Method in class level.elements.Tile
 
getGraph(int, int, String) - Method in class level.generator.dungeong.graphg.GraphG
 
getGraphicController() - Method in interface interfaces.IEntity
Each drawable should use this GraphicController to draw itself.
getGraphicController() - Method in interface interfaces.IHUDElement
 
getIndex() - Method in class level.elements.Node
If two nodes have the same index, they are a copy of another
getInstance() - Static method in class textures.TextureHandler
 
getLayout() - Method in class level.elements.Room
 
getLayout() - Method in class level.generator.dungeong.roomg.Replacement
 
getLayout() - Method in class level.generator.dungeong.roomg.RoomTemplate
 
getLevel() - Method in class level.generator.dummy.DummyGenerator
 
getLevel() - Method in class level.generator.dungeong.levelg.LevelG
 
getLevel() - Method in interface level.generator.IGenerator
 
getLevelElement() - Method in class level.elements.Tile
 
getNeighbours() - Method in class level.elements.Node
 
getNextAnimationTexture() - Method in class graphic.Animation
Automatically updates currentFrame to next frame.
getNodes() - Method in class level.elements.Graph
 
getNodes() - Method in class level.elements.Level
 
getNodeToRoom(Room) - Method in class level.elements.Level
 
getOptionalNodes() - Method in class level.elements.Level
 
getPosition() - Method in class graphic.HUDCamera
 
getPosition() - Method in interface interfaces.IEntity
 
getPosition() - Method in interface interfaces.IHUDElement
The position of HUD elements are based on virtual coordinates.
getRandomFloorTile() - Method in class level.elements.Room
 
getRandomNode() - Method in class level.elements.Level
 
getRandomRoom() - Method in class level.elements.Level
 
getReplacements(DesignLabel) - Method in class level.generator.dungeong.roomg.ReplacementLoader
Returns a list of Replacements that have the corresponding DesignLabel
getRooms() - Method in class level.elements.Level
 
getRoomTemplates(DesignLabel) - Method in class level.generator.dungeong.roomg.RoomTemplateLoader
Returns a list of RoomTemplates that have the corresponding DesignLabel
getRoomToNode(Node) - Method in class level.elements.Level
 
getShortestPath(Node, Node) - Method in class level.elements.Level
 
getStartNode() - Method in class level.elements.Level
 
getStartTile() - Method in class level.elements.Level
 
getTexture() - Method in interface interfaces.IAnimatable
 
getTexture() - Method in interface interfaces.IEntity
 
getTexture() - Method in interface interfaces.IHUDElement
 
getTexture() - Method in class level.elements.Tile
 
getTexture(String) - Method in class textures.TextureMap
Searches the HashMap for the matching texture and returns it.
getTextures(String) - Method in class textures.TextureHandler
Searches for all textures paths that matches with the given regular expression.
getValue() - Method in enum class level.tools.LevelElement
 
Graph - Class in level.elements
 
Graph() - Constructor for class level.elements.Graph
Create a Graph with two connected nodes.
Graph(Graph) - Constructor for class level.elements.Graph
copy graph
GraphG - Class in level.generator.dungeong.graphg
 
GraphG() - Constructor for class level.generator.dungeong.graphg.GraphG
 
graphic - package graphic
 

H

HELL - Enum constant in enum class level.tools.DesignLabel
 
hud - Variable in class controller.MainController
 
hudBatch - Variable in class controller.MainController
 
hudCamera - Variable in class controller.MainController
 
HUDCamera - Class in graphic
 
HUDCamera() - Constructor for class graphic.HUDCamera
 
HUDController - Class in controller
 
HUDController(SpriteBatch, HUDCamera) - Constructor for class controller.HUDController
Keeps a set of HUD elements and makes sure they are drawn.

I

IAnimatable - Interface in interfaces
Should be implemented by all objects that have an Animation.
ICE - Enum constant in enum class level.tools.DesignLabel
 
IEntity - Interface in interfaces
Must be implemented for all objects that should be controlled by the EntityController .
IGenerator - Interface in level.generator
 
IHUDElement - Interface in interfaces
Should be implemented by all HUD objects.
interfaces - package interfaces
 
IOnLevelLoader - Interface in level
 
isPointInFrustum(float, float) - Method in class graphic.DungeonCamera
Checks if the point (x,y) is probably been seen on the screen.
isRoomReachableWithout(Node, Node, Node) - Method in class level.elements.Level
 

L

level - package level
 
Level - Class in level.elements
 
Level(List<Node>, List<Room>) - Constructor for class level.elements.Level
 
level.elements - package level.elements
 
level.generator - package level.generator
 
level.generator.dummy - package level.generator.dummy
 
level.generator.dungeong.graphg - package level.generator.dungeong.graphg
 
level.generator.dungeong.levelg - package level.generator.dungeong.levelg
 
level.generator.dungeong.roomg - package level.generator.dungeong.roomg
 
level.tools - package level.tools
 
levelAPI - Variable in class controller.MainController
 
LevelAPI - Class in level
 
LevelAPI(SpriteBatch, Painter, IGenerator, IOnLevelLoader) - Constructor for class level.LevelAPI
 
LevelElement - Enum Class in level.tools
Each type of field in a level can be represented by an integer value.
LevelG - Class in level.generator.dungeong.levelg
 
LevelG() - Constructor for class level.generator.dungeong.levelg.LevelG
 
LibgdxSetup - Class in controller
ApplicationListener that delegates to the MainGameController.
LibgdxSetup(MainController) - Constructor for class controller.LibgdxSetup
ApplicationListener that delegates to the MainGameController.
loadLevel() - Method in class level.LevelAPI
 

M

MainController - Class in controller
The heart of the framework.
MainController() - Constructor for class controller.MainController
 
MyController - Class in demo
 
MyController() - Constructor for class demo.MyController
 

N

Node - Class in level.elements
 
Node(int) - Constructor for class level.elements.Node
 
Node(Node) - Constructor for class level.elements.Node
copy node
NoSolutionException - Exception in level.generator.dungeong.graphg
Thrown when no solution could be found after several attempts
NoSolutionException() - Constructor for exception level.generator.dungeong.graphg.NoSolutionException
 
NoSolutionException(String) - Constructor for exception level.generator.dungeong.graphg.NoSolutionException
 
notConnectedWith(Node) - Method in class level.elements.Node
check if this node is not connected to specific another node

O

onLevelLoad() - Method in class demo.MyController
 
onLevelLoad() - Method in interface level.IOnLevelLoader
 

P

painter - Variable in class controller.MainController
 
Painter - Class in graphic
Uses LibGDX to draw sprites on the various SpriteBatches.
Painter(DungeonCamera) - Constructor for class graphic.Painter
Uses LibGDX to draw sprites on the various SpriteBatches.
Point - Class in tools
For easy handling of positions in the dungeon.
Point(float, float) - Constructor for class tools.Point
 
Point(Point) - Constructor for class tools.Point
Copies the point.

R

removable() - Method in interface interfaces.IEntity
 
remove(Object) - Method in class controller.AbstractController
 
render(float) - Method in class controller.MainController
Main game loop.
replace(List<Replacement>, Point) - Method in class level.generator.dungeong.roomg.RoomTemplate
Replace all placeholder with the replacements in the list
Replacement - Class in level.generator.dungeong.roomg
can be used to replace placeholder in a room layout
Replacement(LevelElement[][], boolean, DesignLabel) - Constructor for class level.generator.dungeong.roomg.Replacement
 
ReplacementLoader - Class in level.generator.dungeong.roomg
loads and stores replacements from a jsons
ReplacementLoader(String) - Constructor for class level.generator.dungeong.roomg.ReplacementLoader
Creates a ReplacementLoader and loads the replacements from the json.
Room - Class in level.elements
 
Room(LevelElement[][], DesignLabel, Point, Point) - Constructor for class level.elements.Room
 
RoomTemplate - Class in level.generator.dungeong.roomg
 
RoomTemplate(RoomTemplate) - Constructor for class level.generator.dungeong.roomg.RoomTemplate
copy a room
RoomTemplate(LevelElement[][], DesignLabel, Point) - Constructor for class level.generator.dungeong.roomg.RoomTemplate
A RoomTemplate can be used to create a room.
RoomTemplateLoader - Class in level.generator.dungeong.roomg
loads and stores roomtemplates from a json
RoomTemplateLoader(String) - Constructor for class level.generator.dungeong.roomg.RoomTemplateLoader
Creates a RoomTemplateLoader and loads the template from the json.

S

setEndNode(Node) - Method in class level.elements.Level
 
setEndTile(Tile) - Method in class level.elements.Level
 
setFocusPoint(Point) - Method in class graphic.DungeonCamera
Stops following and set the camera on a fix position.
setIndex(int) - Method in class level.elements.Node
If two nodes have the same index, they are a copy of another Sets the index.
setLayout(Tile[][]) - Method in class level.elements.Room
 
setLayout(LevelElement[][]) - Method in class level.generator.dungeong.roomg.Replacement
 
setLayout(LevelElement[][]) - Method in class level.generator.dungeong.roomg.RoomTemplate
 
setSpriteBatch(SpriteBatch) - Method in class controller.MainController
 
setStartNode(Node) - Method in class level.elements.Level
 
setStartTile(Tile) - Method in class level.elements.Level
 
setup() - Method in class controller.MainController
 
setup() - Method in class demo.MyController
 
SKIP - Enum constant in enum class level.tools.LevelElement
 

T

TextureHandler - Class in textures
A texture handler class for managing textures paths for further use.
TextureMap - Class in textures
 
TextureMap() - Constructor for class textures.TextureMap
 
textures - package textures
 
Tile - Class in level.elements
 
Tile(String, Point, LevelElement) - Constructor for class level.elements.Tile
 
TileTextureFactory - Class in level.tools
 
TileTextureFactory() - Constructor for class level.tools.TileTextureFactory
 
toDot() - Method in class level.elements.Graph
 
toDot() - Method in class level.elements.Node
 
tools - package tools
 

U

update() - Method in class controller.AbstractController
Updates all Elements that are registered at this controller
update() - Method in class controller.EntityController
Removes deletable entities and calls the update and draw method for every registered entity.
update() - Method in class controller.HUDController
Redraws the HUD and all HUD elements.
update() - Method in class graphic.DungeonCamera
Updates camera position.
update() - Method in interface interfaces.IEntity
Will be executed every frame.
update() - Method in class level.LevelAPI
 
USE_DUMMY_GENERATOR - Static variable in class tools.Constants
 

V

valueOf(String) - Static method in enum class level.tools.DesignLabel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class level.tools.LevelElement
Returns the enum constant of this class with the specified name.
values() - Static method in enum class level.tools.DesignLabel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class level.tools.LevelElement
Returns an array containing the constants of this enum class, in the order they are declared.
VIRTUAL_HEIGHT - Static variable in class tools.Constants
 
VIRTUAL_WIDTH - Static variable in class tools.Constants
 

W

WALL - Enum constant in enum class level.tools.LevelElement
This field is a wall-field
WATER - Enum constant in enum class level.tools.DesignLabel
 
WILDCARD - Enum constant in enum class level.tools.LevelElement
This field can be replaced with another one
WINDOW_HEIGHT - Static variable in class tools.Constants
 
WINDOW_WIDTH - Static variable in class tools.Constants
 
writeToJSON(List<Graph>, String) - Method in class level.generator.dungeong.graphg.GraphG
Writes down the list to a json
writeToJSON(List<Replacement>, String) - Method in class level.generator.dungeong.roomg.ReplacementLoader
Writes down the list to a json
writeToJSON(List<RoomTemplate>, String) - Method in class level.generator.dungeong.roomg.RoomTemplateLoader
Writes down the list to a json

X

x - Variable in class tools.Point
 

Y

y - Variable in class tools.Point
 
A B C D E F G H I L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form