public class LPcResourceAccess extends Object
| Constructor and Description |
|---|
LPcResourceAccess(LPcInstance instance) |
| Modifier and Type | Method and Description |
|---|---|
List<LAnimationFrame> |
getAnimationFrames(LAnimationResource resource) |
int |
getElementsPerResource(LRawResource rawResource) |
LFont |
getFont(LFontResource font) |
Map<String,LFont> |
getIdToFontMap() |
Map<String,LImage> |
getIdToImageMap() |
LImage |
getImage(LImageResource resource) |
String |
getRawResourceName(LRawResource rawResource,
int index) |
String |
readRawResourceAsUTF8String(LRawResource rawResource,
int index) |
public LPcResourceAccess(LPcInstance instance)
public int getElementsPerResource(LRawResource rawResource)
public LImage getImage(LImageResource resource) throws Exception
Exceptionpublic String getRawResourceName(LRawResource rawResource, int index)
public String readRawResourceAsUTF8String(LRawResource rawResource, int index) throws Exception
Exceptionpublic LFont getFont(LFontResource font) throws Exception
Exceptionpublic List<LAnimationFrame> getAnimationFrames(LAnimationResource resource) throws Exception
ExceptionCopyright © 2019 Philip Heyse. All rights reserved.