Added toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1917 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: AnimationSequencer.java,v 1.9 2002/11/05 23:56:35 mdb Exp $
|
||||
// $Id: AnimationSequencer.java,v 1.10 2002/11/06 00:05:16 shaper Exp $
|
||||
|
||||
package com.threerings.media.animation;
|
||||
|
||||
@@ -195,6 +195,7 @@ public abstract class AnimationSequencer extends Animation
|
||||
|
||||
public void fireCompletion (long when)
|
||||
{
|
||||
// Log.info("Completing " + this + " at " + (when%100000) + ".");
|
||||
// call the completion action, if there is one
|
||||
if (_completionAction != null) {
|
||||
try {
|
||||
@@ -221,6 +222,14 @@ public abstract class AnimationSequencer extends Animation
|
||||
}
|
||||
}
|
||||
|
||||
public String toString ()
|
||||
{
|
||||
return "[anim=" + ((_anim == null) ? "<none>" :
|
||||
_anim.getClass().getName()) +
|
||||
", action=" + (_completionAction != null) +
|
||||
", delta=" + _delta + ", trigger=" + (_trigger != null) + "]";
|
||||
}
|
||||
|
||||
protected Animation _anim;
|
||||
protected Runnable _completionAction;
|
||||
protected long _delta;
|
||||
|
||||
Reference in New Issue
Block a user