public class Area extends Object
Constructor and Description |
---|
Area(SimpleLocation smallest,
SimpleLocation largest) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Set<SimpleChunkLocation> |
getAllChunkLocations(Area area)
Retrieve all the chunks that contains the 'area'
|
SimpleLocation |
getLargest() |
SimpleLocation |
getSmallest() |
int |
hashCode() |
static boolean |
isConflicting(Area area1,
Area area2) |
boolean |
isInThisArea(SimpleLocation sloc) |
String |
toString() |
public Area(SimpleLocation smallest, SimpleLocation largest)
public SimpleLocation getSmallest()
public SimpleLocation getLargest()
public boolean isInThisArea(SimpleLocation sloc)
public static Set<SimpleChunkLocation> getAllChunkLocations(Area area)
area
- the area