public class EngineAwt extends Engine
Constructor and Description |
---|
EngineAwt(String name,
Version version,
Class<?> classResource)
Create engine.
|
EngineAwt(String name,
Version version,
String resourcesDir)
Create engine.
|
Modifier and Type | Method and Description |
---|---|
protected void |
close() |
protected void |
open() |
static void |
start(String name,
Version version)
Start engine.
|
static void |
start(String name,
Version version,
Class<?> classResource)
Start engine.
|
static void |
start(String name,
Version version,
String resourcesDir)
Start engine.
|
getName, getProgramName, getProgramVersion, getVersion, isStarted, postClose, start, terminate
public EngineAwt(String name, Version version, String resourcesDir)
name
- The program name (must not be null
).version
- The program version (must not be null
).resourcesDir
- The main resources directory (can be null
).LionEngineException
- If arguments error.public EngineAwt(String name, Version version, Class<?> classResource)
name
- The program name (must not be null
).version
- The program version (must not be null
).classResource
- The class loader reference (resources entry point, non null
).LionEngineException
- If arguments error.public static void start(String name, Version version)
name
- The program name (must not be null
).version
- The program version (must not be null
).LionEngineException
- If arguments error.public static void start(String name, Version version, String resourcesDir)
name
- The program name (must not be null
).version
- The program version (must not be null
).resourcesDir
- The main resources directory (can be null
).LionEngineException
- If arguments error.public static void start(String name, Version version, Class<?> classResource)
name
- The program name (must not be null
).version
- The program version (must not be null
).classResource
- The class loader reference (resources entry point, non null
).LionEngineException
- If arguments error.Copyright © 2017 Byron 3D Games Studio. All rights reserved.