public class EngineSwt
extends com.b3dgs.lionengine.core.Engine
Constructor and Description |
---|
EngineSwt(String name,
com.b3dgs.lionengine.core.Version version,
Class<?> classResource)
Create engine.
|
EngineSwt(String name,
com.b3dgs.lionengine.core.Version version,
String resourcesDir)
Create engine.
|
Modifier and Type | Method and Description |
---|---|
protected void |
close() |
protected void |
open() |
static void |
start(String name,
com.b3dgs.lionengine.core.Version version)
Start engine.
|
static void |
start(String name,
com.b3dgs.lionengine.core.Version version,
Class<?> classResource)
Start engine.
|
static void |
start(String name,
com.b3dgs.lionengine.core.Version version,
String resourcesDir)
Start engine.
|
public EngineSwt(String name, com.b3dgs.lionengine.core.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
).com.b3dgs.lionengine.LionEngineException
- If arguments error.public EngineSwt(String name, com.b3dgs.lionengine.core.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
).com.b3dgs.lionengine.LionEngineException
- If arguments error.public static void start(String name, com.b3dgs.lionengine.core.Version version)
name
- The program name (must not be null
).version
- The program version (must not be null
).com.b3dgs.lionengine.LionEngineException
- If arguments error.public static void start(String name, com.b3dgs.lionengine.core.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
).com.b3dgs.lionengine.LionEngineException
- If arguments error.public static void start(String name, com.b3dgs.lionengine.core.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
).com.b3dgs.lionengine.LionEngineException
- If arguments error.protected void open()
open
in class com.b3dgs.lionengine.core.Engine
protected void close()
close
in class com.b3dgs.lionengine.core.Engine
Copyright © 2016 Byron 3D Games Studio. All rights reserved.