Public Member Functions | |
RegionID (Region r) | |
boolean | equals (Object o) |
Same name, origin, and dimensions. | |
int | hashCode () |
Makes HashMaps work. | |
String | toString () |
This software is distributed under the BSD License.
Definition at line 18 of file RegionID.java.
boolean equals | ( | Object | o | ) |
Same name, origin, and dimensions.
Good enough for now!
Definition at line 43 of file RegionID.java.
References Units.equals(), RegionID.height, RegionID.name, RegionID.originX, RegionID.originY, and RegionID.width.
int hashCode | ( | ) |
Makes HashMaps work.
WARNING: Did this contribute to the Region Naming bug? TODO: Make it a nicer hashcode function.
Definition at line 59 of file RegionID.java.
References Units.getValue().
String toString | ( | ) |