rlgamekit.map.display
Class IsometricTileLocator

java.lang.Object
  extended by rlgamekit.map.display.IsometricTileLocator
All Implemented Interfaces:
TileLocator

public class IsometricTileLocator
extends java.lang.Object
implements TileLocator

Calculates tile positions for isometric map layout.


Constructor Summary
IsometricTileLocator(int dx, int dy)
           
 
Method Summary
 int getCursorX()
           
 int getCursorY()
           
 int getRasterX()
           
 int getRasterY()
           
 int getTileScreenX(int x, int y)
           
 int getTileScreenY(int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsometricTileLocator

public IsometricTileLocator(int dx,
                            int dy)
Method Detail

getRasterX

public int getRasterX()
Specified by:
getRasterX in interface TileLocator

getRasterY

public int getRasterY()
Specified by:
getRasterY in interface TileLocator

getCursorX

public int getCursorX()
Specified by:
getCursorX in interface TileLocator

getCursorY

public int getCursorY()
Specified by:
getCursorY in interface TileLocator

getTileScreenX

public int getTileScreenX(int x,
                          int y)
Specified by:
getTileScreenX in interface TileLocator

getTileScreenY

public int getTileScreenY(int x,
                          int y)
Specified by:
getTileScreenY in interface TileLocator