org.starhope.appius.game
Interface HasAssets


public interface HasAssets

This interface must be implemented by any class that supplies assets to the user. For Persephone, we will be supplying (almost always) SWF files, but for other clients we need to extend the option to negotiate content types based upon screen resolution and supported formats. For example, Android devices might be supplied fixed- resolution PNG graphics that we render in advance.

Author:
brpocock

Method Summary
 String getAssetURL(String token, AssetFormat form, int sizeFactor)
          TODO: document this method (brpocock, Oct 13, 2009)
 

Method Detail

getAssetURL

String getAssetURL(String token,
                   AssetFormat form,
                   int sizeFactor)
TODO: document this method (brpocock, Oct 13, 2009)

Parameters:
token - WRITEME
form - WRITEME
sizeFactor - WRITEME
Returns:
WRITEME