jurpe.dungeon.crawler
Class ViewMapPoint
java.lang.Object
jurpe.dungeon.crawler.HexPoint
jurpe.dungeon.crawler.RpgMapPoint
jurpe.dungeon.crawler.ViewMapPoint
- All Implemented Interfaces:
- java.io.Serializable
public class ViewMapPoint
- extends RpgMapPoint
Point in a RpgViewMap.
- 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 |
ViewMapPoint
public ViewMapPoint(MapView view)
- Point constructor
- Parameters:
view
- RpgMapView in which this point lies.
ViewMapPoint
public ViewMapPoint(MapView view,
short xx,
short yy)
- Point constructor
- Parameters:
view
- RpgMapView in which this point liesxx
- X point coordinateyy
- Y point coordinate
ViewMapPoint
public ViewMapPoint(MapView view,
RpgMapPoint p)
- Point constructor
- Parameters:
view
- RpgMapView in which this point liesp
- absolute RpgMapPoint on RpgMap
toRpgMapPoint
public RpgMapPoint toRpgMapPoint()
- Convert a ViewMapPoint in a RpgMapPoint
- Returns:
- RpgMapPoint