Make our bounds available.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2428 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-04-19 02:01:08 +00:00
parent 626d59a718
commit 7772cdc175
@@ -1,5 +1,5 @@
//
// $Id: SceneBlock.java,v 1.3 2003/04/18 23:18:30 mdb Exp $
// $Id: SceneBlock.java,v 1.4 2003/04/19 02:01:08 mdb Exp $
package com.threerings.miso.client;
@@ -79,6 +79,14 @@ public class SceneBlock
}
}
/**
* Returns the bounds of this block, in tile coordinates.
*/
public Rectangle getBounds ()
{
return _bounds;
}
/**
* Returns the screen-coordinate polygon bounding the footprint of
* this block.