Index
All Classes and Interfaces|All Packages|Serialized Form
A
- A - Enum constant in enum class org.collebol.client.input.KeyType
- add(Vector2D) - Method in class org.collebol.shared.math.Vector2D
-
Add up two vectors.
- addChunk(Chunk) - Method in class org.collebol.game.world.World
- addEntity(GameObject) - Method in class org.collebol.game.world.Chunk
- addItem(Vector2D, float, float, Vector2D) - Method in class org.collebol.client.gui.graphics.renderer.Batch
- addScale(float) - Method in class org.collebol.shared.math.Matrix3
- addScale(Vector2D) - Method in class org.collebol.shared.math.Matrix3
- addTile(GameObject) - Method in class org.collebol.game.world.Chunk
-
Adds a tile to the chunk.
- addTranslate(Vector2D) - Method in class org.collebol.shared.math.Matrix3
- addUIRenderers() - Method in class org.collebol.client.gui.graphics.renderer.ui.UIRenderer
- align(int) - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer.TextBuilder
- align(int) - Method in class org.collebol.client.gui.graphics.Text.TextBuilder
- ALIGN_BOTTOM_LEFT - Static variable in class org.collebol.client.gui.graphics.Text
- ALIGN_BOTTOM_RIGHT - Static variable in class org.collebol.client.gui.graphics.Text
- ALIGN_CENTER - Static variable in class org.collebol.client.gui.graphics.Text
- ALIGN_TOP_LEFT - Static variable in class org.collebol.client.gui.graphics.Text
- ALIGN_TOP_RIGHT - Static variable in class org.collebol.client.gui.graphics.Text
- APOSTROPHE - Enum constant in enum class org.collebol.client.input.KeyType
- applyLight(int, Light, float, float[]) - Method in class org.collebol.client.gui.graphics.renderer.TextureRenderer
- ARROW_DOWN - Enum constant in enum class org.collebol.client.input.KeyType
- ARROW_LEFT - Enum constant in enum class org.collebol.client.input.KeyType
- ARROW_RIGHT - Enum constant in enum class org.collebol.client.input.KeyType
- ARROW_UP - Enum constant in enum class org.collebol.client.input.KeyType
- AudioPlayer - Interface in org.collebol.client.audio
B
- B - Enum constant in enum class org.collebol.client.input.KeyType
- backgroundColor(float[]) - Method in class org.collebol.client.gui.graphics.ui.component.Button.ButtonBuilder
- backgroundColor(float[]) - Method in class org.collebol.client.gui.graphics.ui.component.Field.FieldBuilder
- BACKSLASH - Enum constant in enum class org.collebol.client.input.KeyType
- BACKSPACE - Enum constant in enum class org.collebol.client.input.KeyType
- Batch - Class in org.collebol.client.gui.graphics.renderer
-
The Batch class represents a collection of items to be rendered with a specific texture; Its allows adding items with specific positions, scales rotation and origin point.
- Batch(int) - Constructor for class org.collebol.client.gui.graphics.renderer.Batch
- Batch.BatchItem - Class in org.collebol.client.gui.graphics.renderer
- BatchItem(Vector2D, float, float, Vector2D) - Constructor for class org.collebol.client.gui.graphics.renderer.Batch.BatchItem
- BEIGE - Static variable in class org.collebol.client.gui.graphics.Color
- bind() - Method in class org.collebol.client.gui.graphics.Texture
- BLACK - Static variable in class org.collebol.client.gui.graphics.Color
- BLUE - Static variable in class org.collebol.client.gui.graphics.Color
- borderColor(float[]) - Method in class org.collebol.client.gui.graphics.ui.component.Button.ButtonBuilder
- borderColor(float[]) - Method in class org.collebol.client.gui.graphics.ui.component.Field.FieldBuilder
- borderSize(float) - Method in class org.collebol.client.gui.graphics.ui.component.Button.ButtonBuilder
- borderSize(float) - Method in class org.collebol.client.gui.graphics.ui.component.Field.FieldBuilder
- BoxCollider - Class in org.collebol.client.physics.collision
- BoxCollider() - Constructor for class org.collebol.client.physics.collision.BoxCollider
- BoxCollider(float, float, Vector2D) - Constructor for class org.collebol.client.physics.collision.BoxCollider
- BoxCollider(BoxCollider.BoxColliderBuilder) - Constructor for class org.collebol.client.physics.collision.BoxCollider
- BoxCollider.BoxColliderBuilder - Class in org.collebol.client.physics.collision
- BoxColliderBuilder() - Constructor for class org.collebol.client.physics.collision.BoxCollider.BoxColliderBuilder
- BROWN - Static variable in class org.collebol.client.gui.graphics.Color
- Button - Class in org.collebol.client.gui.graphics.ui.component
-
The Button class represents a UI
Component. - Button(Button.ButtonBuilder) - Constructor for class org.collebol.client.gui.graphics.ui.component.Button
- Button.ButtonBuilder - Class in org.collebol.client.gui.graphics.ui.component
- ButtonBuilder(int) - Constructor for class org.collebol.client.gui.graphics.ui.component.Button.ButtonBuilder
- ButtonRenderer - Class in org.collebol.client.gui.graphics.renderer.ui
-
The ButtonRenderer class is responsible for rendering button components in the UI.
- ButtonRenderer(EJGEngine) - Constructor for class org.collebol.client.gui.graphics.renderer.ui.ButtonRenderer
-
ButtonRenderer constructor.
C
- C - Enum constant in enum class org.collebol.client.input.KeyType
- calculate() - Method in class org.collebol.client.gui.graphics.Camera
- calculate(Sound, Vector2D) - Static method in class org.collebol.client.math.VolumeCalculator
-
Calculates the volume of a sound based on its position relative to the listener's position.
- call(EJGEngine, Object...) - Method in class org.collebol.client.event.Event
-
Triggers the event and notifies all registered listeners.
- callClientEvent(Class<? extends Event>) - Method in class org.collebol.client.event.EventHandler
-
Returns the client event instance based on the provided event class.
- Camera - Class in org.collebol.client.gui.graphics
-
The Camera class represents a camera in a 2D space.
- Camera(Vector2D, float, float, EJGEngine) - Constructor for class org.collebol.client.gui.graphics.Camera
- CameraCalculator - Class in org.collebol.client.math
-
You can calculate camera data here.
- CameraCalculator(Camera, EJGEngine) - Constructor for class org.collebol.client.math.CameraCalculator
- CameraRenderer - Class in org.collebol.client.gui.graphics.renderer
-
Render objects within the canvas of the camera.
- CameraRenderer(EJGEngine) - Constructor for class org.collebol.client.gui.graphics.renderer.CameraRenderer
- CameraRenderer.TextBuilder - Class in org.collebol.client.gui.graphics.renderer
- CameraSoundPlayer - Class in org.collebol.client.audio
-
The CameraSoundPlayer class is responsible for playing sounds relative to the camera's position.
- CameraSoundPlayer(String, EJGEngine) - Constructor for class org.collebol.client.audio.CameraSoundPlayer
-
CameraSoundPlayer constructor.
- CAPS_LOCK - Enum constant in enum class org.collebol.client.input.KeyType
- CBHandshakePacket - Class in org.collebol.shared.packet.clientBound
- CBHandshakePacket(long) - Constructor for class org.collebol.shared.packet.clientBound.CBHandshakePacket
- checkIfSubComponent(Field, Vector2D) - Static method in class org.collebol.client.math.ComponentCalculator
-
Checks if there is a subcomponent of the given parent below the mouse.
- Chunk - Class in org.collebol.game.world
-
The Chunk class represents a segment of the game world, containing tiles ad entities.
- Chunk(int, int, int) - Constructor for class org.collebol.game.world.Chunk
-
Chunk constructor.
- cleanup() - Method in class org.collebol.client.gui.graphics.renderer.TextRenderer
- Client - Class in org.collebol.client.utils
- Client(Player) - Constructor for class org.collebol.client.utils.Client
- ClientButtonClickEvent - Class in org.collebol.client.event.client.button
- ClientButtonClickEvent() - Constructor for class org.collebol.client.event.client.button.ClientButtonClickEvent
- ClientButtonClickEvent(Vector2D, KeyType, boolean, Button) - Constructor for class org.collebol.client.event.client.button.ClientButtonClickEvent
- ClientButtonHoverEvent - Class in org.collebol.client.event.client.button
- ClientButtonHoverEvent() - Constructor for class org.collebol.client.event.client.button.ClientButtonHoverEvent
- ClientButtonHoverEvent(Vector2D, Button, boolean) - Constructor for class org.collebol.client.event.client.button.ClientButtonHoverEvent
- ClientFieldClickEvent - Class in org.collebol.client.event.client.field
- ClientFieldClickEvent() - Constructor for class org.collebol.client.event.client.field.ClientFieldClickEvent
- ClientFieldClickEvent(Vector2D, KeyType, boolean, Field) - Constructor for class org.collebol.client.event.client.field.ClientFieldClickEvent
- ClientFieldHoverEvent - Class in org.collebol.client.event.client.field
- ClientFieldHoverEvent() - Constructor for class org.collebol.client.event.client.field.ClientFieldHoverEvent
- ClientFieldHoverEvent(Vector2D, Field, boolean) - Constructor for class org.collebol.client.event.client.field.ClientFieldHoverEvent
- ClientFieldSubHoverEvent - Class in org.collebol.client.event.client.field
- ClientFieldSubHoverEvent() - Constructor for class org.collebol.client.event.client.field.ClientFieldSubHoverEvent
- ClientFieldSubHoverEvent(Vector2D, Field, Component, int, boolean) - Constructor for class org.collebol.client.event.client.field.ClientFieldSubHoverEvent
- ClientKeyClickEvent - Class in org.collebol.client.event.client
-
The ClientKeyClickEvent class represents an event triggered by a key click.
- ClientKeyClickEvent() - Constructor for class org.collebol.client.event.client.ClientKeyClickEvent
- ClientKeyClickEvent(KeyType, boolean) - Constructor for class org.collebol.client.event.client.ClientKeyClickEvent
- ClientLeftClickEvent - Class in org.collebol.client.event.client
-
The ClientLeftClickEvent class represents an event triggered by a left mouse click.
- ClientLeftClickEvent() - Constructor for class org.collebol.client.event.client.ClientLeftClickEvent
- ClientLeftClickEvent(Vector2D, boolean) - Constructor for class org.collebol.client.event.client.ClientLeftClickEvent
- ClientListener - Class in org.collebol.client.event
-
The ClientListener class is an abstract class that implements the
Listenerinterface. - ClientListener() - Constructor for class org.collebol.client.event.ClientListener
- ClientRightClickEvent - Class in org.collebol.client.event.client
-
The ClientRightClickEvent class represents an event triggered by a right mouse click.
- ClientRightClickEvent() - Constructor for class org.collebol.client.event.client.ClientRightClickEvent
- ClientRightClickEvent(Vector2D, boolean) - Constructor for class org.collebol.client.event.client.ClientRightClickEvent
- ClientSession - Class in org.collebol.server
-
This class is responsible for managing every Client Session that has made a valid connection with the socket.
- ClientSession(Socket, Server) - Constructor for class org.collebol.server.ClientSession
- close() - Method in class org.collebol.server.ClientSession
- close() - Method in class org.collebol.server.Server
- Collider - Class in org.collebol.client.physics.collision
- Collider() - Constructor for class org.collebol.client.physics.collision.Collider
- collidesWith(Collider) - Method in class org.collebol.client.physics.collision.BoxCollider
- color(float[]) - Method in class org.collebol.client.gui.graphics.Light.LightBuilder
- Color - Class in org.collebol.client.gui.graphics
- Color() - Constructor for class org.collebol.client.gui.graphics.Color
- COMMA - Enum constant in enum class org.collebol.client.input.KeyType
- Component - Class in org.collebol.client.gui.graphics.ui
-
The Component class is an abstract class that represents a UI component in the game.
- Component() - Constructor for class org.collebol.client.gui.graphics.ui.Component
- ComponentCalculator - Class in org.collebol.client.math
- ComponentCalculator() - Constructor for class org.collebol.client.math.ComponentCalculator
- ComponentHandler - Class in org.collebol.client.gui.graphics.ui
- ComponentHandler() - Constructor for class org.collebol.client.gui.graphics.ui.ComponentHandler
- consoleListener() - Static method in class org.collebol.server.ServerConsole
- CYAN - Static variable in class org.collebol.client.gui.graphics.Color
D
- D - Enum constant in enum class org.collebol.client.input.KeyType
- DARK_GRAY - Static variable in class org.collebol.client.gui.graphics.Color
- DELETE - Enum constant in enum class org.collebol.client.input.KeyType
- disable() - Method in class org.collebol.client.audio.SoundPlayer
- disable() - Method in class org.collebol.client.EJGEngine
-
This method is called when the game is shutting down.
- distance(Vector2D) - Method in class org.collebol.shared.math.Vector2D
-
Calculate the distance between another vector.
E
- E - Enum constant in enum class org.collebol.client.input.KeyType
- EJGEngine - Class in org.collebol.client
-
This abstract class representing the core engine for EJGEngine on the Client side.
- EJGEngine() - Constructor for class org.collebol.client.EJGEngine
- enable() - Method in class org.collebol.client.EJGEngine
-
This method is called right before the
MainWindowis started. - END - Enum constant in enum class org.collebol.client.input.KeyType
- EngineObject - Class in org.collebol.shared
-
EngineObject represents an object in the game engine, holding its position (as a Vector2D) and texture (for visual representation).
- EngineObject() - Constructor for class org.collebol.shared.EngineObject
- ENTER - Enum constant in enum class org.collebol.client.input.KeyType
- Entity - Class in org.collebol.shared.objects.entity
- Entity(UUID) - Constructor for class org.collebol.shared.objects.entity.Entity
- EQUAL - Enum constant in enum class org.collebol.client.input.KeyType
- ESCAPE - Enum constant in enum class org.collebol.client.input.KeyType
- Event - Class in org.collebol.client.event
-
The Event class is a abstract class that represents en event within the game engine.
- Event() - Constructor for class org.collebol.client.event.Event
- EventHandler - Class in org.collebol.client.event
-
Class responsible for handling and registering client events in the EJGEngine.
- EventHandler(EJGEngine) - Constructor for class org.collebol.client.event.EventHandler
- ExamplePanel - Class in org.collebol.client
- ExamplePanel(EJGEngine) - Constructor for class org.collebol.client.ExamplePanel
F
- F - Enum constant in enum class org.collebol.client.input.KeyType
- F1 - Enum constant in enum class org.collebol.client.input.KeyType
- F10 - Enum constant in enum class org.collebol.client.input.KeyType
- F11 - Enum constant in enum class org.collebol.client.input.KeyType
- F12 - Enum constant in enum class org.collebol.client.input.KeyType
- F2 - Enum constant in enum class org.collebol.client.input.KeyType
- F3 - Enum constant in enum class org.collebol.client.input.KeyType
- F4 - Enum constant in enum class org.collebol.client.input.KeyType
- F5 - Enum constant in enum class org.collebol.client.input.KeyType
- F6 - Enum constant in enum class org.collebol.client.input.KeyType
- F7 - Enum constant in enum class org.collebol.client.input.KeyType
- F8 - Enum constant in enum class org.collebol.client.input.KeyType
- F9 - Enum constant in enum class org.collebol.client.input.KeyType
- Field - Class in org.collebol.client.gui.graphics.ui.component
-
The Field class represents a UI
Component. - Field(Field.FieldBuilder) - Constructor for class org.collebol.client.gui.graphics.ui.component.Field
-
Field constructor.
- Field.FieldBuilder - Class in org.collebol.client.gui.graphics.ui.component
- FieldBuilder(int) - Constructor for class org.collebol.client.gui.graphics.ui.component.Field.FieldBuilder
- FieldRenderer - Class in org.collebol.client.gui.graphics.renderer.ui
-
The FieldRenderer class is responsible for rendering field components in the UI.
- FieldRenderer(EJGEngine) - Constructor for class org.collebol.client.gui.graphics.renderer.ui.FieldRenderer
-
FieldRenderer constructor.
- FileUtils - Class in org.collebol.client.utils
- FileUtils() - Constructor for class org.collebol.client.utils.FileUtils
- font(String) - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer.TextBuilder
- FrustumCulling - Class in org.collebol.client.math
-
The FrustumCulling class provides a method to determine if a given position is within the camera's frustum.
- FrustumCulling() - Constructor for class org.collebol.client.math.FrustumCulling
G
- G - Enum constant in enum class org.collebol.client.input.KeyType
- GameLocation - Class in org.collebol.shared
-
The GameLocation class represents the location of GameObject's in the game.
- GameLocation(double, double) - Constructor for class org.collebol.shared.GameLocation
- GameManager - Class in org.collebol.game
-
Abstract class representing the game manager in the EJGEngine.
- GameManager() - Constructor for class org.collebol.game.GameManager
- GameObject - Class in org.collebol.shared.objects
-
The GameObject class represents a object in the game world.
- GameObject() - Constructor for class org.collebol.shared.objects.GameObject
- GameRegister - Class in org.collebol.game
-
The GameRegister class is responsible for managing players, entities, and worlds within the game.
- GameRegister() - Constructor for class org.collebol.game.GameRegister
-
Constructs a new GameRegister instance, initializing empty collections for players, entities, and worlds.
- generateChunk(Chunk) - Method in class org.collebol.game.world.WorldGenerator
-
Generate chunk method.
- getAlign() - Method in class org.collebol.client.gui.graphics.Text
- getAmbientLight() - Method in class org.collebol.client.gui.graphics.Camera
- getBackgroundColor() - Method in class org.collebol.client.gui.graphics.ui.component.Button
- getBackgroundColor() - Method in class org.collebol.client.gui.graphics.ui.component.Field
- getBorderColor() - Method in class org.collebol.client.gui.graphics.ui.component.Button
- getBorderColor() - Method in class org.collebol.client.gui.graphics.ui.component.Field
- getBorderSize() - Method in class org.collebol.client.gui.graphics.ui.component.Button
- getBorderSize() - Method in class org.collebol.client.gui.graphics.ui.component.Field
- getButton() - Method in class org.collebol.client.event.client.button.ClientButtonClickEvent
- getButton() - Method in class org.collebol.client.event.client.button.ClientButtonHoverEvent
- getCamera() - Method in class org.collebol.client.gui.Panel
- getCameraPlayer(String) - Method in class org.collebol.client.audio.SoundHandler
-
Retrieves a camera sound player by name.
- getCameraRenderer() - Method in class org.collebol.client.gui.graphics.renderer.RenderHandler
-
Retrieves the CameraRenderer.
- getChild() - Method in class org.collebol.client.event.client.field.ClientFieldSubHoverEvent
- getChildID() - Method in class org.collebol.client.event.client.field.ClientFieldSubHoverEvent
- getChunkFormat() - Method in class org.collebol.game.world.World
- getChunks() - Method in class org.collebol.game.world.World
- getChunkSize() - Method in class org.collebol.game.world.Chunk
- getClickedSubComponents() - Method in class org.collebol.client.event.client.field.ClientFieldClickEvent
- getClientIp() - Method in class org.collebol.shared.packet.serverBound.SBHandshakePacket
- getColor() - Method in class org.collebol.client.gui.graphics.Light
- getComponent(Class<? extends Component>, int) - Method in class org.collebol.client.gui.graphics.ui.ComponentHandler
- getComponentHandler() - Method in class org.collebol.client.EJGEngine
- getComponents() - Method in class org.collebol.client.gui.graphics.ui.ComponentHandler
- getComponents(T) - Method in class org.collebol.client.gui.graphics.ui.ComponentHandler
- getComponentsMap() - Method in class org.collebol.client.gui.graphics.ui.ComponentHandler
- getComponentUnderMouse(Vector2D, EJGEngine) - Static method in class org.collebol.client.math.ComponentCalculator
-
Checks if there is a component below of the mouse.
- getCurrentMilisec() - Method in class org.collebol.shared.packet.clientBound.CBHandshakePacket
- getCurrentMilisec() - Method in class org.collebol.shared.packet.serverBound.SBHandshakePacket
- getCurrentPanel() - Method in class org.collebol.client.gui.MainWindow
-
Gives the current panel of the window.
- getDT() - Method in class org.collebol.client.gui.Panel
- getEngine() - Method in class org.collebol.client.audio.CameraSoundPlayer
- getEngine() - Method in class org.collebol.client.event.Event
- getEngine() - Method in class org.collebol.client.gui.Panel
- getEntities() - Method in class org.collebol.game.world.Chunk
- getEntity(UUID) - Method in class org.collebol.game.GameRegister
-
Retrieves an entity from the game register based on its UUID.
- getEventHandler() - Method in class org.collebol.client.EJGEngine
- getField() - Method in class org.collebol.client.event.client.field.ClientFieldClickEvent
- getField() - Method in class org.collebol.client.event.client.field.ClientFieldHoverEvent
- getFontPath() - Method in class org.collebol.client.gui.graphics.renderer.TextRenderer
- getGameLocation() - Method in class org.collebol.client.gui.graphics.Camera
-
This method will convert the position as Vector2D to the GameLocation where the origin point is pointed at.
- getGameLocation() - Method in class org.collebol.client.input.MouseHandler
- getGameLocation() - Method in class org.collebol.shared.objects.entity.Entity
- getGameLocation() - Method in class org.collebol.shared.objects.GameObject
-
GameLocation is the location in game.
- getGameLocationFromPanelPosition(Vector2D) - Method in class org.collebol.client.math.CameraCalculator
-
This calculates method will calculate the current GameLocation on the given Vector2D cords.
- getGameRegister() - Method in class org.collebol.game.GameManager
- getHeight() - Method in class org.collebol.client.gui.graphics.ui.Component
- getHeight() - Method in class org.collebol.client.gui.MainWindow
- getHeight() - Method in class org.collebol.client.physics.collision.Collider
- getId() - Method in class org.collebol.client.audio.Sound
- getId() - Method in class org.collebol.client.gui.graphics.Texture
- getId() - Method in class org.collebol.client.gui.graphics.ui.Component
- getIntensity() - Method in class org.collebol.client.gui.graphics.Light
- getItems() - Method in class org.collebol.client.gui.graphics.renderer.Batch
- getKeyType() - Method in class org.collebol.client.event.client.button.ClientButtonClickEvent
- getKeyType() - Method in class org.collebol.client.event.client.ClientKeyClickEvent
- getKeyType() - Method in class org.collebol.client.event.client.field.ClientFieldClickEvent
- getListeners() - Method in class org.collebol.client.event.Event
- getMaxTileHeight() - Method in class org.collebol.client.gui.MainWindow
- getMaxTileWidth() - Method in class org.collebol.client.gui.MainWindow
- getMouseHandler() - Method in class org.collebol.client.gui.MainWindow
- getName() - Method in class org.collebol.client.audio.CameraSoundPlayer
- getName() - Method in class org.collebol.client.audio.SoundPlayer
- getName() - Method in class org.collebol.client.gui.graphics.renderer.TextRenderer
- getName() - Method in class org.collebol.client.gui.graphics.renderer.TextureRenderer
- getName() - Method in class org.collebol.game.world.World
- getOrigin() - Method in class org.collebol.client.gui.graphics.Camera
-
The origin of the Camera represents the reference point from which the camera's position and zoom are calculated.
- getOrigin() - Method in class org.collebol.client.gui.graphics.Text
- getOrigin() - Method in class org.collebol.client.physics.collision.Collider
- getPanelPositionFromGameLocation(GameLocation) - Method in class org.collebol.client.math.CameraCalculator
-
This method calculates the Panel position on screen from a given GameLocation.
- getParent() - Method in class org.collebol.client.event.client.field.ClientFieldSubHoverEvent
- getPath() - Method in class org.collebol.client.audio.Sound
- getPitch() - Method in class org.collebol.client.audio.Sound
- getPlayer(UUID) - Method in class org.collebol.game.GameRegister
-
Retrieves a player from the game register based on their UUID.
- getPosition() - Method in class org.collebol.client.audio.Sound
- getPosition() - Method in class org.collebol.client.event.client.button.ClientButtonClickEvent
- getPosition() - Method in class org.collebol.client.event.client.button.ClientButtonHoverEvent
- getPosition() - Method in class org.collebol.client.event.client.ClientLeftClickEvent
- getPosition() - Method in class org.collebol.client.event.client.ClientRightClickEvent
- getPosition() - Method in class org.collebol.client.event.client.field.ClientFieldClickEvent
- getPosition() - Method in class org.collebol.client.event.client.field.ClientFieldHoverEvent
- getPosition() - Method in class org.collebol.client.event.client.field.ClientFieldSubHoverEvent
- getPosition() - Method in class org.collebol.client.gui.graphics.Camera
- getPosition() - Method in class org.collebol.client.gui.graphics.Light
- getPosition() - Method in class org.collebol.client.gui.graphics.Text
- getPosition() - Method in class org.collebol.client.gui.graphics.ui.Component
- getPosition() - Method in class org.collebol.client.input.MouseHandler
- getRadius() - Method in class org.collebol.client.gui.graphics.Light
- getRefDistance() - Method in class org.collebol.client.audio.Sound
- getRefreshInterval() - Method in class org.collebol.client.gui.MainWindow
- getRenderDistance() - Method in class org.collebol.game.world.WorldLoader
- getRenderers() - Method in class org.collebol.client.EJGEngine
- getRollOffFactor() - Method in class org.collebol.client.audio.Sound
- getRotation() - Method in class org.collebol.client.gui.graphics.Camera
- getRotation() - Method in class org.collebol.client.gui.graphics.Text
- getScale() - Method in class org.collebol.client.gui.graphics.Text
- getScale() - Method in class org.collebol.client.gui.MainWindow
- getScale() - Method in class org.collebol.shared.math.Matrix3
- getSize() - Method in class org.collebol.client.gui.graphics.Text
- getSoundHandler() - Method in class org.collebol.client.EJGEngine
- getSoundPlayer(String) - Method in class org.collebol.client.audio.SoundHandler
-
Retrieves a sound player by name.
- getSource() - Method in class org.collebol.client.audio.Sound
- getText() - Method in class org.collebol.client.gui.graphics.Text
- getText() - Method in class org.collebol.client.gui.graphics.ui.component.Button
- getTextRenderer(String) - Method in class org.collebol.client.gui.graphics.renderer.RenderHandler
-
Retrieves a TextRenderer by its name.
- getTexture() - Method in class org.collebol.client.gui.graphics.renderer.Batch
- getTexture() - Method in class org.collebol.shared.EngineObject
- getTexture(int) - Method in class org.collebol.client.gui.graphics.renderer.TextureRenderer
- getTextureRenderer(String) - Method in class org.collebol.client.gui.graphics.renderer.RenderHandler
-
Retrieves a TextureRenderer by its name.
- getTicks() - Method in class org.collebol.game.GameManager
- getTiles() - Method in class org.collebol.game.world.Chunk
- getTilesAsMap() - Method in class org.collebol.game.world.Chunk
- getTileSize() - Method in class org.collebol.client.gui.MainWindow
- getTime() - Static method in class org.collebol.client.utils.Time
- getTitle() - Method in class org.collebol.client.gui.MainWindow
- getTranslate() - Method in class org.collebol.shared.math.Matrix3
- getUiRenderer() - Method in class org.collebol.client.gui.graphics.renderer.RenderHandler
-
Retrieves the UIRenderer.
- getUuid() - Method in class org.collebol.shared.objects.entity.Entity
- getUuid() - Method in class org.collebol.shared.packet.serverBound.SBHandshakePacket
- getValue() - Method in enum class org.collebol.client.input.KeyType
- getVector() - Method in class org.collebol.shared.EngineObject
-
Position relative to the screen.
- getVelocity() - Method in class org.collebol.shared.objects.GameObject
-
Velocity is the speed in combination with the direction of motion of the object.
- getVolume() - Method in class org.collebol.client.audio.Sound
- getWidth() - Method in class org.collebol.client.gui.graphics.ui.Component
- getWidth() - Method in class org.collebol.client.gui.MainWindow
- getWidth() - Method in class org.collebol.client.physics.collision.Collider
- getWindow() - Method in class org.collebol.client.EJGEngine
- getWorld(String) - Method in class org.collebol.game.GameRegister
-
Retrieves a world from the game register based on its name.
- getWorldFileManager() - Method in class org.collebol.game.world.World
- getWorldFolder() - Method in class org.collebol.game.world.World
- getWorldGenerator() - Method in class org.collebol.game.world.World
- getWorldLoader() - Method in class org.collebol.game.world.World
- getWorldRenderer() - Method in class org.collebol.client.gui.graphics.renderer.RenderHandler
-
Retrieves the WorldRenderer.
- getX() - Method in class org.collebol.game.world.Chunk
- getX() - Method in class org.collebol.shared.GameLocation
- getX() - Method in class org.collebol.shared.math.Vector2D
- getY() - Method in class org.collebol.game.world.Chunk
- getY() - Method in class org.collebol.shared.GameLocation
- getY() - Method in class org.collebol.shared.math.Vector2D
- getZoom() - Method in class org.collebol.client.gui.graphics.Camera
- GOLD - Static variable in class org.collebol.client.gui.graphics.Color
- GRAVE_ACCENT - Enum constant in enum class org.collebol.client.input.KeyType
- GRAY - Static variable in class org.collebol.client.gui.graphics.Color
- GREEN - Static variable in class org.collebol.client.gui.graphics.Color
H
- H - Enum constant in enum class org.collebol.client.input.KeyType
- handle() - Method in class org.collebol.server.ClientSession
- handleEvent(Event) - Method in class org.collebol.client.event.ClientListener
-
Handles the event by determining its type and calling the appropriate method.
- height(float) - Method in class org.collebol.client.gui.graphics.ui.component.Button.ButtonBuilder
- height(float) - Method in class org.collebol.client.gui.graphics.ui.component.Field.FieldBuilder
- height(float) - Method in class org.collebol.client.physics.collision.BoxCollider.BoxColliderBuilder
- HOME - Enum constant in enum class org.collebol.client.input.KeyType
I
- I - Enum constant in enum class org.collebol.client.input.KeyType
- id - Variable in class org.collebol.client.gui.Panel
- identity() - Method in class org.collebol.shared.math.Matrix3
- INDIGO - Static variable in class org.collebol.client.gui.graphics.Color
- info(String) - Static method in class org.collebol.server.ServerConsole
- INSERT - Enum constant in enum class org.collebol.client.input.KeyType
- intensity(float) - Method in class org.collebol.client.gui.graphics.Light.LightBuilder
- isEnter() - Method in class org.collebol.client.event.client.button.ClientButtonHoverEvent
- isEnter() - Method in class org.collebol.client.event.client.field.ClientFieldHoverEvent
- isEnter() - Method in class org.collebol.client.event.client.field.ClientFieldSubHoverEvent
- isExit() - Method in class org.collebol.client.event.client.button.ClientButtonHoverEvent
- isExit() - Method in class org.collebol.client.event.client.field.ClientFieldHoverEvent
- isExit() - Method in class org.collebol.client.event.client.field.ClientFieldSubHoverEvent
- isInFrustum(Camera, Vector2D, EJGEngine) - Static method in class org.collebol.client.math.FrustumCulling
-
Checks if a given position is within the camera's frustum.
- isLeftPressed() - Method in class org.collebol.client.input.MouseHandler
- isLighting() - Method in class org.collebol.client.gui.graphics.Camera
- isPressed() - Method in class org.collebol.client.event.client.button.ClientButtonClickEvent
- isPressed() - Method in class org.collebol.client.event.client.ClientKeyClickEvent
- isPressed() - Method in class org.collebol.client.event.client.ClientLeftClickEvent
- isPressed() - Method in class org.collebol.client.event.client.ClientRightClickEvent
- isPressed() - Method in class org.collebol.client.event.client.field.ClientFieldClickEvent
- isReleased() - Method in class org.collebol.client.event.client.button.ClientButtonClickEvent
- isReleased() - Method in class org.collebol.client.event.client.ClientKeyClickEvent
- isReleased() - Method in class org.collebol.client.event.client.ClientLeftClickEvent
- isReleased() - Method in class org.collebol.client.event.client.ClientRightClickEvent
- isReleased() - Method in class org.collebol.client.event.client.field.ClientFieldClickEvent
- isRepositioning() - Method in class org.collebol.client.gui.graphics.ui.component.Field
- isResizable() - Method in class org.collebol.client.gui.graphics.ui.component.Field
- isRightPressed() - Method in class org.collebol.client.input.MouseHandler
- isSubCommandClicked() - Method in class org.collebol.client.event.client.field.ClientFieldClickEvent
J
K
- K - Enum constant in enum class org.collebol.client.input.KeyType
- keyCallback(long) - Method in class org.collebol.client.input.KeyHandler
- KeyHandler - Class in org.collebol.client.input
- KeyHandler(EJGEngine) - Constructor for class org.collebol.client.input.KeyHandler
- KeyType - Enum Class in org.collebol.client.input
L
- L - Enum constant in enum class org.collebol.client.input.KeyType
- LEFT_ALT - Enum constant in enum class org.collebol.client.input.KeyType
- LEFT_BRACKET - Enum constant in enum class org.collebol.client.input.KeyType
- LEFT_CONTROL - Enum constant in enum class org.collebol.client.input.KeyType
- LEFT_MOUSE - Enum constant in enum class org.collebol.client.input.KeyType
- LEFT_SHIFT - Enum constant in enum class org.collebol.client.input.KeyType
- LEFT_SUPER - Enum constant in enum class org.collebol.client.input.KeyType
- length() - Method in class org.collebol.shared.math.Vector2D
-
Calculate the length (magnitude) of the vector.
- Light - Class in org.collebol.client.gui.graphics
-
The Light class represents a light source in a 2D space.
- Light(Light.LightBuilder) - Constructor for class org.collebol.client.gui.graphics.Light
- LIGHT_GRAY - Static variable in class org.collebol.client.gui.graphics.Color
- Light.LightBuilder - Class in org.collebol.client.gui.graphics
- LightBuilder() - Constructor for class org.collebol.client.gui.graphics.Light.LightBuilder
- LIME - Static variable in class org.collebol.client.gui.graphics.Color
- Listener - Interface in org.collebol.client.event
- loadChunk(int, int) - Method in class org.collebol.game.world.WorldFileManager
-
Loads a chunk from binary file.
- loadFileToByteBuffer(String) - Static method in class org.collebol.client.utils.FileUtils
- loadRenderDistanceChunkFileFromLocation(GameLocation) - Method in class org.collebol.game.world.WorldLoader
- location(GameLocation) - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer.TextBuilder
M
- M - Enum constant in enum class org.collebol.client.input.KeyType
- MAGENTA - Static variable in class org.collebol.client.gui.graphics.Color
- MainWindow - Class in org.collebol.client.gui
-
The MainWindow class represents the main window of the EJGEngine application.
- MainWindow(EJGEngine) - Constructor for class org.collebol.client.gui.MainWindow
-
Constructs a MainWindow instance with the specified engine.
- MAROON - Static variable in class org.collebol.client.gui.graphics.Color
- Matrix3 - Class in org.collebol.shared.math
- Matrix3() - Constructor for class org.collebol.shared.math.Matrix3
- MENU - Enum constant in enum class org.collebol.client.input.KeyType
- MINUS - Enum constant in enum class org.collebol.client.input.KeyType
- ModifySound(int, SoundPlayer) - Constructor for class org.collebol.client.audio.SoundPlayer.ModifySound
- MouseHandler - Class in org.collebol.client.input
- MouseHandler(EJGEngine) - Constructor for class org.collebol.client.input.MouseHandler
- move(Vector2D) - Method in class org.collebol.client.gui.graphics.Camera
-
Add a amount to the current camera position
N
- N - Enum constant in enum class org.collebol.client.input.KeyType
- NAVY - Static variable in class org.collebol.client.gui.graphics.Color
- NUM_0 - Enum constant in enum class org.collebol.client.input.KeyType
- NUM_1 - Enum constant in enum class org.collebol.client.input.KeyType
- NUM_2 - Enum constant in enum class org.collebol.client.input.KeyType
- NUM_3 - Enum constant in enum class org.collebol.client.input.KeyType
- NUM_4 - Enum constant in enum class org.collebol.client.input.KeyType
- NUM_5 - Enum constant in enum class org.collebol.client.input.KeyType
- NUM_6 - Enum constant in enum class org.collebol.client.input.KeyType
- NUM_7 - Enum constant in enum class org.collebol.client.input.KeyType
- NUM_8 - Enum constant in enum class org.collebol.client.input.KeyType
- NUM_9 - Enum constant in enum class org.collebol.client.input.KeyType
- NUM_LOCK - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_0 - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_1 - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_2 - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_3 - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_4 - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_5 - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_6 - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_7 - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_8 - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_9 - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_ADD - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_DECIMAL - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_DIVIDE - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_ENTER - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_MULTIPLY - Enum constant in enum class org.collebol.client.input.KeyType
- NUMPAD_SUBTRACT - Enum constant in enum class org.collebol.client.input.KeyType
O
- O - Enum constant in enum class org.collebol.client.input.KeyType
- OLIVE - Static variable in class org.collebol.client.gui.graphics.Color
- onButtonClick(ClientButtonClickEvent) - Method in class org.collebol.client.event.ClientListener
- onButtonHover(ClientButtonHoverEvent) - Method in class org.collebol.client.event.ClientListener
- onFieldClick(ClientFieldClickEvent) - Method in class org.collebol.client.event.ClientListener
- onFieldHover(ClientFieldHoverEvent) - Method in class org.collebol.client.event.ClientListener
- onFieldSubHover(ClientFieldSubHoverEvent) - Method in class org.collebol.client.event.ClientListener
- onKeyClick(ClientKeyClickEvent) - Method in class org.collebol.client.event.ClientListener
- onLeftClick(ClientLeftClickEvent) - Method in class org.collebol.client.event.ClientListener
- onRightClick(ClientRightClickEvent) - Method in class org.collebol.client.event.ClientListener
- ORANGE - Static variable in class org.collebol.client.gui.graphics.Color
- org.collebol.client - package org.collebol.client
- org.collebol.client.audio - package org.collebol.client.audio
- org.collebol.client.event - package org.collebol.client.event
- org.collebol.client.event.client - package org.collebol.client.event.client
- org.collebol.client.event.client.button - package org.collebol.client.event.client.button
- org.collebol.client.event.client.field - package org.collebol.client.event.client.field
- org.collebol.client.gui - package org.collebol.client.gui
- org.collebol.client.gui.graphics - package org.collebol.client.gui.graphics
- org.collebol.client.gui.graphics.renderer - package org.collebol.client.gui.graphics.renderer
- org.collebol.client.gui.graphics.renderer.ui - package org.collebol.client.gui.graphics.renderer.ui
- org.collebol.client.gui.graphics.ui - package org.collebol.client.gui.graphics.ui
- org.collebol.client.gui.graphics.ui.component - package org.collebol.client.gui.graphics.ui.component
- org.collebol.client.input - package org.collebol.client.input
- org.collebol.client.math - package org.collebol.client.math
- org.collebol.client.physics - package org.collebol.client.physics
- org.collebol.client.physics.collision - package org.collebol.client.physics.collision
- org.collebol.client.utils - package org.collebol.client.utils
- org.collebol.game - package org.collebol.game
- org.collebol.game.world - package org.collebol.game.world
- org.collebol.server - package org.collebol.server
- org.collebol.shared - package org.collebol.shared
- org.collebol.shared.math - package org.collebol.shared.math
- org.collebol.shared.objects - package org.collebol.shared.objects
- org.collebol.shared.objects.entity - package org.collebol.shared.objects.entity
- org.collebol.shared.objects.solids - package org.collebol.shared.objects.solids
- org.collebol.shared.packet - package org.collebol.shared.packet
- org.collebol.shared.packet.clientBound - package org.collebol.shared.packet.clientBound
- org.collebol.shared.packet.serverBound - package org.collebol.shared.packet.serverBound
- origin - Variable in class org.collebol.client.gui.graphics.renderer.Batch.BatchItem
- origin(Vector2D) - Method in class org.collebol.client.gui.graphics.Text.TextBuilder
- origin(Vector2D) - Method in class org.collebol.client.physics.collision.BoxCollider.BoxColliderBuilder
P
- P - Enum constant in enum class org.collebol.client.input.KeyType
- Packet - Class in org.collebol.shared.packet
- Packet() - Constructor for class org.collebol.shared.packet.Packet
- packetId() - Method in class org.collebol.shared.packet.clientBound.CBHandshakePacket
- packetId() - Method in class org.collebol.shared.packet.Packet
- packetId() - Method in class org.collebol.shared.packet.serverBound.SBHandshakePacket
- PAGE_DOWN - Enum constant in enum class org.collebol.client.input.KeyType
- PAGE_UP - Enum constant in enum class org.collebol.client.input.KeyType
- paint() - Method in class org.collebol.client.ExamplePanel
- paint() - Method in class org.collebol.client.gui.Panel
- Panel - Class in org.collebol.client.gui
-
The Panel class represents a user interface panel in a window.
- Panel(int, EJGEngine) - Constructor for class org.collebol.client.gui.Panel
-
Panel constructor.
- PERIOD - Enum constant in enum class org.collebol.client.input.KeyType
- PhysicsComponent - Class in org.collebol.client.physics
- PhysicsComponent() - Constructor for class org.collebol.client.physics.PhysicsComponent
- PINK - Static variable in class org.collebol.client.gui.graphics.Color
- pitch(float) - Method in class org.collebol.client.audio.Sound.SoundBuilder
- pitch(float) - Method in class org.collebol.client.audio.SoundPlayer.ModifySound
- Player - Class in org.collebol.shared.objects.entity
- Player(UUID) - Constructor for class org.collebol.shared.objects.entity.Player
- playModifiedSound(SoundPlayer.ModifySound) - Method in class org.collebol.client.audio.SoundPlayer
-
Play a modified sound with custom properties to an already existing sound.
- playModifiedSound(SoundPlayer.ModifySound, Vector2D) - Method in class org.collebol.client.audio.SoundPlayer
-
Play a modified sound with custom properties to an already existing sound.
- playSound(int) - Method in class org.collebol.client.audio.SoundPlayer
-
Play a registered sound by its id.
- playSound(int, GameLocation) - Method in class org.collebol.client.audio.CameraSoundPlayer
-
Plays a sound at the specified game location relative to the camera position
- playSound(int, Vector2D) - Method in class org.collebol.client.audio.SoundPlayer
-
Play a registered sound by its id.
- position - Variable in class org.collebol.client.gui.graphics.renderer.Batch.BatchItem
- position(Vector2D) - Method in class org.collebol.client.audio.Sound.SoundBuilder
- position(Vector2D) - Method in class org.collebol.client.audio.SoundPlayer.ModifySound
- position(Vector2D) - Method in class org.collebol.client.gui.graphics.Light.LightBuilder
- position(Vector2D) - Method in class org.collebol.client.gui.graphics.Text.TextBuilder
- position(Vector2D) - Method in class org.collebol.client.gui.graphics.ui.component.Button.ButtonBuilder
- position(Vector2D) - Method in class org.collebol.client.gui.graphics.ui.component.Field.FieldBuilder
- PURPLE - Static variable in class org.collebol.client.gui.graphics.Color
Q
R
- R - Enum constant in enum class org.collebol.client.input.KeyType
- radius(float) - Method in class org.collebol.client.gui.graphics.Light.LightBuilder
- RED - Static variable in class org.collebol.client.gui.graphics.Color
- refDistance(float) - Method in class org.collebol.client.audio.Sound.SoundBuilder
- refDistance(float) - Method in class org.collebol.client.audio.SoundPlayer.ModifySound
- register() - Method in class org.collebol.client.EJGEngine
-
Registers components or panels required by the engine.
- registerCallbacks(long) - Method in class org.collebol.client.input.MouseHandler
- registerClientEvent(ClientListener) - Method in class org.collebol.client.event.EventHandler
-
Registers a client event listener by checking if the listener has implemented specific event handling methods.
- registerEntity(Entity) - Method in class org.collebol.game.GameRegister
-
Registers an entity to the game register.
- registerEvent(ClientListener) - Method in class org.collebol.client.event.Event
- registerNewComponent(T) - Method in class org.collebol.client.gui.graphics.ui.ComponentHandler
- registerNewPlayer(T) - Method in class org.collebol.client.audio.SoundHandler
-
Registers a new audio player.
- registerNewRenderer(T) - Method in class org.collebol.client.gui.graphics.renderer.RenderHandler
-
Registers a new renderer.
- registerPanel(Panel) - Method in class org.collebol.client.gui.MainWindow
-
Add a panel to the window where you can switch between.
- registerPlayer(Player) - Method in class org.collebol.game.GameRegister
-
Registers a player to the game register.
- registerSound(Sound) - Method in class org.collebol.client.audio.SoundPlayer
-
Register a sound to the player.
- registerTexture(Texture) - Method in class org.collebol.client.gui.graphics.renderer.TextureRenderer
- registerWorld(World) - Method in class org.collebol.game.GameRegister
-
Registers a world to the game register.
- registerWorldGenerator(WorldGenerator) - Method in class org.collebol.game.world.World
- removeEntity(UUID) - Method in class org.collebol.game.GameRegister
-
Removes an entity from the game register based on its UUID.
- removePlayer(UUID) - Method in class org.collebol.game.GameRegister
-
Removes a player from the game register based on their UUID.
- removeWorld(String) - Method in class org.collebol.game.GameRegister
-
Removes a world from the game register based on its name.
- render(int, Vector2D, float, float, Vector2D, boolean) - Method in class org.collebol.client.gui.graphics.renderer.TextureRenderer
-
Render a texture from a registered id.
- render(Text) - Method in class org.collebol.client.gui.graphics.renderer.TextRenderer
-
Render text on the Panel with origin-point
- renderBatch(Batch, boolean) - Method in class org.collebol.client.gui.graphics.renderer.TextureRenderer
-
Renders a batch of items using a specified texture.
- renderBatchObjects(Map<Integer, List<GameObject>>) - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer
-
Render a Map with a List of GameObjects as Batch.
- renderButton(int) - Method in class org.collebol.client.gui.graphics.renderer.ui.ButtonRenderer
-
Renders a button with the specified ID.
- renderChunkRelativeToCamera(Chunk) - Method in class org.collebol.client.gui.graphics.renderer.WorldRenderer
- renderComponent(T, int) - Method in class org.collebol.client.gui.graphics.renderer.ui.UIRenderer
- Renderer - Class in org.collebol.client.gui.graphics.renderer
- Renderer() - Constructor for class org.collebol.client.gui.graphics.renderer.Renderer
- renderField(int) - Method in class org.collebol.client.gui.graphics.renderer.ui.FieldRenderer
-
Renders a field with the specified ID.
- RenderHandler - Class in org.collebol.client.gui.graphics.renderer
-
The RenderHandler class is responsible for managing different types of renderers engine.
- RenderHandler() - Constructor for class org.collebol.client.gui.graphics.renderer.RenderHandler
- renderLight(int, GameLocation, float, float[]) - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer
-
Render light relative to the camera.
- renderObject(GameObject) - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer
-
Render a GameObject relative to the Camera.
- renderObjects(List<GameObject>) - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer
-
Render GameObjects relative to the Camera.
- renderSubButton(int, int) - Method in class org.collebol.client.gui.graphics.renderer.ui.ButtonRenderer
-
Renders a sub-button with the specified ID within a parent component.
- renderSubComponent(T, int, int) - Method in class org.collebol.client.gui.graphics.renderer.ui.UIRenderer
- renderSubField(int, int) - Method in class org.collebol.client.gui.graphics.renderer.ui.FieldRenderer
-
Renders a sub-field with the specified ID within a parent component.
- renderText(CameraRenderer.TextBuilder) - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer
-
Render text relative to the camera.
- renderWorldChunks() - Method in class org.collebol.client.gui.graphics.renderer.WorldRenderer
-
Renders all chunks in
World.getChunks()loaded in the world. - renderWorldChunksAsBatch() - Method in class org.collebol.client.gui.graphics.renderer.WorldRenderer
-
Renders all chunks in
World.getChunks()loaded in the world as Batch. - RIGHT_ALT - Enum constant in enum class org.collebol.client.input.KeyType
- RIGHT_BRACKET - Enum constant in enum class org.collebol.client.input.KeyType
- RIGHT_CONTROL - Enum constant in enum class org.collebol.client.input.KeyType
- RIGHT_MOUSE - Enum constant in enum class org.collebol.client.input.KeyType
- RIGHT_SHIFT - Enum constant in enum class org.collebol.client.input.KeyType
- RIGHT_SUPER - Enum constant in enum class org.collebol.client.input.KeyType
- rollOffFactor(float) - Method in class org.collebol.client.audio.Sound.SoundBuilder
- rollOffFactor(float) - Method in class org.collebol.client.audio.SoundPlayer.ModifySound
- rotation - Variable in class org.collebol.client.gui.graphics.renderer.Batch.BatchItem
- rotation(float) - Method in class org.collebol.client.gui.graphics.Text.TextBuilder
- run() - Method in class org.collebol.client.gui.MainWindow
-
Runs the main loop of the window, initializing and rendering the panels.
- run() - Method in class org.collebol.game.GameManager
- running() - Method in class org.collebol.server.Server
- RUNNING - Enum constant in enum class org.collebol.server.ServerState
S
- S - Enum constant in enum class org.collebol.client.input.KeyType
- SALMON - Static variable in class org.collebol.client.gui.graphics.Color
- saveChunk(Chunk) - Method in class org.collebol.game.world.WorldFileManager
-
Saves the specified chunk to a binary file.
- SBHandshakePacket - Class in org.collebol.shared.packet.serverBound
- SBHandshakePacket(UUID, long, String) - Constructor for class org.collebol.shared.packet.serverBound.SBHandshakePacket
- scale - Variable in class org.collebol.client.gui.graphics.renderer.Batch.BatchItem
- scale(float) - Method in class org.collebol.client.gui.graphics.Text.TextBuilder
- scale(float) - Method in class org.collebol.shared.math.Vector2D
-
Multiply vector values with scalar.
- SEMICOLON - Enum constant in enum class org.collebol.client.input.KeyType
- server(String) - Static method in class org.collebol.server.ServerConsole
- Server - Class in org.collebol.server
-
This is the server side of the EJGEngine project.
- Server(String, int, ServerState) - Constructor for class org.collebol.server.Server
- ServerClient - Class in org.collebol.server
- ServerClient() - Constructor for class org.collebol.server.ServerClient
- ServerConsole - Class in org.collebol.server
-
This ServerConsole class is responsible for managing the server console.
- ServerConsole() - Constructor for class org.collebol.server.ServerConsole
- ServerState - Enum Class in org.collebol.server
- setAlign(int) - Method in class org.collebol.client.gui.graphics.Text
- setAmbientLight(float[]) - Method in class org.collebol.client.gui.graphics.Camera
- setBackgroundColor(float[]) - Method in class org.collebol.client.gui.graphics.ui.component.Button
- setBackgroundColor(float[]) - Method in class org.collebol.client.gui.graphics.ui.component.Field
- setBorderColor(float[]) - Method in class org.collebol.client.gui.graphics.ui.component.Button
- setBorderColor(float[]) - Method in class org.collebol.client.gui.graphics.ui.component.Field
- setBorderSize(float) - Method in class org.collebol.client.gui.graphics.ui.component.Button
- setBorderSize(float) - Method in class org.collebol.client.gui.graphics.ui.component.Field
- setCamera(Camera) - Method in class org.collebol.client.gui.Panel
- setChunks(List<Chunk>) - Method in class org.collebol.game.world.World
- setChunkSize(int) - Method in class org.collebol.game.world.Chunk
- setDT(float) - Method in class org.collebol.client.gui.Panel
- setEventHandler(EventHandler) - Method in class org.collebol.client.EJGEngine
- setGameLocation(GameLocation) - Method in class org.collebol.client.gui.graphics.Camera
-
This method will set the GameLocation to a Panel (Vector2D) position where the origin point is pointed at.
- setGameLocation(GameLocation) - Method in class org.collebol.shared.objects.entity.Entity
- setGameLocation(GameLocation) - Method in class org.collebol.shared.objects.GameObject
-
GameLocation is the location in game.
- setGameRegister(GameRegister) - Method in class org.collebol.game.GameManager
- setHeight(float) - Method in class org.collebol.client.gui.graphics.ui.Component
- setHeight(float) - Method in class org.collebol.client.physics.collision.Collider
- setHeight(int) - Method in class org.collebol.client.gui.MainWindow
- setId(int) - Method in class org.collebol.client.gui.graphics.ui.Component
- setLeftPressed(boolean) - Method in class org.collebol.client.input.MouseHandler
- setLighting(boolean) - Method in class org.collebol.client.gui.graphics.Camera
- setMaxTileHeight(int) - Method in class org.collebol.client.gui.MainWindow
- setMaxTileWidth(int) - Method in class org.collebol.client.gui.MainWindow
- setOpacity(float[], float) - Static method in class org.collebol.client.gui.graphics.Color
- setOrigin(Vector2D) - Method in class org.collebol.client.gui.graphics.Camera
-
The origin of the Camera represents the reference point from which the camera's position and zoom are calculated.
- setOrigin(Vector2D) - Method in class org.collebol.client.gui.graphics.Text
- setOrigin(Vector2D) - Method in class org.collebol.client.physics.collision.Collider
- setPanel(int) - Method in class org.collebol.client.gui.MainWindow
-
Display the given panel.
- setPitch(float) - Method in class org.collebol.client.audio.Sound
- setPosition(Vector2D) - Method in class org.collebol.client.audio.Sound
- setPosition(Vector2D) - Method in class org.collebol.client.gui.graphics.Camera
- setPosition(Vector2D) - Method in class org.collebol.client.gui.graphics.Text
- setPosition(Vector2D) - Method in class org.collebol.client.gui.graphics.ui.Component
- setPosition(Vector2D) - Method in class org.collebol.client.input.MouseHandler
- setRefDistance(float) - Method in class org.collebol.client.audio.Sound
- setRefreshInterval(int) - Method in class org.collebol.client.gui.MainWindow
- setRenderDistance(int) - Method in class org.collebol.game.world.WorldLoader
- setRepositioning(boolean) - Method in class org.collebol.client.gui.graphics.ui.component.Field
- setResizable(boolean) - Method in class org.collebol.client.gui.graphics.ui.component.Field
- setRightPressed(boolean) - Method in class org.collebol.client.input.MouseHandler
- setRollOffFactor(float) - Method in class org.collebol.client.audio.Sound
- setRotation(float) - Method in class org.collebol.client.gui.graphics.Camera
- setRotation(float) - Method in class org.collebol.client.gui.graphics.Text
- setRotation(float) - Method in class org.collebol.shared.math.Matrix3
- setScale(float) - Method in class org.collebol.client.gui.graphics.Text
- setScale(float) - Method in class org.collebol.shared.math.Matrix3
- setScale(int) - Method in class org.collebol.client.gui.MainWindow
- setScale(Vector2D) - Method in class org.collebol.shared.math.Matrix3
- setSize(float) - Method in class org.collebol.client.gui.graphics.Text
- setText(String) - Method in class org.collebol.client.gui.graphics.Text
- setText(Text) - Method in class org.collebol.client.gui.graphics.ui.component.Button
- setTexture(int) - Method in class org.collebol.shared.EngineObject
- setTicks(int) - Method in class org.collebol.game.GameManager
- setTileSize(int) - Method in class org.collebol.client.gui.MainWindow
- setTitle(String) - Method in class org.collebol.client.gui.MainWindow
- setTranslate(Vector2D) - Method in class org.collebol.shared.math.Matrix3
- setup() - Method in class org.collebol.client.EJGEngine
-
Performs any necessary initialization for the engine before the
MainWindowis created. - setup() - Method in class org.collebol.client.gui.graphics.renderer.TextRenderer
- setValues(Map<Class<?>, Object>) - Method in class org.collebol.client.event.client.button.ClientButtonClickEvent
- setValues(Map<Class<?>, Object>) - Method in class org.collebol.client.event.client.button.ClientButtonHoverEvent
- setValues(Map<Class<?>, Object>) - Method in class org.collebol.client.event.client.ClientKeyClickEvent
- setValues(Map<Class<?>, Object>) - Method in class org.collebol.client.event.client.ClientLeftClickEvent
- setValues(Map<Class<?>, Object>) - Method in class org.collebol.client.event.client.ClientRightClickEvent
- setValues(Map<Class<?>, Object>) - Method in class org.collebol.client.event.client.field.ClientFieldClickEvent
- setValues(Map<Class<?>, Object>) - Method in class org.collebol.client.event.client.field.ClientFieldHoverEvent
- setValues(Map<Class<?>, Object>) - Method in class org.collebol.client.event.client.field.ClientFieldSubHoverEvent
- setValues(Map<Class<?>, Object>) - Method in class org.collebol.client.event.Event
- setVector(Vector2D) - Method in class org.collebol.shared.EngineObject
-
Position relative to the screen.
- setVelocity(Vector2D) - Method in class org.collebol.shared.objects.GameObject
-
Velocity is the speed in combination with the direction of motion of the object.
- setVolume(float) - Method in class org.collebol.client.audio.Sound
- setWidth(float) - Method in class org.collebol.client.gui.graphics.ui.Component
- setWidth(float) - Method in class org.collebol.client.physics.collision.Collider
- setWidth(int) - Method in class org.collebol.client.gui.MainWindow
- setWorldFolder(File) - Method in class org.collebol.game.world.World
- setWorldLoader(WorldLoader) - Method in class org.collebol.game.world.World
- setX(double) - Method in class org.collebol.shared.GameLocation
- setX(float) - Method in class org.collebol.shared.math.Vector2D
- setX(int) - Method in class org.collebol.game.world.Chunk
- setY(double) - Method in class org.collebol.shared.GameLocation
- setY(float) - Method in class org.collebol.shared.math.Vector2D
- setY(int) - Method in class org.collebol.game.world.Chunk
- setZoom(float) - Method in class org.collebol.client.gui.graphics.Camera
- showCoordinates() - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer
-
Displays various coordinates and camera information on the screen.
- showDevelopmentTools() - Method in class org.collebol.client.gui.MainWindow
-
There will be development tools rendered on the panel.
- showGridLines() - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer
-
Renders grid lines on the screen based on the camera's position and zoom level.
- showOriginPoint() - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer
-
Renders the origin point of the camera on the screen.
- showScreenDetails() - Method in class org.collebol.client.gui.Panel
-
Displays screen details, a tool for developing.
- shutdown() - Static method in class org.collebol.server.Server
-
Shutdown the server.
- SILVER - Static variable in class org.collebol.client.gui.graphics.Color
- size(float) - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer.TextBuilder
- size(float) - Method in class org.collebol.client.gui.graphics.Text.TextBuilder
- SLASH - Enum constant in enum class org.collebol.client.input.KeyType
- Sound - Class in org.collebol.client.audio
-
The Sound class represents an audio object which you can play.
- Sound(Sound.SoundBuilder) - Constructor for class org.collebol.client.audio.Sound
-
Sound constructor.
- Sound.SoundBuilder - Class in org.collebol.client.audio
-
The SoundBuilder class is used to construct
Soundobjects with specific properties. - SoundBuilder(int, String) - Constructor for class org.collebol.client.audio.Sound.SoundBuilder
-
SoundBuilder constructor.
- SoundHandler - Class in org.collebol.client.audio
-
The SoundHandler class is responsible for managing sound players and camera sound players in the game.
- SoundHandler(EJGEngine) - Constructor for class org.collebol.client.audio.SoundHandler
-
SoundHandler constructor.
- SoundPlayer - Class in org.collebol.client.audio
-
The SoundPlayer class manages the playback of audio sounds in the game.
- SoundPlayer(String) - Constructor for class org.collebol.client.audio.SoundPlayer
-
SoundPlayer constructor.
- SoundPlayer.ModifySound - Class in org.collebol.client.audio
-
The ModifySound class is used to modify sound properties before playing.
- SPACE - Enum constant in enum class org.collebol.client.input.KeyType
- start() - Method in class org.collebol.client.EJGEngine
-
Starts the engine by performing the following steps: Calls the
EJGEngine.setup()method to perform any necessary initialization. Initializes the main window by creating an instance ofMainWindow. Creates an instance ofRenderHandlerto manage renderers. Registers the initial panel by callingMainWindow.registerPanel(Panel). Sets the initial panel to be displayed usingMainWindow.setPanel(int). Calls theEJGEngine.enable()method to enable any necessary features or components. Runs the main loop of the window by callingMainWindow.run(). Calls theEJGEngine.disable()method to disable any necessary features or components after the main loop ends. - start() - Method in class org.collebol.server.Server
-
Starts the server by performing the following steps: Calls the
Server.starting()method. Calls theServer.running()method. Sets theServer.serverStatetoServerState.RUNNING. Setting up theServerConsole.consoleListener()Opening the socket. - startGameThread() - Method in class org.collebol.game.GameManager
- starting() - Method in class org.collebol.server.Server
- STARTING - Enum constant in enum class org.collebol.server.ServerState
- STOPPED - Enum constant in enum class org.collebol.server.ServerState
- stopping() - Method in class org.collebol.server.Server
- subComponents() - Method in class org.collebol.client.gui.graphics.ui.component.Field
- subtract(Vector2D) - Method in class org.collebol.shared.math.Vector2D
-
Subtract two vectors.
T
- T - Enum constant in enum class org.collebol.client.input.KeyType
- TAB - Enum constant in enum class org.collebol.client.input.KeyType
- TEAL - Static variable in class org.collebol.client.gui.graphics.Color
- text(String) - Method in class org.collebol.client.gui.graphics.renderer.CameraRenderer.TextBuilder
- text(String) - Method in class org.collebol.client.gui.graphics.Text.TextBuilder
- text(Text) - Method in class org.collebol.client.gui.graphics.ui.component.Button.ButtonBuilder
- Text - Class in org.collebol.client.gui.graphics
-
The Text class represents a text element that can be rendered on the screen.
- Text(Text.TextBuilder) - Constructor for class org.collebol.client.gui.graphics.Text
- Text.TextBuilder - Class in org.collebol.client.gui.graphics
- TextBuilder() - Constructor for class org.collebol.client.gui.graphics.renderer.CameraRenderer.TextBuilder
- TextBuilder() - Constructor for class org.collebol.client.gui.graphics.Text.TextBuilder
- TextRenderer - Class in org.collebol.client.gui.graphics.renderer
-
This class contains all the methods to render text on a Panel.
- TextRenderer(String, String, EJGEngine) - Constructor for class org.collebol.client.gui.graphics.renderer.TextRenderer
- Texture - Class in org.collebol.client.gui.graphics
-
The Texture class represents a texture in the EJGEngine.
- Texture(String, int) - Constructor for class org.collebol.client.gui.graphics.Texture
-
This method you can construct your Texture object.
- TextureRenderer - Class in org.collebol.client.gui.graphics.renderer
-
This class contains everything you need to render Textures on a Panel.
- TextureRenderer(String, float, float) - Constructor for class org.collebol.client.gui.graphics.renderer.TextureRenderer
- TextureRenderer(String, EJGEngine) - Constructor for class org.collebol.client.gui.graphics.renderer.TextureRenderer
- Tile - Class in org.collebol.shared.objects.solids
- Tile() - Constructor for class org.collebol.shared.objects.solids.Tile
- Time - Class in org.collebol.client.utils
- Time() - Constructor for class org.collebol.client.utils.Time
- timeStarted - Static variable in class org.collebol.client.utils.Time
- TURQUOISE - Static variable in class org.collebol.client.gui.graphics.Color
U
- U - Enum constant in enum class org.collebol.client.input.KeyType
- UIRenderer - Class in org.collebol.client.gui.graphics.renderer.ui
-
The UIRenderer class is responsible for managing UI renderers.
- UIRenderer(EJGEngine) - Constructor for class org.collebol.client.gui.graphics.renderer.ui.UIRenderer
-
UIRenderer constructor.
- update() - Method in class org.collebol.client.ExamplePanel
- update() - Method in class org.collebol.client.gui.Panel
- update() - Method in class org.collebol.game.GameManager
- update() - Method in class org.collebol.shared.objects.entity.Entity
V
- V - Enum constant in enum class org.collebol.client.input.KeyType
- valueOf(String) - Static method in enum class org.collebol.client.input.KeyType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.collebol.server.ServerState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.collebol.client.input.KeyType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.collebol.server.ServerState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vector2D - Class in org.collebol.shared.math
-
This 2D game Vector represents a quantity with both direction and magnitude (length), typically used for movement, velocity, and position.
- Vector2D(float, float) - Constructor for class org.collebol.shared.math.Vector2D
- VIOLET - Static variable in class org.collebol.client.gui.graphics.Color
- volume(float) - Method in class org.collebol.client.audio.Sound.SoundBuilder
- volume(float) - Method in class org.collebol.client.audio.SoundPlayer.ModifySound
- VolumeCalculator - Class in org.collebol.client.math
-
The VolumeCalculator class is responsible for calculating the volume of a sound based on its position relative to the listener's position.
- VolumeCalculator() - Constructor for class org.collebol.client.math.VolumeCalculator
W
- W - Enum constant in enum class org.collebol.client.input.KeyType
- warn(String) - Static method in class org.collebol.server.ServerConsole
- WHITE - Static variable in class org.collebol.client.gui.graphics.Color
- width(float) - Method in class org.collebol.client.gui.graphics.ui.component.Button.ButtonBuilder
- width(float) - Method in class org.collebol.client.gui.graphics.ui.component.Field.FieldBuilder
- width(float) - Method in class org.collebol.client.physics.collision.BoxCollider.BoxColliderBuilder
- World - Class in org.collebol.game.world
-
Abstract class representing a game world in the EJGEngine.
- World(String, Class<? extends Chunk>) - Constructor for class org.collebol.game.world.World
-
Constructs a World instance with the specified name and chunk format.
- World(String, Class<? extends Chunk>, File) - Constructor for class org.collebol.game.world.World
-
Constructs a World instance with the specified name, chunk format, and world folder.
- WorldFileManager - Class in org.collebol.game.world
- WorldFileManager(World) - Constructor for class org.collebol.game.world.WorldFileManager
- WorldGenerator - Class in org.collebol.game.world
-
Abstract class representing a world generator in the EJGEngine.
- WorldGenerator(World) - Constructor for class org.collebol.game.world.WorldGenerator
- WorldLoader - Class in org.collebol.game.world
-
Class responsible for loading chunks in the EJGEngine.
- WorldLoader(World, int) - Constructor for class org.collebol.game.world.WorldLoader
- WorldRenderer - Class in org.collebol.client.gui.graphics.renderer
-
The WorldRenderer class contains several methods to simply render world and chunks.
- WorldRenderer(World, EJGEngine) - Constructor for class org.collebol.client.gui.graphics.renderer.WorldRenderer
-
WorldRenderer constructor
X
Y
- Y - Enum constant in enum class org.collebol.client.input.KeyType
- YELLOW - Static variable in class org.collebol.client.gui.graphics.Color
Z
- Z - Enum constant in enum class org.collebol.client.input.KeyType
- zoom(float) - Method in class org.collebol.client.gui.graphics.Camera
-
Zoom the current canvas.
All Classes and Interfaces|All Packages|Serialized Form