Class Blueprints
java.lang.Object
de.gurkenlabs.litiengine.resources.ResourcesContainer<Blueprint>
de.gurkenlabs.litiengine.resources.Blueprints
public class Blueprints
extends ResourcesContainer<Blueprint>Method Summary
Modifier and Type Method Description protected java.lang.StringgetAlias(java.lang.String resourceName, Blueprint resource)Gets an alias for the specified resourceName.static booleanisSupported(java.lang.String fileName)protected Blueprintload(java.net.URL resourceName)Methods inherited from class de.gurkenlabs.litiengine.resources.ResourcesContainer
add, add, addClearedListener, addContainerListener, clear, contains, contains, contains, count, get, get, get, get, get, get, get, getAll, getAsync, getAsync, getResources, remove, remove, removeClearedListener, removeContainerListener, tryGet, tryGet
Method Details
isSupported
public static boolean isSupported(java.lang.String fileName)load
- Specified by:
loadin classResourcesContainer<Blueprint>- Throws:
java.lang.Exception
getAlias
Description copied from class:ResourcesContainerGets an alias for the specified resourceName. Note that the process of providing an alias is up to the ResourceContainer implementation.- Overrides:
getAliasin classResourcesContainer<Blueprint>- Parameters:
resourceName- The original name of the resource.resource- The resource.- Returns:
- An alias for the specified resource.
