Added support for animations to the animation manager. Moved animation

classes into their own package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@849 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-01-11 16:17:34 +00:00
parent c677d08c50
commit aa574a8182
19 changed files with 869 additions and 140 deletions
@@ -1,5 +1,5 @@
//
// $Id: ViewerSceneViewPanel.java,v 1.37 2002/01/08 22:16:59 shaper Exp $
// $Id: ViewerSceneViewPanel.java,v 1.38 2002/01/11 16:17:34 shaper Exp $
package com.threerings.miso.viewer;
@@ -15,7 +15,7 @@ import com.threerings.cast.CharacterManager;
import com.threerings.cast.ComponentRepository;
import com.threerings.cast.util.CastUtil;
import com.threerings.media.sprite.AnimationManager;
import com.threerings.media.animation.AnimationManager;
import com.threerings.media.sprite.LineSegmentPath;
import com.threerings.media.sprite.PathCompletedEvent;
import com.threerings.media.sprite.SpriteEvent;
@@ -45,9 +45,6 @@ public class ViewerSceneViewPanel extends SceneViewPanel
{
super(ctx.getConfig(), spritemgr);
// create an animation manager for this panel
_animmgr = new AnimationManager(spritemgr, this);
// create the character descriptors
_descUser = CastUtil.getRandomDescriptor(crepo);
_descDecoy = CastUtil.getRandomDescriptor(crepo);
@@ -213,9 +210,6 @@ public class ViewerSceneViewPanel extends SceneViewPanel
/** The character descriptor for the decoy characters. */
protected CharacterDescriptor _descDecoy;
/** The animation manager. */
protected AnimationManager _animmgr;
/** The sprite we're manipulating within the view. */
protected MisoCharacterSprite _sprite;