API Documentation | All Packages | All Classes | Index | Frames No Frames |
FuncTween

Package | org.b2ox.betweenas3
Class | public class FuncTween
Inheritance | FuncTween org.libspark.betweenas3.core.tweens.AbstractTween

...

Public Methods

| Method | Defined By
--- | --- | ---
|  | FuncTween(ticker:ITicker, position:Number, duration:Number, updateFunc:Function) | FuncTween
|  | create(updateFunc:Function, baseTween:ITween):FuncTween [static] baseTweenのtickerとdurationとupdateFuncからFuncTweenを作ります | FuncTween

Protected Methods

| Method | Defined By
--- | --- | ---
|  | internalUpdate(time:Number):void [override] | FuncTween
|  | newInstance():AbstractTween [override] updateFuncはclone元と共有する点に注意 | FuncTween

Constructor Detail

FuncTween | () | Constructor

`public function FuncTween(ticker:ITicker, position:Number, duration:Number, updateFunc:Function)`

Parameters

| `ticker:ITicker`
| `position:Number`
| `duration:Number`
| `updateFunc:Function`

Method Detail

create | () | method

`public static function create(updateFunc:Function, baseTween:ITween):FuncTween`

baseTweenのtickerとdurationとupdateFuncからFuncTweenを作ります

Parameters

| `updateFunc:Function`
| `baseTween:ITween`

Returns

| `FuncTween`

internalUpdate | () | method |

`override protected function internalUpdate(time:Number):void`

Parameters

| `time:Number`

newInstance | () | method |

`override protected function newInstance():AbstractTween`

updateFuncはclone元と共有する点に注意

Returns

| `AbstractTween`

Mon Aug 16 2010, 08:52 PM +09:00