public class ItemBoundable extends java.lang.Object implements Boundable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
bounds |
private java.lang.Object |
item |
Constructor and Description |
---|
ItemBoundable(java.lang.Object bounds,
java.lang.Object item) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getBounds()
Returns a representation of space that encloses this Boundable, preferably
not much bigger than this Boundable's boundary yet fast to test for intersection
with the bounds of other Boundables.
|
java.lang.Object |
getItem() |
public ItemBoundable(java.lang.Object bounds, java.lang.Object item)
public java.lang.Object getBounds()
Boundable
public java.lang.Object getItem()