public interface IAssetManager
| Modifier and Type | Method and Description |
|---|---|
<T extends IAsset> |
getAllOfType(java.lang.Class<T> type) |
IAnimation |
getAnimation(IResourceName path) |
<T extends IAsset> |
getAssetWithFallback(IResourceName path,
T fallback) |
IFont |
getFont() |
IFont |
getFont(IResourceName path) |
Locale |
getLocale() |
Locale |
getLocale(IResourceName path) |
java.text.SimpleDateFormat |
getLocalizedDateFormat() |
ITexture |
getMissingTexture() |
java.io.InputStream |
getResourceStream(java.lang.String s) |
ISound |
getSound(IResourceName path) |
ITexture |
getTexture(IResourceName path) |
java.lang.String |
localize(IResourceName unloc,
java.lang.Object... format) |
void |
reloadCursor(IGameInstance game) |
void |
setFont(IFont font) |
void |
setLocale(Locale locale) |
void reloadCursor(IGameInstance game)
<T extends IAsset> java.util.Map<IResourceName,T> getAllOfType(java.lang.Class<T> type)
<T extends IAsset> T getAssetWithFallback(IResourceName path, T fallback)
ITexture getTexture(IResourceName path)
IAnimation getAnimation(IResourceName path)
ISound getSound(IResourceName path)
Locale getLocale(IResourceName path)
IFont getFont(IResourceName path)
java.lang.String localize(IResourceName unloc, java.lang.Object... format)
IFont getFont()
void setFont(IFont font)
Locale getLocale()
void setLocale(Locale locale)
java.io.InputStream getResourceStream(java.lang.String s)
ITexture getMissingTexture()
java.text.SimpleDateFormat getLocalizedDateFormat()