Add in @Overrides across the board, clean up the comments around them some, and remove

unneeded imports.
I've got partially completed patches for narya & vilya, too, but nenya was the 
only one that wound up in a decent state after a friday evening puttering at it,
killing time waiting on other things to finish.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@572 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Dave Hoover
2008-07-14 18:19:23 +00:00
parent 1df0737bf7
commit 5f1eed7b94
137 changed files with 394 additions and 433 deletions
@@ -24,12 +24,9 @@ package com.threerings.media.animation;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import com.threerings.media.AbstractMediaManager;
import com.threerings.media.MediaPanel;
import com.threerings.media.sprite.Sprite;
import com.threerings.media.animation.Animation;
import com.threerings.media.animation.AnimationAdapter;
import com.threerings.media.animation.AnimationObserver;
/**
* A Sprite that wraps an animation so that a sequence of frames can be easily
@@ -47,12 +44,13 @@ public class AnimationSprite extends Sprite
_owner = owner;
}
@Override
public void init ()
{
_anim.init(_mgr);
}
// documentation inherited
@Override
public void tick (long tickStamp)
{
super.tick(tickStamp);
@@ -67,21 +65,21 @@ public class AnimationSprite extends Sprite
}
}
// documentation inherited.
@Override
public void setLocation (int x, int y)
{
_anim.setLocation(x - _oxoff, y - _oyoff);
super.setLocation(x, y);
}
// documentation inherited
@Override
public void willStart (long tickStamp)
{
super.willStart(tickStamp);
_anim.willStart(tickStamp);
}
// documentation inherited
@Override
public void paint (Graphics2D gfx) {
// Nothing to paint for ourselves.