Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AABB - Class in com.toxicrain.rainengine.core.datatypes
-
The Axis Aligned Bounding Box
- AABB(float, float, float, float) - Constructor for class com.toxicrain.rainengine.core.datatypes.AABB
- aabbs - Static variable in class com.toxicrain.rainengine.core.registries.tiles.Tile
-
List of AABB objects representing tile collision bounds.
- action - Variable in class com.toxicrain.rainengine.core.eventbus.events.KeyPressEvent
- add(Vector2) - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector2
- add(Vector3) - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- addCollision(int, int) - Static method in class com.toxicrain.rainengine.core.registries.tiles.Tile
-
Adds collision information for a tile at specified coordinates.
- addEventListeners() - Static method in class com.toxicrain.rainengine.core.eventbus.RainBusListener
- addLightSource(float, float, float) - Static method in class com.toxicrain.rainengine.light.LightSystem
-
Adds a light source to a position with a strength
- addNPC(NPC, BehaviorSequence) - Method in class com.toxicrain.rainengine.core.registries.manager.NPCManager
- addProjectile(Projectile) - Method in class com.toxicrain.rainengine.core.registries.manager.ProjectileManager
- addTexture(TextureRegion, float, float, float, TileParameters) - Method in class com.toxicrain.rainengine.core.render.BatchRenderer
- addWeapon(Weapon) - Method in class com.toxicrain.rainengine.artifacts.Player
- angle - Variable in class com.toxicrain.rainengine.core.datatypes.TileParameters
- Animation - Class in com.toxicrain.rainengine.artifacts.animation
- Animation(String, int, int, boolean) - Constructor for class com.toxicrain.rainengine.artifacts.animation.Animation
- Application - Class in com.toxicrain.rainengine
- Application() - Constructor for class com.toxicrain.rainengine.Application
- approximatelyEqual(float, float, float) - Static method in class com.toxicrain.rainengine.util.MathUtils
- artifactName - Variable in class com.toxicrain.rainengine.core.eventbus.events.ArtifactUpdateEvent
- ArtifactUpdateEvent - Class in com.toxicrain.rainengine.core.eventbus.events
- ArtifactUpdateEvent(String) - Constructor for class com.toxicrain.rainengine.core.eventbus.events.ArtifactUpdateEvent
- attack() - Method in class com.toxicrain.rainengine.artifacts.Player
- attack(float, float, float) - Method in class com.toxicrain.rainengine.artifacts.Weapon
- average(Color, Color) - Static method in enum class com.toxicrain.rainengine.core.datatypes.Color
-
Averages two colors together
- AVERAGE - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Size
-
This is the size used by the player, and should be the default
B
- BaseInstanceable<T extends BaseInstanceable<T>> - Class in com.toxicrain.rainengine.core
-
Fully automated base class to provide singleton support to subclasses.
- BaseInstanceable() - Constructor for class com.toxicrain.rainengine.core.BaseInstanceable
- BaseNPC - Class in com.toxicrain.rainengine.artifacts
- BaseNPC(Resource, float, float, float, float) - Constructor for class com.toxicrain.rainengine.artifacts.BaseNPC
- batchRenderer - Variable in class com.toxicrain.rainengine.core.eventbus.events.render.batchrenderer.BuildBatchRendererEvent
- batchRenderer - Variable in class com.toxicrain.rainengine.core.eventbus.events.render.batchrenderer.RenderBatchRendererEvent
- BatchRenderer - Class in com.toxicrain.rainengine.core.render
-
BatchRenderer optimized for single texture atlas rendering.
- BatchRenderer() - Constructor for class com.toxicrain.rainengine.core.render.BatchRenderer
- beginBatch() - Method in class com.toxicrain.rainengine.core.render.BatchRenderer
- Behavior - Class in com.toxicrain.rainengine.artifacts.behavior
-
Base class for behavior trees
- Behavior() - Constructor for class com.toxicrain.rainengine.artifacts.behavior.Behavior
- BehaviorSequence - Class in com.toxicrain.rainengine.artifacts.behavior
-
Composite class to manage a sequence of behaviors
- BehaviorSequence(Behavior...) - Constructor for class com.toxicrain.rainengine.artifacts.behavior.BehaviorSequence
- BIG - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Size
- BLACK - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- BLANK - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- BLUE - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- BROWN - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- bufferId - Variable in class com.toxicrain.rainengine.sound.SoundInfo
- buildAtlas(String) - Method in class com.toxicrain.rainengine.texture.TextureAtlas
- BuildBatchRendererEvent - Class in com.toxicrain.rainengine.core.eventbus.events.render.batchrenderer
- BuildBatchRendererEvent(BatchRenderer) - Constructor for class com.toxicrain.rainengine.core.eventbus.events.render.batchrenderer.BuildBatchRendererEvent
- buildLoggers() - Static method in class com.toxicrain.rainengine.core.logging.RainLogger
C
- calculateAngle(double, double) - Static method in class com.toxicrain.rainengine.util.MathUtils
-
Calculates the angle in degrees between the positive x-axis and the point (x, y).
- canSeePlayer() - Method in class com.toxicrain.rainengine.artifacts.NPC
- canSeeTarget(TilePos) - Method in class com.toxicrain.rainengine.artifacts.BaseNPC
- categorizeScripts(String) - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
- changeLocale(Locale) - Method in class com.toxicrain.rainengine.core.LangHelper
-
Changes the locale and reloads the properties file.
- clamp(float, int, int) - Static method in class com.toxicrain.rainengine.util.MathUtils
- cleanup() - Method in class com.toxicrain.rainengine.sound.SoundSystem
- cleanup(SoundInfo) - Method in class com.toxicrain.rainengine.sound.SoundSystem
- clear() - Method in class com.toxicrain.rainengine.core.resources.ResourceRegistry
- clearAll() - Static method in class com.toxicrain.rainengine.core.resources.ResourceManager
-
Clears all registries (optional, if you want a full unload).
- clearCollision() - Static method in class com.toxicrain.rainengine.core.registries.tiles.Tile
- collideWorld(AABB) - Static method in class com.toxicrain.rainengine.core.registries.tiles.Collisions
- Collisions - Class in com.toxicrain.rainengine.core.registries.tiles
- Collisions() - Constructor for class com.toxicrain.rainengine.core.registries.tiles.Collisions
- color - Variable in class com.toxicrain.rainengine.core.datatypes.TileParameters
- Color - Enum Class in com.toxicrain.rainengine.core.datatypes
-
The Color enum provides basic color tools
- com.toxicrain.rainengine - package com.toxicrain.rainengine
- com.toxicrain.rainengine.artifacts - package com.toxicrain.rainengine.artifacts
- com.toxicrain.rainengine.artifacts.animation - package com.toxicrain.rainengine.artifacts.animation
- com.toxicrain.rainengine.artifacts.behavior - package com.toxicrain.rainengine.artifacts.behavior
- com.toxicrain.rainengine.core - package com.toxicrain.rainengine.core
- com.toxicrain.rainengine.core.datatypes - package com.toxicrain.rainengine.core.datatypes
- com.toxicrain.rainengine.core.datatypes.vector - package com.toxicrain.rainengine.core.datatypes.vector
- com.toxicrain.rainengine.core.eventbus - package com.toxicrain.rainengine.core.eventbus
- com.toxicrain.rainengine.core.eventbus.events - package com.toxicrain.rainengine.core.eventbus.events
- com.toxicrain.rainengine.core.eventbus.events.load - package com.toxicrain.rainengine.core.eventbus.events.load
- com.toxicrain.rainengine.core.eventbus.events.load.sound - package com.toxicrain.rainengine.core.eventbus.events.load.sound
- com.toxicrain.rainengine.core.eventbus.events.render - package com.toxicrain.rainengine.core.eventbus.events.render
- com.toxicrain.rainengine.core.eventbus.events.render.batchrenderer - package com.toxicrain.rainengine.core.eventbus.events.render.batchrenderer
- com.toxicrain.rainengine.core.interfaces - package com.toxicrain.rainengine.core.interfaces
- com.toxicrain.rainengine.core.json - package com.toxicrain.rainengine.core.json
- com.toxicrain.rainengine.core.json.gamestate - package com.toxicrain.rainengine.core.json.gamestate
- com.toxicrain.rainengine.core.json.key - package com.toxicrain.rainengine.core.json.key
- com.toxicrain.rainengine.core.logging - package com.toxicrain.rainengine.core.logging
- com.toxicrain.rainengine.core.lua - package com.toxicrain.rainengine.core.lua
- com.toxicrain.rainengine.core.registries - package com.toxicrain.rainengine.core.registries
- com.toxicrain.rainengine.core.registries.manager - package com.toxicrain.rainengine.core.registries.manager
- com.toxicrain.rainengine.core.registries.tiles - package com.toxicrain.rainengine.core.registries.tiles
- com.toxicrain.rainengine.core.render - package com.toxicrain.rainengine.core.render
- com.toxicrain.rainengine.core.resources - package com.toxicrain.rainengine.core.resources
- com.toxicrain.rainengine.factories - package com.toxicrain.rainengine.factories
- com.toxicrain.rainengine.gui - package com.toxicrain.rainengine.gui
- com.toxicrain.rainengine.light - package com.toxicrain.rainengine.light
- com.toxicrain.rainengine.sound - package com.toxicrain.rainengine.sound
- com.toxicrain.rainengine.sound.music - package com.toxicrain.rainengine.sound.music
- com.toxicrain.rainengine.texture - package com.toxicrain.rainengine.texture
- com.toxicrain.rainengine.util - package com.toxicrain.rainengine.util
- combine(AABB) - Method in class com.toxicrain.rainengine.core.datatypes.AABB
- combineTouchingAABBs() - Static method in class com.toxicrain.rainengine.core.registries.tiles.Tile
-
Combines touching AABBs in the list without breaking collision behavior.
- Constants - Class in com.toxicrain.rainengine.core
-
The Constants class provides a convenient place to hold constants.
- Constants() - Constructor for class com.toxicrain.rainengine.core.Constants
- Constants.FileConstants - Class in com.toxicrain.rainengine.core
- contains(float, float) - Method in class com.toxicrain.rainengine.core.datatypes.AABB
- contains(TilePos) - Method in class com.toxicrain.rainengine.core.datatypes.AABB
- contains(String) - Static method in class com.toxicrain.rainengine.core.registries.WeaponRegistry
- convertToOpenGLCoordinates(float, float, int, int) - Static method in class com.toxicrain.rainengine.util.InputUtils
-
Converts mouse coordinates to OpenGL coordinates.
- convertToOpenGLCoordinatesOffset(float, float, int, int, float, float) - Static method in class com.toxicrain.rainengine.util.InputUtils
-
Converts mouse coordinates to OpenGL coordinates with an offset
- copy() - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- CrashReporter - Class in com.toxicrain.rainengine.core
-
The Crash Reporting system for RainEngine
- CrashReporter() - Constructor for class com.toxicrain.rainengine.core.CrashReporter
- createPerspectiveProjectionMatrix(float, float, float, float) - Static method in class com.toxicrain.rainengine.core.GameEngine
-
Creates a perspective projection matrix.
- createShaderProgram(String, String) - Method in class com.toxicrain.rainengine.util.ShaderUtils
- credits - Static variable in class com.toxicrain.rainengine.core.Constants
- CYAN_AQUA - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
D
- DARK_BLUE - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- DARK_CYAN - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- DARK_GRAY - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- DARK_GREEN - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- DARK_ORANGE - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- DARK_RED - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- data - Variable in class com.toxicrain.rainengine.sound.WavInfo
- decode(ByteBuffer) - Static method in class com.toxicrain.rainengine.sound.WAVDecoder
- defaultWindowName - Variable in class com.toxicrain.rainengine.core.json.GameInfoParser
- DeltaTimeUtil - Class in com.toxicrain.rainengine.util
- DeltaTimeUtil() - Constructor for class com.toxicrain.rainengine.util.DeltaTimeUtil
- distanceTo(TilePos) - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- dot(Vector2) - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector2
- downloadFile(String, Path) - Static method in class com.toxicrain.rainengine.core.Network
- drawConsole() - Method in class com.toxicrain.rainengine.gui.GuiReg
- drawDeathScreen() - Method in class com.toxicrain.rainengine.gui.GuiReg
- drawDebugInfo() - Method in class com.toxicrain.rainengine.gui.GuiReg
- drawFileEditorUI() - Method in class com.toxicrain.rainengine.gui.GuiReg
-
Draws the file editor UI using ImGui.
- drawInventory() - Method in class com.toxicrain.rainengine.gui.GuiReg
- drawKeyBindingInfo() - Method in class com.toxicrain.rainengine.gui.GuiReg
- drawMainMenu() - Method in class com.toxicrain.rainengine.gui.GuiReg
- drawMap(BatchRenderer) - Static method in class com.toxicrain.rainengine.core.GameEngine
- DrawMapEvent - Class in com.toxicrain.rainengine.core.eventbus.events
- DrawMapEvent(BatchRenderer) - Constructor for class com.toxicrain.rainengine.core.eventbus.events.DrawMapEvent
- drawSettingsMenu() - Method in class com.toxicrain.rainengine.gui.GuiReg
-
Draws the settings UI using ImGui.
- durationSeconds - Variable in class com.toxicrain.rainengine.sound.WavInfo
E
- engineMakers - Static variable in class com.toxicrain.rainengine.core.Constants
- engineVersion - Static variable in class com.toxicrain.rainengine.core.Constants
-
Engine's version
- engineVersion - Variable in class com.toxicrain.rainengine.core.json.GameInfoParser
- equals(Object) - Method in class com.toxicrain.rainengine.core.datatypes.Resource
-
Equality based on namespace and path
- equals(Object) - Method in class com.toxicrain.rainengine.core.datatypes.TilePos
- equals(Object) - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- equals(Object) - Method in class com.toxicrain.rainengine.texture.TextureInfo
- equip() - Method in class com.toxicrain.rainengine.artifacts.Weapon
- equipWeapon(Weapon) - Method in class com.toxicrain.rainengine.artifacts.Player
- ExampleGameEntrypoint - Class in com.toxicrain.rainengine
- ExampleGameEntrypoint() - Constructor for class com.toxicrain.rainengine.ExampleGameEntrypoint
- execute(NPC) - Method in class com.toxicrain.rainengine.artifacts.behavior.Behavior
- execute(NPC) - Method in class com.toxicrain.rainengine.artifacts.behavior.BehaviorSequence
- execute(NPC) - Method in class com.toxicrain.rainengine.artifacts.behavior.FollowPlayerBehavior
- execute(NPC) - Method in class com.toxicrain.rainengine.artifacts.behavior.FollowPlayerSeeingBehavior
- execute(NPC) - Method in class com.toxicrain.rainengine.artifacts.behavior.LookAtPlayerBehavior
- execute(NPC) - Method in class com.toxicrain.rainengine.artifacts.behavior.LookAtPlayerSeeingBehavior
- executeAllImguiScripts() - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Executes all Lua scripts.
- executeInitScripts() - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Executes all init scripts.
- executeMapScript(String) - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Executes a map script
- executePostInitScripts() - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Executes all init scripts.
- executeTickScripts() - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Executes all tick scripts.
F
- FileConstants() - Constructor for class com.toxicrain.rainengine.core.Constants.FileConstants
- FileUtils - Class in com.toxicrain.rainengine.util
- FileUtils() - Constructor for class com.toxicrain.rainengine.util.FileUtils
- findByRGB(float, float, float) - Static method in enum class com.toxicrain.rainengine.core.datatypes.Color
- flipImageVertically(BufferedImage) - Static method in class com.toxicrain.rainengine.util.GraphicsUtil
- FollowPlayerBehavior - Class in com.toxicrain.rainengine.artifacts.behavior
- FollowPlayerBehavior(float) - Constructor for class com.toxicrain.rainengine.artifacts.behavior.FollowPlayerBehavior
- FollowPlayerSeeingBehavior - Class in com.toxicrain.rainengine.artifacts.behavior
- FollowPlayerSeeingBehavior(float) - Constructor for class com.toxicrain.rainengine.artifacts.behavior.FollowPlayerSeeingBehavior
- format - Variable in class com.toxicrain.rainengine.sound.WavInfo
- free() - Method in class com.toxicrain.rainengine.sound.SoundInfo
- free() - Method in class com.toxicrain.rainengine.sound.WavInfo
- from(String) - Static method in enum class com.toxicrain.rainengine.core.datatypes.Color
- fromFile(String, Path) - Static method in class com.toxicrain.rainengine.core.datatypes.Resource
-
Compute a Resource from a base directory and file path.
- functionManager - Static variable in class com.toxicrain.rainengine.factories.GameFactory
G
- GameEngine - Class in com.toxicrain.rainengine.core
- GameEngine() - Constructor for class com.toxicrain.rainengine.core.GameEngine
- GameFactory - Class in com.toxicrain.rainengine.factories
- GameFactory() - Constructor for class com.toxicrain.rainengine.factories.GameFactory
- GAMEINFO_PATH - Static variable in class com.toxicrain.rainengine.core.Constants.FileConstants
- GameInfoParser - Class in com.toxicrain.rainengine.core.json
-
GameInfoParser parsers the gameinfo.json file needed for game functionality
- GameInfoParser() - Constructor for class com.toxicrain.rainengine.core.json.GameInfoParser
- GameLoader - Class in com.toxicrain.rainengine.core
- GameLoader() - Constructor for class com.toxicrain.rainengine.core.GameLoader
- gameLogger - Static variable in class com.toxicrain.rainengine.core.logging.RainLogger
-
The logger for this game.
- gameMainClass - Variable in class com.toxicrain.rainengine.core.json.GameInfoParser
- gameMakers - Variable in class com.toxicrain.rainengine.core.json.GameInfoParser
- gameName - Variable in class com.toxicrain.rainengine.core.json.GameInfoParser
- gamePaused - Static variable in class com.toxicrain.rainengine.core.GameEngine
- GamePausedUpdateEvent - Class in com.toxicrain.rainengine.core.eventbus.events
- GamePausedUpdateEvent() - Constructor for class com.toxicrain.rainengine.core.eventbus.events.GamePausedUpdateEvent
- GameState - Class in com.toxicrain.rainengine.core.json.gamestate
- GameState() - Constructor for class com.toxicrain.rainengine.core.json.gamestate.GameState
- GameState(String, int, int, float) - Constructor for class com.toxicrain.rainengine.core.json.gamestate.GameState
- GameStateManager - Class in com.toxicrain.rainengine.core.json.gamestate
-
GameStateManager handles saving and loading of game state data.
- GameStateManager() - Constructor for class com.toxicrain.rainengine.core.json.gamestate.GameStateManager
- GameUpdateEvent - Class in com.toxicrain.rainengine.core.eventbus.events
- GameUpdateEvent() - Constructor for class com.toxicrain.rainengine.core.eventbus.events.GameUpdateEvent
- gameVersion - Variable in class com.toxicrain.rainengine.core.json.GameInfoParser
- gameWebsite - Variable in class com.toxicrain.rainengine.core.json.GameInfoParser
- generateCrashReport(Throwable) - Static method in class com.toxicrain.rainengine.core.CrashReporter
- get(Resource) - Method in class com.toxicrain.rainengine.core.resources.ResourceRegistry
- get(Class<T>, Resource) - Static method in class com.toxicrain.rainengine.core.resources.ResourceManager
-
Retrieves a loaded resource.
- get(String) - Method in class com.toxicrain.rainengine.core.LangHelper
-
Gets a property value by key.
- get(String) - Static method in class com.toxicrain.rainengine.core.registries.WeaponRegistry
- getAllWeapons() - Static method in class com.toxicrain.rainengine.core.registries.WeaponRegistry
- getAtlasTextureId() - Static method in class com.toxicrain.rainengine.texture.TextureSystem
- getBoolean(String, boolean) - Method in class com.toxicrain.rainengine.core.json.SettingsInfoParser
- getCenter() - Static method in class com.toxicrain.rainengine.util.WindowUtils
- getCollisionTiles() - Method in class com.toxicrain.rainengine.core.json.PaletteInfoParser
- getCurrentTrackName() - Method in class com.toxicrain.rainengine.sound.music.MusicManager
-
Get the currently playing track name.
- getCurrentWorkingDirectory(String) - Static method in class com.toxicrain.rainengine.util.FileUtils
-
Converts a relative path to an absolute path based on the current working directory.
- getCurrentWorkingDirectory(String, String) - Static method in class com.toxicrain.rainengine.util.FileUtils
-
Converts a relative path to an absolute path based on the current working directory.
- getDeltaTime() - Static method in class com.toxicrain.rainengine.util.DeltaTimeUtil
-
Get the time (in seconds) since the last frame.
- getFileFromResourceAsStream(String) - Static method in class com.toxicrain.rainengine.util.FileUtils
-
Deprecated.
- getFileSize(String) - Static method in class com.toxicrain.rainengine.util.FileUtils
-
Utility method to get the size of a file as a long.
- getFloat(String, float) - Method in class com.toxicrain.rainengine.core.json.SettingsInfoParser
- getFOV() - Method in class com.toxicrain.rainengine.core.json.SettingsInfoParser
- getInstance() - Static method in class com.toxicrain.rainengine.core.json.GameInfoParser
- getInstance() - Static method in class com.toxicrain.rainengine.core.json.key.KeyInfoParser
- getInstance() - Static method in class com.toxicrain.rainengine.core.json.MapInfoParser
- getInstance() - Static method in class com.toxicrain.rainengine.core.json.PaletteInfoParser
- getInstance() - Static method in class com.toxicrain.rainengine.core.json.SettingsInfoParser
- getInstance(Class<T>) - Static method in class com.toxicrain.rainengine.core.BaseInstanceable
- getInt(String, int) - Method in class com.toxicrain.rainengine.core.json.SettingsInfoParser
- getKeyBind(String) - Method in class com.toxicrain.rainengine.core.json.key.KeyInfoParser
-
Gets a keybinding from keybinds.json
- getKeyNumber(String) - Static method in class com.toxicrain.rainengine.core.json.key.KeyMap
- getKeyString(int) - Static method in class com.toxicrain.rainengine.core.json.key.KeyMap
- getLanguage() - Method in class com.toxicrain.rainengine.core.json.SettingsInfoParser
- getLightSources() - Static method in class com.toxicrain.rainengine.light.LightSystem
- getMousePosition() - Method in class com.toxicrain.rainengine.util.InputUtils
-
Gets the mouse position relative to the window.
- getNPCs() - Method in class com.toxicrain.rainengine.core.registries.manager.NPCManager
- getPerspectiveProjectionMatrixBuffer() - Static method in class com.toxicrain.rainengine.core.GameEngine
-
Gets the perspective projection matrix.
- getProjectiles() - Method in class com.toxicrain.rainengine.core.registries.manager.ProjectileManager
- getRandomFloatBetween(float, float) - Static method in class com.toxicrain.rainengine.util.MathUtils
- getRandomIntBetween(int, int) - Static method in class com.toxicrain.rainengine.util.MathUtils
- getRegion(Resource) - Method in class com.toxicrain.rainengine.texture.TextureAtlas
- getRegion(Resource) - Static method in class com.toxicrain.rainengine.texture.TextureSystem
- getSound(Resource) - Static method in class com.toxicrain.rainengine.sound.SoundSystem
-
Retrieve a sound by Resource
- getSound(String) - Static method in class com.toxicrain.rainengine.sound.SoundSystem
-
Retrieve a sound by string path
- getString(String, String) - Method in class com.toxicrain.rainengine.core.json.SettingsInfoParser
- getTextHeight(Font) - Static method in class com.toxicrain.rainengine.util.GraphicsUtil
- getTextureName() - Method in class com.toxicrain.rainengine.core.datatypes.TileInfo
- getTextWidth(String, Font) - Static method in class com.toxicrain.rainengine.util.GraphicsUtil
- getTileInfo(char) - Method in class com.toxicrain.rainengine.core.json.PaletteInfoParser
- getTileInfo(Resource) - Method in class com.toxicrain.rainengine.core.json.PaletteInfoParser
- getTileInfo(String) - Method in class com.toxicrain.rainengine.core.json.PaletteInfoParser
- getUserDir() - Static method in class com.toxicrain.rainengine.util.FileUtils
-
Returns the
System.getProperty(java.lang.String)
user.dir - getUserHome() - Static method in class com.toxicrain.rainengine.util.FileUtils
-
Returns the
System.getProperty(java.lang.String)
user.home - getVolume() - Method in class com.toxicrain.rainengine.sound.SoundSystem
- getVsync() - Method in class com.toxicrain.rainengine.core.json.SettingsInfoParser
- getWindowHeight() - Method in class com.toxicrain.rainengine.core.json.SettingsInfoParser
- getWindowWidth() - Method in class com.toxicrain.rainengine.core.json.SettingsInfoParser
- GOLD - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- GraphicsUtil - Class in com.toxicrain.rainengine.util
- GraphicsUtil() - Constructor for class com.toxicrain.rainengine.util.GraphicsUtil
- GRAY - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- GREEN - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- guiLuaWrapper - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- GuiLuaWrapper - Class in com.toxicrain.rainengine.gui
- GuiLuaWrapper() - Constructor for class com.toxicrain.rainengine.gui.GuiLuaWrapper
- guiManager - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- guiReg - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- GuiReg - Class in com.toxicrain.rainengine.gui
- GuiReg() - Constructor for class com.toxicrain.rainengine.gui.GuiReg
H
- handleCollisions() - Method in class com.toxicrain.rainengine.artifacts.BaseNPC
- hasCollision(char) - Method in class com.toxicrain.rainengine.core.json.PaletteInfoParser
- hashCode() - Method in class com.toxicrain.rainengine.core.datatypes.Resource
- hashCode() - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- height - Variable in class com.toxicrain.rainengine.texture.TextureInfo
I
- IArtifact - Interface in com.toxicrain.rainengine.core.interfaces
-
Interface representing an "artifact" in RainEngine.
- IMAGES_PATH - Static variable in class com.toxicrain.rainengine.core.Constants.FileConstants
- imguiApp - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- init() - Static method in class com.toxicrain.rainengine.ExampleGameEntrypoint
- init() - Method in class com.toxicrain.rainengine.sound.SoundSystem
- InitLoadEvent - Class in com.toxicrain.rainengine.core.eventbus.events.load
- InitLoadEvent() - Constructor for class com.toxicrain.rainengine.core.eventbus.events.load.InitLoadEvent
- initSounds() - Static method in class com.toxicrain.rainengine.sound.SoundSystem
-
Loads all sounds from the /sound directory into ResourceManager
- initTextures() - Static method in class com.toxicrain.rainengine.texture.TextureSystem
- inputUtils - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- InputUtils - Class in com.toxicrain.rainengine.util
-
The InputUtils class provides help working with mice
- InputUtils(WindowManager) - Constructor for class com.toxicrain.rainengine.util.InputUtils
-
Constructs a InputUtils object with the specified window handle.
- intersects(AABB) - Method in class com.toxicrain.rainengine.core.datatypes.AABB
- ioResourceToByteBuffer(String) - Static method in class com.toxicrain.rainengine.util.FileUtils
- isCollidingAbove(AABB, AABB) - Static method in class com.toxicrain.rainengine.core.registries.tiles.Collisions
- isCollidingBelow(AABB, AABB) - Static method in class com.toxicrain.rainengine.core.registries.tiles.Collisions
- isCollidingLeft(AABB, AABB) - Static method in class com.toxicrain.rainengine.core.registries.tiles.Collisions
- isCollidingRight(AABB, AABB) - Static method in class com.toxicrain.rainengine.core.registries.tiles.Collisions
- isImguiFile(String) - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Determines if the given file name indicates that it is an "imgui" script.
- isInitFile(String) - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Determines if the given file name indicates that it is an "init" script.
- isKeyPressed(int) - Method in class com.toxicrain.rainengine.util.InputUtils
- isMapAutorunFile(String) - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Determines if the given file name indicates that it is a "tick" script.
- isMouseButtonPressed(int) - Method in class com.toxicrain.rainengine.util.InputUtils
- isPostInitFile(String) - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Determines if the given file name indicates that it is an "postinit" script.
- isTickFile(String) - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Determines if the given file name indicates that it is a "tick" script.
- isTransparent - Variable in class com.toxicrain.rainengine.texture.TextureInfo
- isWeaponEquipped(Weapon) - Method in class com.toxicrain.rainengine.artifacts.Player
K
- keyBinds - Static variable in class com.toxicrain.rainengine.core.json.key.KeyMap
- KEYBINDS_PATH - Static variable in class com.toxicrain.rainengine.core.Constants.FileConstants
- keyCode - Variable in class com.toxicrain.rainengine.core.eventbus.events.KeyPressEvent
- KeyInfoParser - Class in com.toxicrain.rainengine.core.json.key
-
KeyInfoParser parsers the keybinds.json file needed for game functionality
- KeyInfoParser() - Constructor for class com.toxicrain.rainengine.core.json.key.KeyInfoParser
- KeyMap - Class in com.toxicrain.rainengine.core.json.key
- KeyMap() - Constructor for class com.toxicrain.rainengine.core.json.key.KeyMap
- KeyPressEvent - Class in com.toxicrain.rainengine.core.eventbus.events
- KeyPressEvent(int, int) - Constructor for class com.toxicrain.rainengine.core.eventbus.events.KeyPressEvent
L
- langHelper - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- LangHelper - Class in com.toxicrain.rainengine.core
- LangHelper(String, Path, Locale) - Constructor for class com.toxicrain.rainengine.core.LangHelper
-
Constructs a LangHelper with external file support, locale selection, and auto-reload.
- level - Variable in class com.toxicrain.rainengine.core.logging.RainConsoleAppender.LogEntry
- LIGHT_BLUE - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- LIGHT_CYAN - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- LIGHT_GRAY - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- LIGHT_GREEN - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- LIGHT_PINK - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- LIGHT_YELLOW - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- lightPositions - Variable in class com.toxicrain.rainengine.core.datatypes.TileParameters
- LightSystem - Class in com.toxicrain.rainengine.light
- LightSystem() - Constructor for class com.toxicrain.rainengine.light.LightSystem
- LIME - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- load() - Static method in class com.toxicrain.rainengine.factories.GameFactory
- load(Resource, String) - Method in class com.toxicrain.rainengine.core.resources.ResourceRegistry
- load(Class<T>, Resource, String) - Static method in class com.toxicrain.rainengine.core.resources.ResourceManager
-
Loads a resource into the registry.
- loadAndInitGame(String) - Static method in class com.toxicrain.rainengine.core.GameLoader
- loadFonts() - Static method in class com.toxicrain.rainengine.factories.GameFactory
- loadGameInfo() - Method in class com.toxicrain.rainengine.core.json.GameInfoParser
-
Loads the gameinfo.json and parsers it into variables
- loadGameState(String) - Static method in class com.toxicrain.rainengine.core.json.gamestate.GameStateManager
-
Loads a GameState from a JSON file.
- loadImgui() - Static method in class com.toxicrain.rainengine.factories.GameFactory
- loadKeyInfo() - Method in class com.toxicrain.rainengine.core.json.key.KeyInfoParser
-
Loads the keybinds.json and parses it into the
HashMap
- loadLang() - Static method in class com.toxicrain.rainengine.factories.GameFactory
- loadLua() - Static method in class com.toxicrain.rainengine.factories.GameFactory
- loadScript(String) - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Loads and executes a Lua script from the specified path.
- loadScript(String, String) - Static method in class com.toxicrain.rainengine.core.lua.LuaManager
-
Loads and executes a Lua script from the specified path.
- loadShader(int, String) - Method in class com.toxicrain.rainengine.util.ShaderUtils
- loadShaders() - Static method in class com.toxicrain.rainengine.factories.GameFactory
- loadSound(String) - Static method in class com.toxicrain.rainengine.sound.SoundSystem
- loadSounds() - Static method in class com.toxicrain.rainengine.factories.GameFactory
- loadTextureMappings() - Method in class com.toxicrain.rainengine.core.json.PaletteInfoParser
- LogEntry(Level, String) - Constructor for class com.toxicrain.rainengine.core.logging.RainConsoleAppender.LogEntry
- lookAt(float) - Method in class com.toxicrain.rainengine.artifacts.BaseNPC
- LookAtPlayerBehavior - Class in com.toxicrain.rainengine.artifacts.behavior
- LookAtPlayerBehavior() - Constructor for class com.toxicrain.rainengine.artifacts.behavior.LookAtPlayerBehavior
- LookAtPlayerSeeingBehavior - Class in com.toxicrain.rainengine.artifacts.behavior
- LookAtPlayerSeeingBehavior() - Constructor for class com.toxicrain.rainengine.artifacts.behavior.LookAtPlayerSeeingBehavior
- LUA_LOGGER - Static variable in class com.toxicrain.rainengine.core.logging.RainLogger
- luaBeginWindow(String) - Method in class com.toxicrain.rainengine.gui.GuiLuaWrapper
- luaCreateButton(String) - Method in class com.toxicrain.rainengine.gui.GuiLuaWrapper
- luaCreateCheckbox(String, boolean) - Method in class com.toxicrain.rainengine.gui.GuiLuaWrapper
- luaCreateColorPicker(String) - Method in class com.toxicrain.rainengine.gui.GuiLuaWrapper
- luaCreateLabel(String) - Method in class com.toxicrain.rainengine.gui.GuiLuaWrapper
- luaEndWindow() - Method in class com.toxicrain.rainengine.gui.GuiLuaWrapper
- luaEngine - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- LuaEngine - Class in com.toxicrain.rainengine.core.lua
- LuaEngine() - Constructor for class com.toxicrain.rainengine.core.lua.LuaEngine
- LuaManager - Class in com.toxicrain.rainengine.core.lua
- LuaManager(Globals) - Constructor for class com.toxicrain.rainengine.core.lua.LuaManager
- luaSetDisabled() - Method in class com.toxicrain.rainengine.gui.GuiLuaWrapper
- luaSetEnabled() - Method in class com.toxicrain.rainengine.gui.GuiLuaWrapper
- luaSetWindowSize(int, int) - Method in class com.toxicrain.rainengine.gui.GuiLuaWrapper
M
- MAGENTA - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- magnitude() - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector2
- magnitude() - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- main(String[]) - Static method in class com.toxicrain.rainengine.Application
- ManagerLoadEvent - Class in com.toxicrain.rainengine.core.eventbus.events.load
- ManagerLoadEvent() - Constructor for class com.toxicrain.rainengine.core.eventbus.events.load.ManagerLoadEvent
- MAP_PATH - Static variable in class com.toxicrain.rainengine.core.Constants.FileConstants
- mapData - Variable in class com.toxicrain.rainengine.core.json.MapInfoParser
- mapDataType - Static variable in class com.toxicrain.rainengine.core.registries.tiles.Tile
- MapInfoParser - Class in com.toxicrain.rainengine.core.json
- MapInfoParser() - Constructor for class com.toxicrain.rainengine.core.json.MapInfoParser
- mapSize - Variable in class com.toxicrain.rainengine.core.json.MapInfoParser
- MAROON - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- MathUtils - Class in com.toxicrain.rainengine.util
- MathUtils() - Constructor for class com.toxicrain.rainengine.util.MathUtils
- maxTexturesPerBatch - Variable in class com.toxicrain.rainengine.core.json.GameInfoParser
- maxX - Variable in class com.toxicrain.rainengine.core.datatypes.AABB
- maxY - Variable in class com.toxicrain.rainengine.core.datatypes.AABB
- maxZoom - Variable in class com.toxicrain.rainengine.core.json.GameInfoParser
- message - Variable in class com.toxicrain.rainengine.core.logging.RainConsoleAppender.LogEntry
- MICROSCOPIC - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Size
- minX - Variable in class com.toxicrain.rainengine.core.datatypes.AABB
- minY - Variable in class com.toxicrain.rainengine.core.datatypes.AABB
- minZoom - Variable in class com.toxicrain.rainengine.core.json.GameInfoParser
- modifySetting(String, Object) - Method in class com.toxicrain.rainengine.core.json.SettingsInfoParser
- moveTowardsPlayer(float) - Method in class com.toxicrain.rainengine.artifacts.NPC
- moveTowardsTarget(TilePos, float) - Method in class com.toxicrain.rainengine.artifacts.BaseNPC
- multiply(float) - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- musicManager - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- MusicManager - Class in com.toxicrain.rainengine.sound.music
- MusicManager(Map<String, SoundInfo>, SoundSystem) - Constructor for class com.toxicrain.rainengine.sound.music.MusicManager
N
- NAVY - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- Network - Class in com.toxicrain.rainengine.core
- Network() - Constructor for class com.toxicrain.rainengine.core.Network
- normalize() - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector2
- normalize() - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- NPC - Class in com.toxicrain.rainengine.artifacts
- NPC(float, float, float, float) - Constructor for class com.toxicrain.rainengine.artifacts.NPC
- NPC_ZLEVEL - Static variable in class com.toxicrain.rainengine.core.Constants
-
Z level for NPC's, allows the player to be draw over them
- npcManager - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- NPCManager - Class in com.toxicrain.rainengine.core.registries.manager
- NPCManager() - Constructor for class com.toxicrain.rainengine.core.registries.manager.NPCManager
O
- OLIVE - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- ORANGE - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
P
- PALETTE_CUSTOM_PATH - Static variable in class com.toxicrain.rainengine.core.Constants.FileConstants
- PALETTE_DEFAULT_PATH - Static variable in class com.toxicrain.rainengine.core.Constants.FileConstants
- PaletteInfoParser - Class in com.toxicrain.rainengine.core.json
- PaletteInfoParser() - Constructor for class com.toxicrain.rainengine.core.json.PaletteInfoParser
- parseMapFile(String) - Method in class com.toxicrain.rainengine.core.json.MapInfoParser
- PINK - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- play(SoundInfo) - Method in class com.toxicrain.rainengine.sound.SoundSystem
- play(SoundInfo, boolean, float) - Method in class com.toxicrain.rainengine.sound.SoundSystem
- play(SoundInfo, Runnable) - Method in class com.toxicrain.rainengine.sound.SoundSystem
- player - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- Player - Class in com.toxicrain.rainengine.artifacts
- Player(Resource, boolean) - Constructor for class com.toxicrain.rainengine.artifacts.Player
- playerHealth - Variable in class com.toxicrain.rainengine.core.json.gamestate.GameState
- playerName - Variable in class com.toxicrain.rainengine.core.json.gamestate.GameState
- playerSize - Variable in class com.toxicrain.rainengine.core.json.GameInfoParser
- playerSpawnPos - Variable in class com.toxicrain.rainengine.core.json.MapInfoParser
- playerX - Variable in class com.toxicrain.rainengine.core.json.gamestate.GameState
- playerY - Variable in class com.toxicrain.rainengine.core.json.gamestate.GameState
- PostInitLoadEvent - Class in com.toxicrain.rainengine.core.eventbus.events.load
- PostInitLoadEvent() - Constructor for class com.toxicrain.rainengine.core.eventbus.events.load.PostInitLoadEvent
- posX - Variable in class com.toxicrain.rainengine.core.datatypes.TileParameters
- posY - Variable in class com.toxicrain.rainengine.core.datatypes.TileParameters
- PreInitLoadEvent - Class in com.toxicrain.rainengine.core.eventbus.events.load
- PreInitLoadEvent() - Constructor for class com.toxicrain.rainengine.core.eventbus.events.load.PreInitLoadEvent
- printLOGConditional(String, boolean) - Static method in class com.toxicrain.rainengine.core.logging.RainLogger
-
Deprecated.
- Projectile - Class in com.toxicrain.rainengine.artifacts
- Projectile(Resource, float, float, float, float) - Constructor for class com.toxicrain.rainengine.artifacts.Projectile
- PROJECTILE_ZLEVEL - Static variable in class com.toxicrain.rainengine.core.Constants
- projectileManager - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- ProjectileManager - Class in com.toxicrain.rainengine.core.registries.manager
- ProjectileManager() - Constructor for class com.toxicrain.rainengine.core.registries.manager.ProjectileManager
- PURPLE - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
R
- RAIN_LOGGER - Static variable in class com.toxicrain.rainengine.core.logging.RainLogger
- RainBusListener - Class in com.toxicrain.rainengine.core.eventbus
-
RainBusListener where we listen to the EventBus for RainEngine.
- RainBusListener() - Constructor for class com.toxicrain.rainengine.core.eventbus.RainBusListener
- RainConsoleAppender - Class in com.toxicrain.rainengine.core.logging
- RainConsoleAppender() - Constructor for class com.toxicrain.rainengine.core.logging.RainConsoleAppender
- RainConsoleAppender.LogEntry - Class in com.toxicrain.rainengine.core.logging
- RainLogger - Class in com.toxicrain.rainengine.core.logging
-
Utility class for logging messages to the console.
- RainLogger() - Constructor for class com.toxicrain.rainengine.core.logging.RainLogger
- readFile(String) - Static method in class com.toxicrain.rainengine.util.FileUtils
-
Utility method to read the file content into a string
- RED - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- register(Weapon) - Static method in class com.toxicrain.rainengine.core.registries.WeaponRegistry
- register(Class<T>, Function<String, T>) - Static method in class com.toxicrain.rainengine.core.resources.ResourceManager
-
Registers a resource type with a loading function.
- registerKeyBind(int, Runnable) - Static method in class com.toxicrain.rainengine.core.json.key.KeyMap
- releaseSource(int) - Method in class com.toxicrain.rainengine.sound.SoundSystem
- reload() - Method in class com.toxicrain.rainengine.core.resources.ResourceRegistry
- reload(Class<T>) - Static method in class com.toxicrain.rainengine.core.resources.ResourceManager
-
Reloads resources for a specific type.
- reloadAll() - Static method in class com.toxicrain.rainengine.core.resources.ResourceManager
-
Reloads all resources across all registries.
- removeLightSource(float, float, float) - Static method in class com.toxicrain.rainengine.light.LightSystem
-
Removes a light source from the specified position with the specified strength.
- removeNPC(NPC) - Method in class com.toxicrain.rainengine.core.registries.manager.NPCManager
- removeProjectile(Projectile) - Method in class com.toxicrain.rainengine.core.registries.manager.ProjectileManager
- render(BatchRenderer) - Method in class com.toxicrain.rainengine.artifacts.animation.Animation
- render(BatchRenderer) - Method in class com.toxicrain.rainengine.artifacts.Player
- render(BatchRenderer) - Method in class com.toxicrain.rainengine.artifacts.Projectile
- render(BatchRenderer) - Method in class com.toxicrain.rainengine.artifacts.RenderableArtifact
- render(BatchRenderer) - Static method in interface com.toxicrain.rainengine.core.interfaces.IArtifact
-
Renders the artifact using the provided batch renderer.
- render(BatchRenderer) - Method in class com.toxicrain.rainengine.core.registries.manager.NPCManager
- render(BatchRenderer) - Method in class com.toxicrain.rainengine.core.registries.manager.ProjectileManager
- RenderableArtifact - Class in com.toxicrain.rainengine.artifacts
-
A base class for all artifacts that can be rendered in the world.
- RenderableArtifact(Resource, float, float, float, float) - Constructor for class com.toxicrain.rainengine.artifacts.RenderableArtifact
- renderBatch() - Method in class com.toxicrain.rainengine.core.render.BatchRenderer
- RenderBatchRendererEvent - Class in com.toxicrain.rainengine.core.eventbus.events.render.batchrenderer
- RenderBatchRendererEvent(BatchRenderer) - Constructor for class com.toxicrain.rainengine.core.eventbus.events.render.batchrenderer.RenderBatchRendererEvent
- RenderGuiEvent - Class in com.toxicrain.rainengine.core.eventbus.events.render
- RenderGuiEvent() - Constructor for class com.toxicrain.rainengine.core.eventbus.events.render.RenderGuiEvent
- reset() - Method in class com.toxicrain.rainengine.artifacts.animation.Animation
- reset() - Static method in class com.toxicrain.rainengine.util.DeltaTimeUtil
-
Resets the timer manually (optional use).
- Resource - Class in com.toxicrain.rainengine.core.datatypes
- Resource(String) - Constructor for class com.toxicrain.rainengine.core.datatypes.Resource
- Resource(String, String) - Constructor for class com.toxicrain.rainengine.core.datatypes.Resource
- ResourceManager - Class in com.toxicrain.rainengine.core.resources
- ResourceManager() - Constructor for class com.toxicrain.rainengine.core.resources.ResourceManager
- ResourceRegistry<T> - Class in com.toxicrain.rainengine.core.resources
- ResourceRegistry(Function<String, T>) - Constructor for class com.toxicrain.rainengine.core.resources.ResourceRegistry
- restart() - Static method in class com.toxicrain.rainengine.Application
- run() - Static method in class com.toxicrain.rainengine.core.GameEngine
- runAll(Runnable...) - Method in class com.toxicrain.rainengine.gui.GuiReg
S
- sampleRate - Variable in class com.toxicrain.rainengine.sound.WavInfo
- saveAtlasAsImage(String) - Method in class com.toxicrain.rainengine.texture.TextureAtlas
-
Saves the current texture atlas to an image file.
- saveGameState(GameState, String) - Static method in class com.toxicrain.rainengine.core.json.gamestate.GameStateManager
-
Saves the given GameState to a JSON file.
- scale(float) - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector2
- scaleX - Variable in class com.toxicrain.rainengine.core.datatypes.TileParameters
- scaleY - Variable in class com.toxicrain.rainengine.core.datatypes.TileParameters
- ScrollEvent - Class in com.toxicrain.rainengine.core.eventbus.events
- ScrollEvent(float, float) - Constructor for class com.toxicrain.rainengine.core.eventbus.events.ScrollEvent
- scrollOffset - Variable in class com.toxicrain.rainengine.artifacts.Player
- set(float, float) - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector2
- setNextTrack(String) - Method in class com.toxicrain.rainengine.sound.music.MusicManager
-
Dynamically sets the next track to be played.
- setPosition(float, float) - Method in class com.toxicrain.rainengine.artifacts.animation.Animation
- setScale(float, float) - Method in class com.toxicrain.rainengine.artifacts.animation.Animation
- setSize(float, float) - Method in class com.toxicrain.rainengine.artifacts.animation.Animation
- setStartingSound(String) - Method in class com.toxicrain.rainengine.sound.music.MusicManager
-
Sets the starting track that should play first.
- SETTINGS_PATH - Static variable in class com.toxicrain.rainengine.core.Constants.FileConstants
- SettingsInfoParser - Class in com.toxicrain.rainengine.core.json
-
SettingsInfoParser dynamically loads and manages settings.json file
- setupGUIs() - Static method in class com.toxicrain.rainengine.factories.GameFactory
- setVolume(float) - Method in class com.toxicrain.rainengine.sound.SoundSystem
- ShaderUtils - Class in com.toxicrain.rainengine.util
- ShaderUtils() - Constructor for class com.toxicrain.rainengine.util.ShaderUtils
- SILVER - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- Size - Enum Class in com.toxicrain.rainengine.core.datatypes
- SMALL - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Size
- soundInfo - Variable in class com.toxicrain.rainengine.core.eventbus.events.load.sound.SoundInfoLoadEvent
- SoundInfo - Class in com.toxicrain.rainengine.sound
-
The SoundInfo class provides information about the given sound like the WavInfo and the id for the buffer
- SoundInfo(WavInfo, int) - Constructor for class com.toxicrain.rainengine.sound.SoundInfo
-
Make a new SoundInfo
- SoundInfoLoadEvent - Class in com.toxicrain.rainengine.core.eventbus.events.load.sound
- SoundInfoLoadEvent(SoundInfo) - Constructor for class com.toxicrain.rainengine.core.eventbus.events.load.sound.SoundInfoLoadEvent
- soundSystem - Variable in class com.toxicrain.rainengine.core.eventbus.events.load.sound.SoundSystemLoadEvent
- soundSystem - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- SoundSystem - Class in com.toxicrain.rainengine.sound
- SoundSystem() - Constructor for class com.toxicrain.rainengine.sound.SoundSystem
- SoundSystemLoadEvent - Class in com.toxicrain.rainengine.core.eventbus.events.load.sound
- SoundSystemLoadEvent(SoundSystem) - Constructor for class com.toxicrain.rainengine.core.eventbus.events.load.sound.SoundSystemLoadEvent
- start() - Method in class com.toxicrain.rainengine.sound.music.MusicManager
-
Start playing music
- stop() - Method in class com.toxicrain.rainengine.sound.music.MusicManager
- stop() - Method in class com.toxicrain.rainengine.sound.SoundSystem
- stop(boolean, float) - Method in class com.toxicrain.rainengine.sound.SoundSystem
- stopWatching() - Method in class com.toxicrain.rainengine.core.LangHelper
-
Stops the WatchService (optional if you want to clean up threads on shutdown).
- subtract(Vector2) - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector2
- subtract(Vector3) - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
T
- TEAL - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- textureAtlas - Static variable in class com.toxicrain.rainengine.factories.GameFactory
- TextureAtlas - Class in com.toxicrain.rainengine.texture
- TextureAtlas(int) - Constructor for class com.toxicrain.rainengine.texture.TextureAtlas
- textureId - Variable in class com.toxicrain.rainengine.texture.TextureInfo
- TextureInfo - Class in com.toxicrain.rainengine.texture
-
The TextureInfo class provides information about the given texture Textures are created in
TextureSystem
- TextureInfo(int, int, int) - Constructor for class com.toxicrain.rainengine.texture.TextureInfo
-
Create a new TextureInfo
- TextureInfo(int, int, int, boolean) - Constructor for class com.toxicrain.rainengine.texture.TextureInfo
-
Create a new TextureInfo
- TextureRegion - Class in com.toxicrain.rainengine.texture
- TextureRegion() - Constructor for class com.toxicrain.rainengine.texture.TextureRegion
- TextureSystem - Class in com.toxicrain.rainengine.texture
- TextureSystem() - Constructor for class com.toxicrain.rainengine.texture.TextureSystem
- Tile - Class in com.toxicrain.rainengine.core.registries.tiles
- Tile() - Constructor for class com.toxicrain.rainengine.core.registries.tiles.Tile
- TileInfo - Class in com.toxicrain.rainengine.core.datatypes
- TileInfo(Resource, boolean) - Constructor for class com.toxicrain.rainengine.core.datatypes.TileInfo
- tileMappings - Static variable in class com.toxicrain.rainengine.core.json.PaletteInfoParser
- TileParameters - Class in com.toxicrain.rainengine.core.datatypes
- TileParameters() - Constructor for class com.toxicrain.rainengine.core.datatypes.TileParameters
- TilePos - Class in com.toxicrain.rainengine.core.datatypes
- TilePos(float, float, float) - Constructor for class com.toxicrain.rainengine.core.datatypes.TilePos
- tiles - Variable in class com.toxicrain.rainengine.core.json.MapInfoParser
- TINY - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Size
- toFilePath() - Method in class com.toxicrain.rainengine.core.datatypes.Resource
-
Converts to a filesystem path: "namespace/path"
- toFloatArray(float, Color) - Static method in enum class com.toxicrain.rainengine.core.datatypes.Color
- toFloatArray(Color) - Static method in enum class com.toxicrain.rainengine.core.datatypes.Color
- toString() - Method in class com.toxicrain.rainengine.core.datatypes.Resource
-
Returns the full string representation like "namespace:path"
- toString() - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector2
- toString() - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- toString() - Method in class com.toxicrain.rainengine.texture.TextureInfo
U
- uncaughtException(Thread, Throwable) - Method in class com.toxicrain.rainengine.core.CrashReporter
- unequip() - Method in class com.toxicrain.rainengine.artifacts.Weapon
- update() - Method in class com.toxicrain.rainengine.artifacts.animation.Animation
- update() - Method in class com.toxicrain.rainengine.artifacts.Projectile
- update() - Static method in interface com.toxicrain.rainengine.core.interfaces.IArtifact
-
Updates the state of the artifact.
- update() - Static method in class com.toxicrain.rainengine.util.DeltaTimeUtil
-
Call this once per frame to update the delta time.
- update(double) - Method in class com.toxicrain.rainengine.artifacts.Player
- update(double) - Method in class com.toxicrain.rainengine.core.registries.manager.NPCManager
- update(double) - Method in class com.toxicrain.rainengine.core.registries.manager.ProjectileManager
- update(float) - Method in class com.toxicrain.rainengine.artifacts.BaseNPC
- update(float) - Method in class com.toxicrain.rainengine.artifacts.NPC
- update(float, float, float) - Method in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- update(float, float, float, float) - Method in class com.toxicrain.rainengine.core.datatypes.AABB
- updateKeyBinding(String, String) - Method in class com.toxicrain.rainengine.core.json.key.KeyInfoParser
-
Updates a keybinding in memory and writes the change to keybinds.json
V
- valueOf(String) - Static method in enum class com.toxicrain.rainengine.core.datatypes.Color
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.toxicrain.rainengine.core.datatypes.Size
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.toxicrain.rainengine.core.datatypes.Color
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.toxicrain.rainengine.core.datatypes.Size
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vector2 - Class in com.toxicrain.rainengine.core.datatypes.vector
- Vector2(float, float) - Constructor for class com.toxicrain.rainengine.core.datatypes.vector.Vector2
- Vector3 - Class in com.toxicrain.rainengine.core.datatypes.vector
- Vector3(Vector3) - Constructor for class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- VIOLET - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
W
- WAVDecoder - Class in com.toxicrain.rainengine.sound
-
Decodes a wav and converts it into a
WavInfo
- WAVDecoder() - Constructor for class com.toxicrain.rainengine.sound.WAVDecoder
- wavInfo - Variable in class com.toxicrain.rainengine.sound.SoundInfo
- WavInfo - Class in com.toxicrain.rainengine.sound
-
The WavInfo class provides information about the given sound such as the format and samplerate
- WavInfo(ByteBuffer, int, int, double) - Constructor for class com.toxicrain.rainengine.sound.WavInfo
- weapon - Variable in class com.toxicrain.rainengine.core.eventbus.events.WeaponRegisterEvent
- Weapon - Class in com.toxicrain.rainengine.artifacts
- Weapon(String, Resource, Resource, int, float, int, int, long, float) - Constructor for class com.toxicrain.rainengine.artifacts.Weapon
- WeaponRegisterEvent - Class in com.toxicrain.rainengine.core.eventbus.events
- WeaponRegisterEvent(Weapon) - Constructor for class com.toxicrain.rainengine.core.eventbus.events.WeaponRegisterEvent
- WeaponRegistry - Class in com.toxicrain.rainengine.core.registries
- WeaponRegistry() - Constructor for class com.toxicrain.rainengine.core.registries.WeaponRegistry
- WHITE - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- width - Variable in class com.toxicrain.rainengine.texture.TextureInfo
- windowManager - Static variable in class com.toxicrain.rainengine.core.GameEngine
- WindowUtils - Class in com.toxicrain.rainengine.util
- WindowUtils() - Constructor for class com.toxicrain.rainengine.util.WindowUtils
- writeFile(String, String) - Static method in class com.toxicrain.rainengine.util.FileUtils
X
- x - Variable in class com.toxicrain.rainengine.core.datatypes.vector.Vector2
- x - Variable in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- xOffset - Variable in class com.toxicrain.rainengine.core.eventbus.events.ScrollEvent
Y
- y - Variable in class com.toxicrain.rainengine.core.datatypes.vector.Vector2
- y - Variable in class com.toxicrain.rainengine.core.datatypes.vector.Vector3
- YELLOW - Enum constant in enum class com.toxicrain.rainengine.core.datatypes.Color
- yOffeset - Variable in class com.toxicrain.rainengine.core.eventbus.events.ScrollEvent
Z
A B C D E F G H I K L M N O P R S T U V W X Y ZAll Classes and Interfaces|All Packages|Constant Field Values