Package zombie.iso.sprite
Class IsoSpriteGrid
java.lang.Object
zombie.iso.sprite.IsoSpriteGrid
public class IsoSpriteGrid
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description IsoSpriteGrid(int w, int h)
-
Method Summary
Modifier and Type Method Description IsoSprite
getAnchorSprite()
int
getHeight()
IsoSprite
getSprite(int x, int y)
int
getSpriteCount()
IsoSprite
getSpriteFromIndex(int index)
int
getSpriteGridPosX(IsoSprite sprite)
int
getSpriteGridPosY(IsoSprite sprite)
int
getSpriteIndex(IsoSprite sprite)
IsoSprite[]
getSprites()
int
getWidth()
void
setSprite(int x, int y, IsoSprite sprite)
boolean
validate()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IsoSpriteGrid
public IsoSpriteGrid(int w, int h)
-
-
Method Details
-
getAnchorSprite
-
getSprite
-
setSprite
-
getSpriteIndex
-
getSpriteGridPosX
-
getSpriteGridPosY
-
getSpriteFromIndex
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
validate
public boolean validate() -
getSpriteCount
public int getSpriteCount() -
getSprites
-