|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrlgamekit.map.display.PlainTileLocator
public class PlainTileLocator
Calculates tile positions for rectangular maps.
| Constructor Summary | |
|---|---|
PlainTileLocator(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 |
|---|
public PlainTileLocator(int dx,
int dy)
| Method Detail |
|---|
public int getRasterX()
getRasterX in interface TileLocatorpublic int getRasterY()
getRasterY in interface TileLocatorpublic int getCursorX()
getCursorX in interface TileLocatorpublic int getCursorY()
getCursorY in interface TileLocator
public int getTileScreenX(int x,
int y)
getTileScreenX in interface TileLocator
public int getTileScreenY(int x,
int y)
getTileScreenY in interface TileLocator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||