com.threerings.cast
Interface ActionCache


public interface ActionCache

A mechanism for caching composited character action animations on disk.


Method Summary
 void cacheActionFrames(CharacterDescriptor descrip, String action, ActionFrames frames)
          Requests that the specified set of action frames for the specified character be cached.
 ActionFrames getActionFrames(CharacterDescriptor descrip, String action)
          Fetches from the cache a composited set of images for a particular character for a particular action.
 

Method Detail

getActionFrames

ActionFrames getActionFrames(CharacterDescriptor descrip,
                             String action)
Fetches from the cache a composited set of images for a particular character for a particular action.


cacheActionFrames

void cacheActionFrames(CharacterDescriptor descrip,
                       String action,
                       ActionFrames frames)
Requests that the specified set of action frames for the specified character be cached.