Updates to reflect changed APIs.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1713 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-09-18 20:09:55 +00:00
parent ea471aeacc
commit ae1375ca7b
2 changed files with 13 additions and 7 deletions
@@ -1,5 +1,5 @@
//
// $Id: PathViz.java,v 1.1 2002/09/17 03:59:27 mdb Exp $
// $Id: PathViz.java,v 1.2 2002/09/18 20:09:55 mdb Exp $
package com.threerings.media.util;
@@ -35,7 +35,7 @@ public class PathViz extends MediaPanel
Point start = new Point(150, 150);
double sangle = -3*Math.PI/4;
ArcPath path = new ArcPath(
start, 64, 48, sangle, -Math.PI/2, MOVE_DURATION);
start, 64, 48, sangle, -Math.PI/2, MOVE_DURATION, ArcPath.NORMAL);
// LinePath path = new LinePath(0, 0, 300, 300, MOVE_DURATION);
sprite.move(path);
}
@@ -1,5 +1,5 @@
//
// $Id: ScrollingScene.java,v 1.7 2002/04/27 23:07:58 mdb Exp $
// $Id: ScrollingScene.java,v 1.8 2002/09/18 20:09:55 mdb Exp $
package com.threerings.miso.scene;
@@ -71,19 +71,25 @@ public class ScrollingScene implements DisplayMisoScene
}
// documentation inherited from interface
public Iterator getObjectTiles ()
public int getObjectCount ()
{
return Collections.EMPTY_LIST.iterator();
return 0;
}
// documentation inherited from interface
public Point getObjectCoords (ObjectTile tile)
public ObjectTile getObjectTile (int index)
{
return null;
}
// documentation inherited from interface
public String getObjectAction (ObjectTile tile)
public Point getObjectCoords (int index)
{
return null;
}
// documentation inherited from interface
public String getObjectAction (int index)
{
return null;
}