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:
@@ -76,29 +76,35 @@ public class ScrollingScene extends MisoSceneModel
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getBaseTileId (int x, int y)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setBaseTile (int fqTileId, int x, int y)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean addObject (ObjectInfo info)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getObjects (Rectangle region, ObjectSet set)
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateObject (ObjectInfo info)
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean removeObject (ObjectInfo info)
|
||||
{
|
||||
return false;
|
||||
|
||||
@@ -138,6 +138,7 @@ public class ScrollingTestApp
|
||||
}
|
||||
|
||||
_ship.addSpriteObserver(new PathAdapter() {
|
||||
@Override
|
||||
public void pathCompleted (Sprite sprite, Path path, long when) {
|
||||
// keep scrolling for a spell
|
||||
if (++_sidx < DX.length) {
|
||||
|
||||
@@ -27,7 +27,6 @@ import java.awt.Component;
|
||||
import java.awt.GraphicsConfiguration;
|
||||
import java.awt.event.ActionEvent;
|
||||
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.JMenu;
|
||||
import javax.swing.JMenuBar;
|
||||
|
||||
|
||||
@@ -75,14 +75,14 @@ public class ViewerSceneViewPanel extends MisoScenePanel
|
||||
PerformanceMonitor.register(this, "paint", 1000);
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
@Override
|
||||
public void setSceneModel (MisoSceneModel model)
|
||||
{
|
||||
super.setSceneModel(model);
|
||||
log.info("Using " + model + ".");
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
@Override
|
||||
public void doLayout ()
|
||||
{
|
||||
super.doLayout();
|
||||
@@ -135,7 +135,7 @@ public class ViewerSceneViewPanel extends MisoScenePanel
|
||||
}
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
@Override
|
||||
public void paint (Graphics g)
|
||||
{
|
||||
super.paint(g);
|
||||
@@ -148,7 +148,7 @@ public class ViewerSceneViewPanel extends MisoScenePanel
|
||||
log.info(name + " [ticks=" + ticks + "].");
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
@Override
|
||||
public void mousePressed (MouseEvent e)
|
||||
{
|
||||
super.mousePressed(e);
|
||||
|
||||
Reference in New Issue
Block a user