|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jurpe.dungeon.crawler.HexPoint
public abstract class HexPoint
Base point class for each point.
Field Summary | |
---|---|
short |
x
|
short |
y
|
Constructor Summary | |
---|---|
HexPoint()
Empty constructor |
|
HexPoint(java.awt.Point c)
Costructor. |
|
HexPoint(short xx,
short yy)
Construction. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Equality |
int |
hashCode()
Hash code |
java.awt.Point |
toPoint()
Returns a Point from this HexPoint |
java.lang.String |
toString()
String |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public short x
public short y
Constructor Detail |
---|
public HexPoint()
public HexPoint(java.awt.Point c)
c
- public HexPoint(short xx, short yy)
xx
- X coordinateyy
- Y coordinateMethod Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.awt.Point toPoint()
Point
|
Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |