jurpe.dungeon.crawler
Class ViewMapPoint

java.lang.Object
  extended by jurpe.dungeon.crawler.HexPoint
      extended by jurpe.dungeon.crawler.RpgMapPoint
          extended by jurpe.dungeon.crawler.ViewMapPoint
All Implemented Interfaces:
java.io.Serializable

public class ViewMapPoint
extends RpgMapPoint

Point in a RpgViewMap.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jurpe.dungeon.crawler.HexPoint
x, y
 
Constructor Summary
ViewMapPoint(MapView view)
          Point constructor
ViewMapPoint(MapView view, RpgMapPoint p)
          Point constructor
ViewMapPoint(MapView view, short xx, short yy)
          Point constructor
 
Method Summary
 RpgMapPoint toRpgMapPoint()
          Convert a ViewMapPoint in a RpgMapPoint
 
Methods inherited from class jurpe.dungeon.crawler.RpgMapPoint
toViewMapPoint
 
Methods inherited from class jurpe.dungeon.crawler.HexPoint
equals, hashCode, toPoint, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 lies
xx - X point coordinate
yy - Y point coordinate

ViewMapPoint

public ViewMapPoint(MapView view,
                    RpgMapPoint p)
Point constructor

Parameters:
view - RpgMapView in which this point lies
p - absolute RpgMapPoint on RpgMap
Method Detail

toRpgMapPoint

public RpgMapPoint toRpgMapPoint()
Convert a ViewMapPoint in a RpgMapPoint

Returns:
RpgMapPoint

Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net