FlxAnimation の変更点


[[API Reference]] > [[flixel.animation]] > FlxAnimation


*FlxAnimation [#t0ad7a3f]
> FlxAnimationはFlxSpriteがアニメーションするためのヘルパークラスです。

*スーパークラス [#n9e83fc9]
FlxBaseAnimation

----
#contents
----

* フィールド [#t083e8ca]
** frameRate:Int : フレームレート [#g0ff1aa1]
> 1秒あたりに実行されるアニメーションのフレーム数
** curFrame:Int = 0 : 現在のフレーム数 [#t6b2e3d0]
> これはアニメーションタイルの番号ではなく、アニメーションオブジェクトが持つフレーム数です
** numFrames:Int : フレームの最大数 [#v901ed6d]
** delay:Float : フレーム間の秒(基本的なフレームレート) [#d9db5536]
** finished:Bool = true : アニメーションが終了したかどうか [#xad4f478]
** paused:Bool = true : アニメーションを一時停止するかどうか [#y4e02f3b]
** looped:Bool = true : アニメーションをループするかどうか [#k68462f5]
---

* メソッド [#q8f13b94]
** new() : コンストラクタ [#k1c2e530]
- 引数
> - Parent:FlxAnimationController
> - Name:String
> - Frame:Array<Int>
> - FrameRate:Int = 0
> - Looped:Bool = true
-- Parent:FlxAnimationController : アニメーション制御クラス
-- Name:String : アニメーション名
-- Frame:Array<Int> : フレームの配列
-- FrameRate:Int = 0 : 更新レート
-- Looped:Bool = true : ループするかどうか

- 戻り値 : Void
** destroy() : メモリから削除します [#j08aa719]
- 戻り値 : Void
** play() : アニメーションを再生します [#xfcc49e8]
- 引数
> - Force:Bool = false : 先頭のフレームから再生するかどうか
> - Frame:Int = 0 : `Force`がtrueの場合に再生を開始するフレーム
-- Force:Bool = false : 先頭のフレームから再生するかどうか
-- Frame:Int = 0 : `Force`がtrueの場合に再生を開始するフレーム

- 戻り値 : Void
** restart() : 先頭のフレームから再生を開始します [#x1d2a354]
- 戻り値 : Void
** stop() : アニメーションを停止します [#a10a9574]
- 戻り値 : Void
** update() : アニメーションを更新します [#t34ee9eb]
- 戻り値 : Void