public class MapLayerSprite extends AnimationSprite implements Disposable
コンストラクタと説明 |
---|
MapLayerSprite(float x,
float y,
float w,
float h,
TimeCounter tc,
MapData... mapData) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
dispose()
コンテンツをメモリから破棄します.
|
ChipAttribute[] |
getAttribute(int x,
int y) |
MapChip[] |
getChip(int x,
int y) |
MapData |
getCurrentMapData() |
MapData[] |
getMapData() |
MapData |
getMapData(int index) |
int |
mapNum() |
boolean |
stepOn(int x,
int y) |
boolean |
stepOn(Vehicle vehicle,
int x,
int y) |
java.lang.String |
toString()
スプライトの文字列表記を取得します.
|
clone, draw, getAnimation, isImageUpdate, setAnimation, setImageUpdate, update
getImage, getImageHeight, getImageWidth, getPainter, getSerializableImage, setImage, setImage, setPainter
getAngle, getMovingModel, getMovingModel, getNextCenter, getNextLocation, getSpeed, getVector, move, move, move, move, setAngle, setMovingModel, setSpeed, setVector
compareTo, contains, getBounds, getCenter, getCenterX, getCenterY, getHeight, getHitBounds, getLocation, getName, getPersonalCenter, getPersonalCenterX, getPersonalCenterY, getSize, getWidth, getX, getY, getZ, isExist, isVisible, setBounds, setBounds, setBounds, setExist, setHeight, setLocation, setLocation, setName, setSize, setSize, setVisible, setWidth, setX, setY, setZ, updateCenter, updatePersonalCenter
public MapLayerSprite(float x, float y, float w, float h, TimeCounter tc, MapData... mapData)
public void dispose()
Disposable
dispose
インタフェース内 Disposable
public MapData[] getMapData()
public MapData getCurrentMapData()
public int mapNum()
public MapData getMapData(int index) throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
public MapChip[] getChip(int x, int y) throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
public ChipAttribute[] getAttribute(int x, int y) throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
public boolean stepOn(int x, int y)
public boolean stepOn(Vehicle vehicle, int x, int y)
public java.lang.String toString()
BasicSprite
toString
クラス内 AnimationSprite