jurpe.dungeon.crawler
Class RpgMapPoint
java.lang.Object
jurpe.dungeon.crawler.HexPoint
jurpe.dungeon.crawler.RpgMapPoint
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ViewMapPoint
public class RpgMapPoint
- extends HexPoint
- implements java.io.Serializable
Coordinates of a point over an RPG map
- See Also:
- Serialized Form
Fields inherited from class jurpe.dungeon.crawler.HexPoint |
x, y |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
RpgMapPoint
public RpgMapPoint(java.awt.Point c)
- Constructor
- Parameters:
c
- Coordinates of this point
RpgMapPoint
public RpgMapPoint(short xx,
short yy)
- Constructor
- Parameters:
xx
- x coordinate of pointyy
- y coordinate of point
toViewMapPoint
public ViewMapPoint toViewMapPoint(MapView view)
- Transform this point into a ViewMap point
- Parameters:
view
- Viewmap
- Returns:
- A ViewMap point
- See Also:
MapView