jurpe.dungeon.crawler
Class RpgMapPoint

java.lang.Object
  extended by jurpe.dungeon.crawler.HexPoint
      extended by 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

Field Summary
 
Fields inherited from class jurpe.dungeon.crawler.HexPoint
x, y
 
Constructor Summary
RpgMapPoint(java.awt.Point c)
          Constructor
RpgMapPoint(short xx, short yy)
          Constructor
 
Method Summary
 ViewMapPoint toViewMapPoint(MapView view)
          Transform this point into a ViewMap point
 
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

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 point
yy - y coordinate of point
Method Detail

toViewMapPoint

public ViewMapPoint toViewMapPoint(MapView view)
Transform this point into a ViewMap point

Parameters:
view - Viewmap
Returns:
A ViewMap point
See Also:
MapView

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