diff --git a/src/java/com/threerings/miso/client/IsoSceneView.java b/src/java/com/threerings/miso/client/IsoSceneView.java index dd3627fbc..7fd4dd87c 100644 --- a/src/java/com/threerings/miso/client/IsoSceneView.java +++ b/src/java/com/threerings/miso/client/IsoSceneView.java @@ -1,5 +1,5 @@ // -// $Id: IsoSceneView.java,v 1.87 2002/01/31 02:12:35 mdb Exp $ +// $Id: IsoSceneView.java,v 1.88 2002/01/31 02:53:29 mdb Exp $ package com.threerings.miso.scene; @@ -107,6 +107,14 @@ public class IsoSceneView implements SceneView _hmode = hmode; } + /** + * Returns a reference to the scene being displayed by this view. + */ + public DisplayMisoScene getScene () + { + return _scene; + } + // documentation inherited public void setScene (DisplayMisoScene scene) { @@ -801,6 +809,16 @@ public class IsoSceneView implements SceneView return _hobject; } + /** + * Returns the tile coordinates of the tile over which the mouse is + * hovering (which are the origin coordinates in the case of an object + * tile). + */ + public Point getHoverCoords () + { + return _hcoords; + } + /** * Converts the supplied screen coordinates into tile coordinates, * writing the values into the supplied {@link Point} instance and