コンストラクタ
表示サイズ.幅
表示サイズ.高さ
親Group
The Entity background color. Must be provided in the same format as the CSS 'color' property.
The Entity debug color. Must be provided in the same format as the CSS 'color' property.
Indizes of the frames to be displayed. Frames with same width and height as Sprite will be arrayed from upper left corner of the {@link enchant.Sprite#image} image. When a sequence of numbers is provided, the displayed frame will switch automatically. At the end of the array the sequence will restart. By setting a value within the sequence to null, the frame switching is stopped.
The height of the Entity.
Image displayed in the Sprite.
アニメーション間隔(Runメソッド呼び出し)
The transparency of this entity. Defines the transparency level from 0 to 1 (0 is completely transparent, 1 is completely opaque).
The point of origin used for rotation and scaling.
The point of origin used for rotation and scaling.
Entity rotation angle (degree).
Scaling factor on the x axis of this Entity.
Scaling factor on the y axis of this Entity.
Indicates whether or not this Entity can be touched.
Indicates whether or not to display this Entity.
The width of the Entity.
x coordinates of the Node.
y coordinates of the Node.
アニメーションパターン 初期値:[0,1]
アニメーションの幅 初期値:2
キャラクタの向き
Dirプロパティに対応したY位置の配列 ※必ず4要素が必要 初期値:[0,1,2,3]
ファイル名プロパティ
ファイル名
初期化処理
アニメ処理の状態取得
実行中はtrue 停止中はfalse
アニメ処理の再開
実行処理実行
処理結果を返す
アニメ実行
フレーム更新実施の可否
フレームの更新
フレーム更新実施の可否
アニメ処理の休止
Add a new event listener which will be executed when the event is dispatched.
Type of the events.
Event listener to be added.
Clear all defined event listeners of a given type. If no type is given, all listeners will be removed.
Type of the events.
Issue an event.
Event to be issued.
Performs a collision detection based on whether or not the bounding rectangles are intersecting.
An object like Entity, with the properties x, y, width, height, which are used for the collision detection.
True, if a collision was detected.
Move the Node relative to its current position.
x axis movement distance.
y axis movement distance.
Move the Node to the given target location.
Target x coordinates.
Target y coordinates.
Synonym for addEventListener.
Delete an event listener.
Event listener to be deleted.
Rotate this Entity.
Rotation angle (degree).
Enlarges or shrinks this Entity.
Scaling factor on the x axis.
Performs a collision detection based on distance from the Entity's central point.
An object like Entity, with properties x, y, width, height, which are used for the collision detection.
True, if a collision was detected.
Generated using TypeDoc
キャラクタ
キャラクタクラス
FrameWork
FrameWork.Sprite