public interface FactoryMedia
Modifier and Type | Method and Description |
---|---|
Media |
create(String separator,
Class<?> loader,
String... path)
Create a media from an abstract path.
|
Media |
create(String separator,
String resourcesDir,
String... path)
Create a media from an abstract path.
|
Media create(String separator, String resourcesDir, String... path)
separator
- The separator used.resourcesDir
- The resources directory path.path
- The media path.LionEngineException
- If path is null
.Media create(String separator, Class<?> loader, String... path)
separator
- The separator used.loader
- The class loader used (can be null
if not used).path
- The media path.LionEngineException
- If path is null
.Copyright © 2016 Byron 3D Games Studio. All rights reserved.