playn.flash
Class FlashAssets

java.lang.Object
  extended by playn.core.AbstractAssets
      extended by playn.core.AbstractCachingAssets
          extended by playn.flash.FlashAssets
All Implemented Interfaces:
Assets

public class FlashAssets
extends AbstractCachingAssets


Constructor Summary
FlashAssets()
           
 
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.AbstractCachingAssets
doGetImage, doGetSound
 
Methods inherited from class playn.core.AbstractAssets
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

FlashAssets

public FlashAssets()
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 AbstractCachingAssets

loadImage

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

doGetText

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


Copyright © 2012. All Rights Reserved.