diff --git a/src/java/com/threerings/media/animation/Animation.java b/src/java/com/threerings/media/animation/Animation.java index c5507bd75..67dd93377 100644 --- a/src/java/com/threerings/media/animation/Animation.java +++ b/src/java/com/threerings/media/animation/Animation.java @@ -1,5 +1,5 @@ // -// $Id: Animation.java,v 1.2 2002/03/12 22:54:16 shaper Exp $ +// $Id: Animation.java,v 1.3 2002/03/14 21:09:01 shaper Exp $ package com.threerings.media.animation; @@ -48,6 +48,15 @@ public abstract class Animation _animmgr.addDirtyRect(new Rectangle(_bounds)); } + /** + * Invalidates the specified rectangle for later re-rendering by the + * {@link AnimationManager}. + */ + public void invalidate (int x, int y, int width, int height) + { + _animmgr.addDirtyRect(new Rectangle(x, y, width, height)); + } + /** * Returns whether the animation has finished all of its business. */