Added hasSpot().

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2259 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-02-12 05:33:18 +00:00
parent a6e64a7f28
commit 03573d2a1e
@@ -1,5 +1,5 @@
//
// $Id: ObjectTile.java,v 1.15 2003/02/06 06:23:05 mdb Exp $
// $Id: ObjectTile.java,v 1.16 2003/02/12 05:33:18 mdb Exp $
package com.threerings.media.tile;
@@ -125,6 +125,14 @@ public class ObjectTile extends Tile
_sorient = orient;
}
/**
* Returns true if this object has a spot.
*/
public boolean hasSpot ()
{
return (_spot != null);
}
/**
* Returns the x-coordinate of the "spot" associated with this object.
*/