playn.flash
Class FlashAssetManager

java.lang.Object
  extended by playn.core.AbstractAssetManager
      extended by playn.core.AbstractCachingAssetManager
          extended by playn.flash.FlashAssetManager
All Implemented Interfaces:
AssetManager

public class FlashAssetManager
extends AbstractCachingAssetManager


Constructor Summary
FlashAssetManager()
           
 
Method Summary
 void addClientBundle(String regExp, AutoClientBundleWithLookup clientBundle)
           
protected  void doGetText(String path, ResourceCallback<String> callback)
           
protected  Image loadImage(String path)
           
protected  Sound loadSound(String path)
           
 void setPathPrefix(String prefix)
           
 
Methods inherited from class playn.core.AbstractCachingAssetManager
doGetImage, doGetSound
 
Methods inherited from class playn.core.AbstractAssetManager
getImage, getPendingRequestCount, getSound, getText, isDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlashAssetManager

public FlashAssetManager()
Method Detail

setPathPrefix

public void setPathPrefix(String prefix)

addClientBundle

public void addClientBundle(String regExp,
                            AutoClientBundleWithLookup clientBundle)

loadSound

protected Sound loadSound(String path)
Specified by:
loadSound in class AbstractCachingAssetManager

loadImage

protected Image loadImage(String path)
Specified by:
loadImage in class AbstractCachingAssetManager

doGetText

protected void doGetText(String path,
                         ResourceCallback<String> callback)
Specified by:
doGetText in class AbstractAssetManager


Copyright © 2011. All Rights Reserved.