|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectme.escapeNT.pail.Util.Waypoint
public class Waypoint
Class for storing location data about a waypoint.
Constructor Summary | |
---|---|
Waypoint(String name,
org.bukkit.Location loc)
Constructs a new Waypoint from the specified Location, |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
org.bukkit.Location |
getLocation()
Gets this Waypoint's location. |
String |
getName()
Returns the name of this waypoint. |
int |
hashCode()
|
void |
setName(String name)
|
void |
setWorld(String world)
|
void |
setX(int x)
|
void |
setY(int y)
|
void |
setZ(int z)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Waypoint(String name, org.bukkit.Location loc)
loc
- The Location of the waypoint.Method Detail |
---|
public org.bukkit.Location getLocation()
public String getName()
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setX(int x)
x
- the x to setpublic void setY(int y)
y
- the y to setpublic void setZ(int z)
z
- the z to setpublic void setWorld(String world)
world
- the world to setpublic void setName(String name)
name
- the name to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |