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, updategetImage, getImageHeight, getImageWidth, getPainter, getSerializableImage, setImage, setImage, setPaintergetAngle, getMovingModel, getMovingModel, getNextCenter, getNextLocation, getSpeed, getVector, move, move, move, move, setAngle, setMovingModel, setSpeed, setVectorcompareTo, 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, updatePersonalCenterpublic MapLayerSprite(float x,
float y,
float w,
float h,
TimeCounter tc,
MapData... mapData)
public void dispose()
Disposabledispose インタフェース内 Disposablepublic MapData[] getMapData()
public MapData getCurrentMapData()
public int mapNum()
public MapData getMapData(int index) throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsExceptionpublic MapChip[] getChip(int x, int y) throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsExceptionpublic ChipAttribute[] getAttribute(int x, int y) throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsExceptionpublic boolean stepOn(int x,
int y)
public boolean stepOn(Vehicle vehicle, int x, int y)
public java.lang.String toString()
BasicSpritetoString クラス内 AnimationSprite