Package de.ellpeck.rockbottom.api.assets
Interface IAssetManager
public interface IAssetManager
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAsset(IAssetLoader loader, ResourceName name, IAsset asset) <T extends IAsset>
Map<ResourceName,T> getAllOfType(ResourceName identifier) getAnimation(ResourceName path) <T extends IAsset>
TgetAssetWithFallback(ResourceName identifier, ResourceName path, T fallback) floatgetFont()getFont(ResourceName path) getLocale(ResourceName path) getShaderProgram(ResourceName path) getSound(ResourceName path) getTexture(ResourceName path) booleanhasAsset(ResourceName identifier, ResourceName path) voidload()localize(ResourceName unloc, Object... format) voidsetCursor(ISpecialCursor cursor) voidvoid
-
Method Details
-
load
-
setCursor
-
getAllOfType
-
getAssetWithFallback
-
hasAsset
-
getTexture
-
getAnimation
-
getSound
-
getShaderProgram
-
getLocale
-
getFont
-
localize
-
getFont
IFont getFont() -
setFont
-
getLocale
Locale getLocale() -
setLocale
-
getResourceStream
-
getResourceURL
-
getMissingTexture
ITexture getMissingTexture() -
getLocalizedDateFormat
SimpleDateFormat getLocalizedDateFormat() -
pickCurrentCursor
-
getTextureStitcher
ITextureStitcher getTextureStitcher() -
addAsset
-
getCursorScale
float getCursorScale()
-