Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractController<T extends DungeonElement> - Class in controller
-
A controller manages elements of a certain type and is based on a layer system.
- AbstractController() - Constructor for class controller.AbstractController
- add(Node) - Method in class level.generator.dungeong.levelg.Chain
- add(T) - Method in class controller.AbstractController
-
Adds the element with default layer (20) to this controller, if it is not already added.
- add(T, ControllerLayer) - Method in class controller.AbstractController
-
Adds the element with the specific layer to this controller, if it is not already added.
- addConnection(Tile) - Method in class level.elements.room.Tile
-
connects to tile together.
- 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
- Animatable - Class in basiselements
-
A object that has an
Animation
. - Animatable(Painter, SpriteBatch) - Constructor for class basiselements.Animatable
-
Must be implemented for all objects that should be controlled by the
EntityController
. - Animation - Class in graphic
-
A list of textures from an animation.
- Animation(Collection<String>, int) - Constructor for class graphic.Animation
-
Creates an animation.
B
- basiselements - package basiselements
- batch - Variable in class controller.MainController
-
The batch is necessary to draw ALL the stuff.
- beginFrame() - Method in class controller.MainController
-
Called at the beginning of each frame.
- BFEdge - Class in level.elements.graph
-
An edge, that creates a circle in the graph.
- BFEdge(int, int) - Constructor for class level.elements.graph.BFEdge
- BOTTOM - Static variable in record class controller.ControllerLayer
- BOTTOM_VALUE - Static variable in record class controller.ControllerLayer
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
- Chain - Class in level.generator.dungeong.levelg
-
A Chain is a list of nodes where each node is connected to his predecessor and his successor.
- Chain() - Constructor for class level.generator.dungeong.levelg.Chain
- clear() - Method in class controller.AbstractController
-
Clears the entire controller (removes all elements).
- clearLayer(ControllerLayer) - Method in class controller.AbstractController
-
Removes all elements in the specific layer.
- clone() - Method in class controller.AbstractController
- compareTo(ControllerLayer) - Method in record class controller.ControllerLayer
- compareTo(Chain) - Method in class level.generator.dungeong.levelg.Chain
- ConfigurationSpace - Class in level.generator.dungeong.levelg
- ConfigurationSpace(RoomTemplate, Node, Coordinate) - Constructor for class level.generator.dungeong.levelg.ConfigurationSpace
- connect(Node) - Method in class level.elements.graph.Node
-
Add a new neighbour.
- connectNewNode(int) - Method in class level.elements.graph.Graph
-
Try to connect an existing node with a new node.
- connectNodes(int, int) - Method in class level.elements.graph.Graph
-
Try to connect two existing nodes with another.
- Constants - Class in tools
- Constants() - Constructor for class tools.Constants
- contains(Object) - Method in class controller.AbstractController
-
Returns true, if the element is in this controller.
- containsAll(Collection<?>) - Method in class controller.AbstractController
- controller - package controller
- ControllerLayer - Record Class in controller
-
A class to represent a layer on wich elements are drawn.
- ControllerLayer(int) - Constructor for record class controller.ControllerLayer
-
Creates an instance of a
ControllerLayer
record class. - Coordinate - Class in level.tools
-
Coordinate in the dungeon, based on array index.
- Coordinate(int, int) - Constructor for class level.tools.Coordinate
- Coordinate(Coordinate) - Constructor for class level.tools.Coordinate
- create() - Method in class controller.LibgdxSetup
D
- DEFAULT - Enum constant in enum class level.tools.DesignLabel
- DEFAULT - Static variable in record class controller.ControllerLayer
- DEFAULT_VALUE - Static variable in record class controller.ControllerLayer
- DEFAULT_ZOOM_FACTOR - Static variable in class tools.Constants
-
200% zoom.
- DesignLabel - Enum Class in level.tools
-
Specifies which textures and layouts should be used for the room.
- directionTo(Tile) - Method in class level.elements.room.Tile
-
Returns the direction to a given tile.
- DISABLE_REPLACEMENTS - Static variable in class tools.Constants
-
Disable Replacements in DungeonG.
- dispose() - Method in class controller.LibgdxSetup
- DOOR - Enum constant in enum class level.tools.LevelElement
-
This field can be a door-field (only for use in the generator)
- draw() - Method in class basiselements.DungeonElement
-
Draws this instance on the batch.
- draw() - Method in class basiselements.Entity
-
Draws this instance on the batch.
- draw() - Method in class basiselements.HUDElement
-
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(String, Point, SpriteBatch) - Method in class graphic.HUDPainter
-
Draws the instance based on its position.
- 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) - Method in class basiselements.HUDElement
-
Draws this instance on the batch with a scaling.
- drawWithScaling(float, float, String, Point, SpriteBatch) - Method in class graphic.HUDPainter
-
Draws the instance based on its position with default offset and specific scaling.
- 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
- DungeonCamera - Class in graphic
-
Sauron's eye.
- DungeonCamera(Entity, float, float) - Constructor for class graphic.DungeonCamera
-
Creates a new camera.
- DungeonElement - Class in basiselements
- DungeonElement(SpriteBatch) - Constructor for class basiselements.DungeonElement
-
An object in the dungeon that can be drawn
E
- E - Enum constant in enum class level.elements.room.Tile.Direction
- endFrame() - Method in class controller.MainController
-
Called at the end of each frame.
- Entity - Class in basiselements
- Entity(Painter, SpriteBatch) - Constructor for class basiselements.Entity
-
A object that can be controlled by the
EntityController
. - 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
- equals(Object) - Method in record class controller.ControllerLayer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class level.generator.dungeong.levelg.Chain
- equals(Object) - Method in class level.tools.Coordinate
- estimate(Tile, Tile) - Method in class level.elements.astar.TileHeuristic
-
Heuristic used by the pathfinding algorithm
- 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.
- findPath(Tile, Tile) - Method in class level.elements.Level
-
Starts the indexed A* pathfinding algorithm a returns a path
- findTexture(LevelElement, DesignLabel, LevelElement[][], Coordinate) - Static method in class level.tools.TileTextureFactory
-
Checks which texture must be used for the passed field based on the surrounding fields.
- FLOOR - Enum constant in enum class level.tools.LevelElement
-
This field is a floor-field
- follow(Entity) - Method in class graphic.DungeonCamera
-
Sets the entity to follow.
- forEach(Consumer<? super T>) - Method in class controller.AbstractController
- 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
-
Generates the level
- getActiveAnimation() - Method in class basiselements.Animatable
- getAllPath(Node, Node) - Method in class level.elements.Level
-
Finds all paths form on node to another one.
- getAllRotations() - Method in class level.generator.dungeong.roomg.RoomTemplate
- getAvailablePaths() - Method in class textures.TextureHandler
- getBatch() - Method in class basiselements.DungeonElement
- getBfEdges() - Method in class level.elements.graph.Graph
- getConnections() - Method in class level.elements.room.Tile
- getConnections(Tile) - Method in class level.elements.Level
- getCoordinate() - Method in class level.elements.room.Tile
- getCost() - Method in class level.elements.astar.TileConnection
- getCriticalNodes() - Method in class level.elements.Level
-
Find all nodes, that have to be entered to get from the start to the end.
- getCurrentLevel() - Method in class level.LevelAPI
- getDesign() - Method in class level.elements.room.Room
- getDesign() - Method in class level.generator.dungeong.roomg.Replacement
- getDesign() - Method in class level.generator.dungeong.roomg.RoomTemplate
- getDoors() - Method in class level.generator.dungeong.roomg.RoomTemplate
- getEndNode() - Method in class level.elements.Level
- getEndTile() - Method in class level.elements.Level
-
Get the end tile.
- getFollowedObject() - Method in class graphic.DungeonCamera
- getFromNode() - Method in class level.elements.astar.TileConnection
- getGlobalPosition() - Method in class level.generator.dungeong.levelg.ConfigurationSpace
- getGraph(int, int, String) - Method in class level.generator.dungeong.graphg.GraphG
-
Read in a graph from .json with the given configuration.
- getGraph(String) - Method in class level.generator.dungeong.graphg.GraphG
-
Read in a graph from a given .json.
- getIndex() - Method in class level.elements.graph.Node
-
If two nodes have the same index, they are a copy of another
- getIndex() - Method in class level.elements.room.Tile
- getIndex(Tile) - Method in class level.elements.Level
- getInstance() - Static method in class textures.TextureHandler
- getLayout() - Method in class level.elements.room.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
-
Get a level with a random configuration.
- getLevel() - Method in class level.generator.LevelLoader.LevelLoader
-
Load a level from a json
- getLevel(int, int) - Method in class level.generator.dungeong.levelg.LevelG
- getLevel(int, int) - Method in interface level.generator.IGenerator
-
Get a leve with the given configuration.
- getLevel(int, int, DesignLabel) - Method in class level.generator.dungeong.levelg.LevelG
- getLevel(int, int, DesignLabel) - Method in interface level.generator.IGenerator
-
Get a leve with the given configuration.
- getLevel(File) - Static method in class level.elements.Level
-
Load a level from a json
- getLevel(List<Node>, List<Room>) - Static method in class level.elements.Level
-
Create a new level
- getLevel(Graph) - Method in class level.generator.dungeong.levelg.LevelG
- getLevel(Graph) - Method in interface level.generator.IGenerator
-
Generate a Level from a given graph.
- getLevel(Graph, DesignLabel) - Method in class level.generator.dungeong.levelg.LevelG
- getLevel(Graph, DesignLabel) - Method in interface level.generator.IGenerator
-
Generate a Level from a given graph.
- getLevel(DesignLabel) - Method in class level.generator.dungeong.levelg.LevelG
- getLevel(DesignLabel) - Method in interface level.generator.IGenerator
-
Get a leve with the given configuration.
- getLevelElement() - Method in class level.elements.room.Tile
- getLocalRef() - Method in class level.generator.dungeong.roomg.RoomTemplate
- getNeighbours() - Method in class level.elements.graph.Node
- getNextAnimationTexturePath() - Method in class graphic.Animation
-
Automatically updates currentFrame to next frame.
- getNode() - Method in class level.generator.dungeong.levelg.ConfigurationSpace
- getNode1() - Method in class level.elements.graph.BFEdge
- getNode2() - Method in class level.elements.graph.BFEdge
- getNodeCount() - Method in class level.elements.Level
- getNodes() - Method in class level.elements.graph.Graph
- getNodes() - Method in class level.elements.Level
- getNodes() - Method in class level.generator.dungeong.levelg.Chain
- getNodeToRoom(Room) - Method in class level.elements.Level
-
Finds the node to a given room.
- getOptionalNodes() - Method in class level.elements.Level
-
Find all nodes, that don't have to be entered to get from the start to the end.
- getPainter() - Method in class basiselements.Entity
-
Each drawable should use this
Painter
to draw itself. - getPainter() - Method in class basiselements.HUDElement
-
Each drawable should use this
Painter
to draw itself. - getPathToGraph() - Static method in class tools.Constants
-
Returns the absolute path to the resource inside the "assets" folder.
- getPathToLevel() - Static method in class tools.Constants
-
Returns the absolute path to the resource inside the "assets" folder.
- getPathToReplacements() - Static method in class tools.Constants
-
Returns the absolute path to the resource inside the "assets" folder.
- getPathToRoomTemplates() - Static method in class tools.Constants
-
Returns the absolute path to the resource inside the "assets" folder.
- getPosition() - Method in class basiselements.DungeonElement
- getRandomFloorTile() - Method in class level.elements.Level
- getRandomFloorTile() - Method in class level.elements.room.Room
- getRandomFloorTilePoint() - Method in class level.elements.Level
- getRandomNode() - Method in class level.elements.Level
- getRandomRoom() - Method in class level.elements.Level
- getRandomTile() - Method in class level.elements.Level
- getRandomTile() - Method in class level.elements.room.Room
- getRandomTilePoint() - Method in class level.elements.Level
- getRandomWallTile() - Method in class level.elements.Level
- getRandomWallTile() - Method in class level.elements.room.Room
- getRandomWallTilePoint() - Method in class level.elements.Level
- getReferencePointGlobal() - Method in class level.elements.room.Room
- getReferencePointLocal() - Method in class level.elements.room.Room
- 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
-
Finds the room to a given node.
- getRoomToPoint(Coordinate) - Method in class level.elements.Level
-
Get the room in which the pin is located in.
- getShortestPath(Node, Node) - Method in class level.elements.Level
-
Find the path with the lowest number of nodes from one node to another one.
- getStartNode() - Method in class level.elements.Level
- getStartTile() - Method in class level.elements.Level
-
Get the start tile.
- getTemplate() - Method in class level.generator.dungeong.levelg.ConfigurationSpace
- getTexture() - Method in class level.elements.room.Tile
- getTexture(String) - Method in class textures.TextureMap
-
Searches the HashMap for the matching texture and returns it.
- getTexturePath() - Method in class basiselements.Animatable
- getTexturePath() - Method in class basiselements.DungeonElement
- getTextures(String) - Method in class textures.TextureHandler
-
Searches for all textures paths that matches with the given regular expression.
- getTileAt(Coordinate) - Method in class level.elements.Level
-
Get a tile on the global position.
- getToNode() - Method in class level.elements.astar.TileConnection
- getValue() - Method in enum class level.tools.LevelElement
- Graph - Class in level.elements.graph
-
A graph indicating the structure of the level
- Graph() - Constructor for class level.elements.graph.Graph
-
Create a Graph with two connected nodes.
- Graph(Graph) - Constructor for class level.elements.graph.Graph
-
Copy the graph.
- GraphG - Class in level.generator.dungeong.graphg
-
Can read in graphs from .json or can generate new graphs.
- GraphG() - Constructor for class level.generator.dungeong.graphg.GraphG
- graphic - package graphic
H
- hashCode() - Method in record class controller.ControllerLayer
-
Returns a hash code value for this object.
- hashCode() - Method in class level.generator.dungeong.levelg.Chain
- hashCode() - Method in class level.tools.Coordinate
- hudBatch - Variable in class controller.MainController
-
This batch is used to draw the HUD elements on it.
- hudController - Variable in class controller.MainController
- HUDController - Class in controller
- HUDController(SpriteBatch) - Constructor for class controller.HUDController
-
Keeps a set of HUD elements and makes sure they are drawn.
- HUDElement - Class in basiselements
- HUDElement(HUDPainter, SpriteBatch) - Constructor for class basiselements.HUDElement
-
A object that can be controlled by the
HUDController
. - hudPainter - Variable in class controller.MainController
-
Draws hud
- HUDPainter - Class in graphic
-
Uses LibGDX to draw sprites on the various
SpriteBatch
es. - HUDPainter() - Constructor for class graphic.HUDPainter
I
- ICE - Enum constant in enum class level.tools.DesignLabel
- IGenerator - Interface in level.generator
- IOnLevelLoader - Interface in level
-
Interface to use a custom `onLevelLoad` method.
- isAccessible() - Method in class level.elements.room.Tile
-
Returns if the tile is accessible by a character.
- isCircle() - Method in class level.generator.dungeong.levelg.Chain
- isEmpty() - Method in class controller.AbstractController
-
Tests, if this controller has no elements.
- isOnEndTile(Entity) - Method in class level.elements.Level
-
Checks if the passed entity is on the tile to the next 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
-
Check if you can get from the start node to the goal node without entering to avoid node.
- isTileReachable(Tile, Tile) - Method in class level.elements.Level
-
Check if you can reach the goal tile from the start tile.
- iterator() - Method in class controller.AbstractController
L
- layoutEquals(ConfigurationSpace) - Method in class level.generator.dungeong.levelg.ConfigurationSpace
- level - package level
- Level - Class in level.elements
-
A level is a set of connect rooms to play in.
- level.elements - package level.elements
- level.elements.astar - package level.elements.astar
- level.elements.graph - package level.elements.graph
- level.elements.room - package level.elements.room
- 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.generator.LevelLoader - package level.generator.LevelLoader
- level.tools - package level.tools
- levelAPI - Variable in class controller.MainController
- LevelAPI - Class in level
-
Manages the 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
-
Uses RoomG and GraphG to generate level.
- LevelG(String, String, String) - Constructor for class level.generator.dungeong.levelg.LevelG
-
Uses RoomG and GraphG to generate level.
- LevelLoader - Class in level.generator.LevelLoader
- LevelLoader() - Constructor for class level.generator.LevelLoader.LevelLoader
- 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
-
Load a new level.
- loadLevel(int, int, DesignLabel) - Method in class level.LevelAPI
-
Load a new level with the given configuration.
- LOGO_PATH - Static variable in class tools.Constants
-
Sets the LibGDX-window logo path.
M
- MainController - Class in controller
-
The heart of the framework.
- MainController() - Constructor for class controller.MainController
- makeConnections() - Method in class level.elements.Level
-
Connect each tile with it neighbour tiles.
N
- N - Enum constant in enum class level.elements.room.Tile.Direction
- Node - Class in level.elements.graph
-
A node in a graph.
- Node(int) - Constructor for class level.elements.graph.Node
-
Creates a new node.
- Node(Node) - Constructor for class level.elements.graph.Node
-
Copy a node without the neighbours.
- NoSolutionException - Exception in level.generator.dungeong.graphg
-
Thrown when no solution could be found.
- 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.graph.Node
-
check if this node is not connected to specific another node
O
- onLevelLoad() - Method in interface level.IOnLevelLoader
-
Called after a new level has been loaded.
- overlap(ConfigurationSpace) - Method in class level.generator.dungeong.levelg.ConfigurationSpace
- overlap(RoomTemplate, Coordinate) - Method in class level.generator.dungeong.levelg.ConfigurationSpace
P
- painter - Variable in class controller.MainController
-
Draws objects
- Painter - Class in graphic
-
Uses LibGDX to draw sprites on the various
SpriteBatch
es. - Painter(DungeonCamera) - Constructor for class graphic.Painter
-
Uses LibGDX to draw sprites on the various
SpriteBatch
es. - parallelStream() - Method in class controller.AbstractController
- PLACED_DOOR - Enum constant in enum class level.tools.LevelElement
-
This field is a door-field
- 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 class basiselements.DungeonElement
- remove(Object) - Method in class controller.AbstractController
-
Removes the element from this controller, if it is in this controller.
- removeIf(Predicate<? super T>) - Method in class controller.AbstractController
- render(float) - Method in class controller.MainController
-
Main game loop.
- replace(List<Replacement>, Coordinate) - Method in class level.generator.dungeong.roomg.RoomTemplate
-
Replace all placeholder with the replacements in the list.
- replace(List<Replacement>, Coordinate, DesignLabel) - Method in class level.generator.dungeong.roomg.RoomTemplate
-
Replace all placeholder with the replacements in the list.
- Replacement - Class in level.generator.dungeong.roomg
-
Will 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 .json.
- 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
-
A Room is a collection of tiles and has a position in the global system.
- Room(LevelElement[][], DesignLabel, Coordinate, Coordinate) - Constructor for class level.elements.room.Room
- RoomTemplate - Class in level.generator.dungeong.roomg
-
A RoomTemplate is a blueprint for a room.
- RoomTemplate(RoomTemplate) - Constructor for class level.generator.dungeong.roomg.RoomTemplate
-
Copy a roomTemplate.
- RoomTemplate(LevelElement[][], DesignLabel, Coordinate) - 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.
- rotateTemplate() - Method in class level.generator.dungeong.roomg.RoomTemplate
- runLoop() - Method in class controller.MainController
S
- S - Enum constant in enum class level.elements.room.Tile.Direction
- setCircle(boolean) - Method in class level.generator.dungeong.levelg.Chain
- setDesign(DesignLabel) - Method in class level.generator.dungeong.roomg.RoomTemplate
- setEndNode(Node) - Method in class level.elements.Level
-
Set the end node.
- setEndTile(Tile) - Method in class level.elements.Level
-
Set the end tile.
- setFocusPoint(Point) - Method in class graphic.DungeonCamera
-
Stops following and set the camera on a fix position.
- setGenerator(IGenerator) - Method in class level.LevelAPI
-
Set the level generator
- setHudBatch(SpriteBatch) - Method in class controller.MainController
- setIndex(int) - Method in class level.elements.graph.Node
-
If two nodes have the same index, they are a copy of another Sets the index.
- setIndex(int) - Method in class level.elements.room.Tile
- setLayout(Tile[][]) - Method in class level.elements.room.Room
-
Set the layout of the room.
- setLayout(LevelElement[][]) - Method in class level.generator.dungeong.roomg.Replacement
- setLayout(LevelElement[][]) - Method in class level.generator.dungeong.roomg.RoomTemplate
- setLevel(Level) - Method in class level.LevelAPI
-
Sets the current level to the given level and calls onLevelLoad().
- setLevelElement(LevelElement, String) - Method in class level.elements.room.Tile
-
Change the type and texture of the tile.
- setLocalRef(Coordinate) - Method in class level.generator.dungeong.roomg.RoomTemplate
- setNodes(List<Node>) - Method in class level.generator.dungeong.levelg.Chain
- setRandomEnd() - Method in class level.elements.Level
-
Mark a random tile as end
- setRandomStart() - Method in class level.elements.Level
-
Mark a random tile as start
- setSpriteBatch(SpriteBatch) - Method in class controller.MainController
- setStartNode(Node) - Method in class level.elements.Level
-
Set the start node.
- setStartTile(Tile) - Method in class level.elements.Level
-
Set the start tile.
- setup() - Method in class controller.MainController
-
Called once at the beginning of the game.
- size() - Method in class controller.AbstractController
- SKIP - Enum constant in enum class level.tools.LevelElement
- spliterator() - Method in class controller.AbstractController
- stream() - Method in class controller.AbstractController
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.room
-
A Tile is a field of the level.
- Tile(String, Coordinate, LevelElement) - Constructor for class level.elements.room.Tile
-
Creates a new Tile.
- Tile.Direction - Enum Class in level.elements.room
- TileConnection - Class in level.elements.astar
-
Represents a connection between two tile
- TileConnection(Tile, Tile) - Constructor for class level.elements.astar.TileConnection
- TileHeuristic - Class in level.elements.astar
- TileHeuristic() - Constructor for class level.elements.astar.TileHeuristic
- TileTextureFactory - Class in level.tools
- TileTextureFactory() - Constructor for class level.tools.TileTextureFactory
- toArray() - Method in class controller.AbstractController
- toArray(IntFunction<T1[]>) - Method in class controller.AbstractController
- toArray(T1[]) - Method in class controller.AbstractController
- toCoordinate() - Method in class tools.Point
-
Convert Point to Coordinate by parsing float to int
- toDot() - Method in class level.elements.graph.Graph
- toDot() - Method in class level.elements.graph.Node
- toJSON() - Method in class level.elements.Level
-
Converts Level in JSON.
- tools - package tools
- TOP - Static variable in record class controller.ControllerLayer
- TOP_VALUE - Static variable in record class controller.ControllerLayer
- toPoint() - Method in class level.tools.Coordinate
-
Convert Coordinate to Point
- toString() - Method in class controller.AbstractController
- toString() - Method in record class controller.ControllerLayer
-
Returns a string representation of this record class.
- toString() - Method in class level.elements.graph.BFEdge
U
- update() - Method in class basiselements.DungeonElement
-
Will be executed every frame.
- update() - Method in class controller.AbstractController
-
Updates all elements that are registered at this controller, removes deletable elements and calls the update and draw method for every registered element.
- 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 class level.LevelAPI
-
Draw level
- useDoor(Coordinate) - Method in class level.generator.dungeong.roomg.RoomTemplate
V
- value() - Method in record class controller.ControllerLayer
-
Returns the value of the
value
record component. - valueOf(String) - Static method in enum class level.elements.room.Tile.Direction
-
Returns the enum constant of this class with the specified name.
- 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.elements.room.Tile.Direction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- 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
- W - Enum constant in enum class level.elements.room.Tile.Direction
- WALL - Enum constant in enum class level.tools.LevelElement
-
This field is a wall-field
- WILD - 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_TITLE - Static variable in class tools.Constants
-
Sets the window title for the LibGDX window.
- WINDOW_WIDTH - Static variable in class tools.Constants
- writeToJSON(String) - Method in class level.elements.Level
-
Writes down this level in a json.
- writeToJSON(List<Graph>, String) - Method in class level.generator.dungeong.graphg.GraphG
-
Writes down a list of graphs to a .json.
- writeToJSON(List<Replacement>, String) - Static method in class level.generator.dungeong.roomg.ReplacementLoader
-
Writes down a list of replacments to a .json.
- writeToJSON(List<RoomTemplate>, String) - Static method in class level.generator.dungeong.roomg.RoomTemplateLoader
-
Writes down the list to a .json.
X
- x - Variable in class level.tools.Coordinate
- x - Variable in class tools.Point
Y
- y - Variable in class level.tools.Coordinate
- y - Variable in class tools.Point
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form