Class CoreEngine
Inheritance
java.lang.Object
CoreEngine
Syntax
Constructors
CoreEngine(double framerate)
Declaration
public CoreEngine(double framerate)
Parameters
Type |
Name |
Description |
double |
framerate |
|
Methods
exit(int exitCode)
Declaration
public void exit(int exitCode)
Parameters
Type |
Name |
Description |
int |
exitCode |
|
getFrameRate()
Declaration
public double getFrameRate()
Returns
getFrameTime()
Declaration
public double getFrameTime()
Returns
getWindowManager()
Declaration
public GLFWWindowManager getWindowManager()
Returns
initGLFW()
Declaration
isRunning()
Declaration
public boolean isRunning()
Returns
openLoadingWindow()
Specifies the entry point to the engine.
Declaration
protected void openLoadingWindow()
setFrameRate(double frameRate)
Declaration
public void setFrameRate(double frameRate)
Parameters
Type |
Name |
Description |
double |
frameRate |
|
start()
Starts the engine. And if it is already running dose nothing.
Declaration
stop()
Declaration