Added hasSpot().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2259 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -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;
|
package com.threerings.media.tile;
|
||||||
|
|
||||||
@@ -125,6 +125,14 @@ public class ObjectTile extends Tile
|
|||||||
_sorient = orient;
|
_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.
|
* Returns the x-coordinate of the "spot" associated with this object.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user