public interface Location extends com.threerings.io.Streamable, Cloneable
| Modifier and Type | Method and Description |
|---|---|
Location |
clone()
Locations are cloneable.
|
boolean |
equals(Object other)
Two locations are equals if they specify the same coordinates, but
the orientation may be different.
|
boolean |
equivalent(Location other)
Two locations are equivalent if they specify the same location
and orientation.
|
Location |
getOpposite()
Get a new Location instance that is equals() to this one but that
has an orientation facing the opposite direction.
|
int |
hashCode()
The hashcode of a Location should be based only on its coordinates.
|
Location getOpposite()
boolean equivalent(Location other)
boolean equals(Object other)
int hashCode()
Location clone()
Copyright © 2015. All rights reserved.