public interface SearchableAreaContainer
Modifier and Type | Method and Description |
---|---|
Area |
getAreaAt(int x,
int y)
Finds the bottom-most area node present at the given coordinates in the area tree.
|
Area |
getAreaByName(java.lang.String name)
Finds an area by the given name.
|
Area getAreaAt(int x, int y)
x
- the X coordinatey
- the Y coordinatenull
when no node is found.Area getAreaByName(java.lang.String name)
name
- the name of the areanull
when nothing is found.