Added access to the pathable's bounds.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1507 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-06-20 07:50:02 +00:00
parent 7562ba50f5
commit fd05e9cdbc
@@ -1,8 +1,9 @@
//
// $Id: Pathable.java,v 1.1 2002/05/31 07:34:45 mdb Exp $
// $Id: Pathable.java,v 1.2 2002/06/20 07:50:02 mdb Exp $
package com.threerings.media.util;
import java.awt.Rectangle;
import com.threerings.util.DirectionCodes;
/**
@@ -20,6 +21,11 @@ public interface Pathable
*/
public int getY ();
/**
* Returns the rectangle that bounds the pathable.
*/
public Rectangle getBounds ();
/**
* Updates the pathable's current coordinates.
*/