Package ActiverseEngine
Class GameLoop
java.lang.Object
ActiverseEngine.GameLoop
-
Constructor Details
-
GameLoop
Constructor to initialize the game loop with the given world. Loads properties and sets initial values.- Parameters:
world
- The game world to be updated and rendered.
-
-
Method Details
-
run
-
stop
public void stop()Stops the game loop by setting the running flag to false. -
getTargetFps
public int getTargetFps()- Returns:
- int
-
isDynamicLighting
public boolean isDynamicLighting()- Returns:
- boolean
-