|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.b3dgs.lionengine.Engine
public abstract class Engine
LionEngine
By Byron 3D Games Studio
Field Summary | |
---|---|
static java.lang.String |
AUTHOR
Engine author. |
static int |
CORES
Number of available cores. |
static java.lang.String |
DATE
Engine last release date. |
static Engine |
ENGINE
Engine factory. |
protected static java.lang.String |
name
|
static java.lang.String |
NAME
Engine name. |
protected static boolean |
started
|
protected static java.lang.String |
version
|
static java.lang.String |
VERSION
Engine version. |
Constructor Summary | |
---|---|
Engine()
|
Method Summary | |
---|---|
abstract Initializer |
createInitializer(int widthRef,
int heightRef,
int depthRef,
int rateRef)
Create a new initializer, used for game configuration reference. |
abstract Loader |
createLoader(Initializer init,
Config config,
AbstractLauncher launcher)
Create a loader, from an initializer and a config. |
static void |
start(java.lang.String programName,
java.lang.String programVersion,
java.lang.String ressourcesDir,
boolean debug,
int theme)
Start engine; has to be called before first and only one time. |
static java.lang.String |
tempDir()
Get temporary directory (where are stored files from jar) |
static void |
verbose(boolean error,
java.lang.String function,
java.lang.String... message)
Display a verbose message |
static void |
verbose(java.lang.String function,
java.lang.String... message)
Display a verbose message to standard output. |
static java.lang.String |
workingDir()
Get current working directory (execution directory). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
public static final java.lang.String VERSION
public static final java.lang.String DATE
public static final java.lang.String AUTHOR
public static final Engine ENGINE
public static final int CORES
protected static boolean started
protected static java.lang.String name
protected static java.lang.String version
Constructor Detail |
---|
public Engine()
Method Detail |
---|
public static void start(java.lang.String programName, java.lang.String programVersion, java.lang.String ressourcesDir, boolean debug, int theme)
programName
- program name.programVersion
- program version.ressourcesDir
- main ressources directory.debug
- debug state (false for release state).theme
- theme to use for any window.public static void verbose(boolean error, java.lang.String function, java.lang.String... message)
error
- true to use err output, standard else.function
- current function name.message
- list of messages.public static void verbose(java.lang.String function, java.lang.String... message)
function
- current function name.message
- list of messages.public static java.lang.String tempDir()
public static java.lang.String workingDir()
public abstract Initializer createInitializer(int widthRef, int heightRef, int depthRef, int rateRef)
widthRef
- game standard width.heightRef
- game standard height.depthRef
- game standard depth.rateRef
- game standard frame rate.
public abstract Loader createLoader(Initializer init, Config config, AbstractLauncher launcher)
init
- initializer reference.config
- configuration reference.launcher
- launcher reference.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |