From 7772cdc1753222331a583efc4a22e26a2bc8cfd1 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Sat, 19 Apr 2003 02:01:08 +0000 Subject: [PATCH] Make our bounds available. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2428 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/miso/client/SceneBlock.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/java/com/threerings/miso/client/SceneBlock.java b/src/java/com/threerings/miso/client/SceneBlock.java index 75bd3a4b8..b833fe083 100644 --- a/src/java/com/threerings/miso/client/SceneBlock.java +++ b/src/java/com/threerings/miso/client/SceneBlock.java @@ -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.