Game API Overview¶
The Game class acts as the central hub and orchestrator of LITIENGINE. It exposes specialized singleton managers providing access to every engine subsystem.
Core Game Subsystems¶
-
Loading
.tmxmaps, switching active scenes, entity lookup, and spatial query indexing. -
Smooth target tracking, map clamping, zoom transitions, screen shake trauma, and coordinate conversion.
-
Spatial quadtrees, raycasting, velocity resolution, bounding box collisions, and force gravity.
-
Double-buffered AWT rendering pipeline, Y-sorted render layers, shapes, and
TextRenderer. -
2D positional spatial audio falloff,
.oggVorbis streaming, sound effect caching, and music playlists. -
Game loop execution, delta time calculations, update callbacks, and scheduled delay tasks.
-
Property interpolation framework with Robert Penner easing equations (
QUAD,BOUNCE,ELASTIC). -
Scene state manager for Title Screen, Gameplay Screen, Pause Overlay, and Game Over sequences.
-
Complete Java API documentation for all packages, classes, and methods across the engine.