|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjurpe.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 coordinate| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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 | |||||||||