More work on editor support for location creation and editing.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@209 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2001-08-10 00:47:34 +00:00
parent 593d17aeb5
commit 9df1deef66
8 changed files with 373 additions and 44 deletions
@@ -1,5 +1,5 @@
//
// $Id: IsoSceneView.java,v 1.35 2001/08/09 21:17:06 shaper Exp $
// $Id: IsoSceneView.java,v 1.36 2001/08/10 00:47:34 shaper Exp $
package com.threerings.miso.scene;
@@ -501,6 +501,16 @@ public class IsoSceneView implements EditableSceneView
return path;
}
public void updateLocation (int x, int y, int orient, int spotidx)
{
_scene.updateLocation(x, y, orient, spotidx);
}
public int getNumSpots ()
{
return (_scene == null) ? 0 : _scene.getNumSpots();
}
/** The color to draw the highlighted tile. */
protected static final Color HLT_COLOR = Color.green;