public class AnimationSprite extends ImageSprite
| コンストラクタと説明 | 
|---|
| AnimationSprite()新しいアニメーションスプライトを作成します. | 
| AnimationSprite(float w,
               float h,
               Animation animation,
               ImagePainter dm)新しいアニメーションスプライトを作成します. | 
| AnimationSprite(float x,
               float y,
               float w,
               float h)新しいアニメーションスプライトを作成します. | 
| AnimationSprite(float x,
               float y,
               float w,
               float h,
               Animation animation)新しいアニメーションスプライトを作成します. | 
| AnimationSprite(float x,
               float y,
               float w,
               float h,
               Animation animation,
               ImagePainter model)新しいアニメーションスプライトを作成します. | 
| AnimationSprite(float x,
               float y,
               float w,
               float h,
               VectorF vector,
               MovingModel mm,
               Animation animation,
               ImagePainter dm) | 
| AnimationSprite(float w,
               float h,
               VectorF vector,
               MovingModel mm,
               Animation animation,
               ImagePainter dm) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| AnimationSprite | clone()このスプライトの複製を作成します. | 
| void | draw(java.awt.Graphics2D g)スプライトを描画します. | 
| Animation | getAnimation() | 
| boolean | isImageUpdate() | 
| void | setAnimation(Animation animation) | 
| void | setImageUpdate(boolean imageUpdate) | 
| java.lang.String | toString()スプライトの文字列表記を取得します. | 
| void | update()アニメーションを更新し、最新の画像を適用します. | 
getImage, 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 AnimationSprite()
public AnimationSprite(float x,
                       float y,
                       float w,
                       float h)
x - スプライトのX座標を指定します。y - スプライトのY座標を指定します。w - スプライトの幅を指定します。h - スプライトの高さを指定します。public AnimationSprite(float x,
                       float y,
                       float w,
                       float h,
                       Animation animation)
x - スプライトのX座標を指定します。y - スプライトのY座標を指定します。w - スプライトの幅を指定します。h - スプライトの高さを指定します。animation - 表示するアニメーションを指定します。public AnimationSprite(float x,
                       float y,
                       float w,
                       float h,
                       Animation animation,
                       ImagePainter model)
x - スプライトのX座標を指定します。y - スプライトのY座標を指定します。w - スプライトの幅を指定します。h - スプライトの高さを指定します。animation - 表示する画像を指定します。model - 描画方法を指定します。public AnimationSprite(float x,
                       float y,
                       float w,
                       float h,
                       VectorF vector,
                       MovingModel mm,
                       Animation animation,
                       ImagePainter dm)
public AnimationSprite(float w,
                       float h,
                       VectorF vector,
                       MovingModel mm,
                       Animation animation,
                       ImagePainter dm)
public AnimationSprite(float w,
                       float h,
                       Animation animation,
                       ImagePainter dm)
w - スプライトの幅を指定します。h - スプライトの高さを指定します。animation - 設定するアニメーション。dm - 描画モデルを指定します。public Animation getAnimation()
public void setAnimation(Animation animation)
public void setImageUpdate(boolean imageUpdate)
public boolean isImageUpdate()
public void update()
public void draw(java.awt.Graphics2D g)
BasicSpritedraw インタフェース内 Drawabledraw クラス内 ImageSpriteg - グラフィックスコンテキスト.public AnimationSprite clone()
BasicSpriteclone クラス内 ImageSpritepublic java.lang.String toString()
BasicSpritetoString クラス内 ImageSprite