diff --git a/src/java/com/threerings/cast/CharacterManager.java b/src/java/com/threerings/cast/CharacterManager.java index 4fcad57ca..c4a152506 100644 --- a/src/java/com/threerings/cast/CharacterManager.java +++ b/src/java/com/threerings/cast/CharacterManager.java @@ -1,5 +1,5 @@ // -// $Id: CharacterManager.java,v 1.13 2002/02/09 23:39:17 shaper Exp $ +// $Id: CharacterManager.java,v 1.14 2002/02/10 00:05:36 shaper Exp $ package com.threerings.cast; @@ -91,6 +91,29 @@ public class CharacterManager } } + /** + * Informs the character manager that the action sequence for the + * given character descriptor is likely to be needed in the near + * future and so any efforts that can be made to load it into the + * action sequence cache in advance should be undertaken. + * + *

This will eventually be revamped to spiffily load action + * sequences in the background. + */ + public void resolveActionSequence (CharacterDescriptor desc, String action) + { + try { + if (getActionFrames(desc, action) == null) { + Log.warning("Failed to resolve action sequence " + + "[desc=" + desc + ", action=" + action + "]."); + } + + } catch (NoSuchComponentException nsce) { + Log.warning("Failed to resolve action sequence " + + "[nsce=" + nsce + "]."); + } + } + /** * Returns the action sequence instance with the specified name or * null if no such sequence exists.