|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecterland.game.tileadventure.BlockContainerData
public abstract class BlockContainerData
| Field Summary | |
|---|---|
protected int |
offsetX
The X offset in pixels |
protected int |
offsetY
The Y offset in pixels |
protected int |
sizeX
Number of horizontal blocks |
protected int |
sizeY
Number of vertical blocks |
protected int |
sizeZ
Number of height blocks |
protected int |
squareSizeX
The horizontal size of a single block in pixels |
protected int |
squareSizeY
The vertical size of a single block in pixels |
protected int |
squareSizeZ
The height of a single block in pixels |
protected int |
visibleSizeX
Number of visible horizontal blocks |
protected int |
visibleSizeY
Number of visible vertical blocks |
| Constructor Summary | |
|---|---|
|
BlockContainerData()
|
protected |
BlockContainerData(int offsetX,
int offsetY,
int sizeX,
int sizeY,
int sizeZ,
int squareSizeX,
int squareSizeY,
int squareSizeZ,
int visibleSizeX,
int visibleSizeY)
|
| Method Summary | |
|---|---|
int |
getDrawingSizeX()
|
int |
getDrawingSizeY()
|
int |
getOffsetX()
|
int |
getOffsetY()
|
int |
getScrollingOffsetX()
Gets the horizontal scrolling offset |
int |
getScrollingOffsetY()
Gets the vertical scrolling offset |
int |
getSizeX()
|
int |
getSizeY()
|
int |
getSizeZ()
|
int |
getSquareSizeX()
|
int |
getSquareSizeY()
|
int |
getSquareSizeZ()
|
void |
setScrollingOffsetX(int offsetX)
Sets the horizontal scrolling offset |
void |
setScrollingOffsetY(int offsetY)
Sets the horizontal scrolling offset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface erland.game.tileadventure.IrregularBlockContainerInterface |
|---|
getBlockPositionX, getBlockPositionY, getDrawingPositionX, getDrawingPositionY, getPixelDrawingPositionX, getPixelDrawingPositionY, getPositionX, getPositionY, getScrollingSizeX, getScrollingSizeY, getVisible |
| Field Detail |
|---|
protected int offsetX
protected int offsetY
protected int sizeX
protected int sizeY
protected int sizeZ
protected int squareSizeX
protected int squareSizeY
protected int squareSizeZ
protected int visibleSizeX
protected int visibleSizeY
| Constructor Detail |
|---|
public BlockContainerData()
protected BlockContainerData(int offsetX,
int offsetY,
int sizeX,
int sizeY,
int sizeZ,
int squareSizeX,
int squareSizeY,
int squareSizeZ,
int visibleSizeX,
int visibleSizeY)
| Method Detail |
|---|
public void setScrollingOffsetX(int offsetX)
offsetX - The new X scrolling offsetpublic void setScrollingOffsetY(int offsetY)
offsetY - The new Y scrolling offsetpublic int getScrollingOffsetX()
getScrollingOffsetX in interface IrregularBlockContainerInterfacepublic int getScrollingOffsetY()
getScrollingOffsetY in interface IrregularBlockContainerInterfacepublic int getSizeX()
getSizeX in interface IrregularBlockContainerInterfacepublic int getSizeY()
getSizeY in interface IrregularBlockContainerInterfacepublic int getSizeZ()
getSizeZ in interface IrregularBlockContainerInterfacepublic int getSquareSizeX()
getSquareSizeX in interface IrregularBlockContainerInterfacepublic int getSquareSizeY()
getSquareSizeY in interface IrregularBlockContainerInterfacepublic int getSquareSizeZ()
getSquareSizeZ in interface IrregularBlockContainerInterfacepublic int getOffsetX()
getOffsetX in interface IrregularBlockContainerInterfacepublic int getOffsetY()
getOffsetY in interface IrregularBlockContainerInterfacepublic int getDrawingSizeX()
getDrawingSizeX in interface IrregularBlockContainerInterfacepublic int getDrawingSizeY()
getDrawingSizeY in interface IrregularBlockContainerInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||