Make the screen coordinates of the object's spot available since we have
them. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2931 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: SceneObject.java,v 1.9 2003/05/31 00:52:15 mdb Exp $
|
// $Id: SceneObject.java,v 1.10 2004/01/11 08:24:16 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.miso.client;
|
package com.threerings.miso.client;
|
||||||
|
|
||||||
@@ -141,6 +141,15 @@ public class SceneObject
|
|||||||
return _fspot;
|
return _fspot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the location associated with this object's "spot" in screen
|
||||||
|
* coordinates or null if it has no spot.
|
||||||
|
*/
|
||||||
|
public Point getObjectScreenSpot ()
|
||||||
|
{
|
||||||
|
return _sspot;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if this object's footprint overlaps that of the
|
* Returns true if this object's footprint overlaps that of the
|
||||||
* specified other object.
|
* specified other object.
|
||||||
|
|||||||
Reference in New Issue
Block a user