erland.game.tileadventure
Interface IrregularBlockContainerInterface
- All Known Implementing Classes:
- BlockContainerData, IsoDiamondBlockContainerData, RectBlockContainerData
public interface IrregularBlockContainerInterface
Method Summary |
int |
getBlockPositionX(int x,
int y,
int z)
Get the x block coordinate for a specific pixel drawing coordinate. |
int |
getBlockPositionY(int x,
int y,
int z)
Get the y block coordinate for a specific pixel drawing coordinate
The scrollling offset is used when calculating the block coordinate |
int |
getDrawingPositionX(float x,
float y,
float z)
|
int |
getDrawingPositionY(float x,
float y,
float z)
|
int |
getDrawingSizeX()
|
int |
getDrawingSizeY()
|
int |
getOffsetX()
|
int |
getOffsetY()
|
int |
getPixelDrawingPositionX(float x,
float y,
float z)
|
int |
getPixelDrawingPositionY(float x,
float y,
float z)
|
int |
getPositionX(float x,
float y,
float z)
|
int |
getPositionY(float x,
float y,
float z)
|
int |
getScrollingOffsetX()
|
int |
getScrollingOffsetY()
|
int |
getScrollingSizeX()
|
int |
getScrollingSizeY()
|
int |
getSizeX()
|
int |
getSizeY()
|
int |
getSizeZ()
|
int |
getSquareSizeX()
|
int |
getSquareSizeY()
|
int |
getSquareSizeZ()
|
boolean |
getVisible(float posX,
float posY,
float posZ)
|
getSizeX
int getSizeX()
getSizeY
int getSizeY()
getSizeZ
int getSizeZ()
getSquareSizeX
int getSquareSizeX()
getSquareSizeY
int getSquareSizeY()
getSquareSizeZ
int getSquareSizeZ()
getOffsetX
int getOffsetX()
getOffsetY
int getOffsetY()
getDrawingPositionX
int getDrawingPositionX(float x,
float y,
float z)
getDrawingPositionY
int getDrawingPositionY(float x,
float y,
float z)
getPositionX
int getPositionX(float x,
float y,
float z)
getPositionY
int getPositionY(float x,
float y,
float z)
getDrawingSizeX
int getDrawingSizeX()
getDrawingSizeY
int getDrawingSizeY()
getVisible
boolean getVisible(float posX,
float posY,
float posZ)
getScrollingSizeX
int getScrollingSizeX()
getScrollingSizeY
int getScrollingSizeY()
getPixelDrawingPositionX
int getPixelDrawingPositionX(float x,
float y,
float z)
getPixelDrawingPositionY
int getPixelDrawingPositionY(float x,
float y,
float z)
getScrollingOffsetX
int getScrollingOffsetX()
getScrollingOffsetY
int getScrollingOffsetY()
getBlockPositionX
int getBlockPositionX(int x,
int y,
int z)
- Get the x block coordinate for a specific pixel drawing coordinate.
The scrollling offset is used when calculating the block coordinate
- Parameters:
x
- The x pixel coordinatey
- The y pixel coordinatez
- THe z pixel coordinate
- Returns:
- The x block cordinate
getBlockPositionY
int getBlockPositionY(int x,
int y,
int z)
- Get the y block coordinate for a specific pixel drawing coordinate
The scrollling offset is used when calculating the block coordinate
- Parameters:
x
- The x pixel coordinatey
- The y pixel coordinatez
- The z pixel coordinate
- Returns:
- The y block cordinate
Copyright © 2003-2006 Erland Isaksson. All Rights Reserved.