public interface IAssetManager
| Modifier and Type | Method and Description |
|---|---|
<T extends IAsset> |
getAllOfType(java.lang.Class<T> type) |
Animation |
getAnimation(IResourceName path) |
<T> T |
getAssetWithFallback(IResourceName path,
IAsset<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) |
org.newdawn.slick.Sound |
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> T getAssetWithFallback(IResourceName path, IAsset<T> fallback)
ITexture getTexture(IResourceName path)
Animation getAnimation(IResourceName path)
org.newdawn.slick.Sound 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()