프로퍼티 | 타입 | 설명 | |
---|---|---|---|
alpha | float | ||
dirty | System.Boolean | ||
finished | System.Boolean | ||
frameHeight | float | ||
frameWidth | float | ||
frames | uint | ||
moving | bool | ||
offset | FlxPoint | ||
origin | FlxPoint | ||
scale | FlxPoint |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ImgDefault | Microsoft.Xna.Framework.Graphics.Texture2D | ||
_animated | System.Boolean | ||
_animations | List |
||
_bakedRotation | float | ||
_color | Color | ||
_curAnim | |||
_curFrame | int | ||
_curIndex | int | ||
_facing | uint | ||
_flipped | uint | ||
_frameTimer | float | ||
_matrix | Matrix | ||
camX | float | ||
camY | float | ||
oX | float | ||
oY | float | ||
sourceRect |
메소드 | 설명 | |
---|---|---|
FlxSprite ( float X, float Y, Microsoft.Xna.Framework.Graphics.Texture2D Graphic = null ) : System | ||
addAnimation ( String Name, int Frames, float FrameRate = 1, System.Boolean Looped = true ) : void | ||
addAnimationCallback ( Action |
||
centerOffsets ( bool AdjustPosition = false ) : void | ||
destroy ( ) : void | ||
draw ( ) : void | ||
getVec2 ( ) : Vector2 | ||
loadGraphic ( Microsoft.Xna.Framework.Graphics.Texture2D Graphic, System.Boolean Animated = false, System.Boolean Reverse = false, float Width, float Height ) : |
||
makeGraphic ( float Width, float Height, Color color ) : |
||
onScreen ( |
||
play ( String AnimName, System.Boolean Force = false ) : void | ||
postUpdate ( ) : void | ||
reset ( float X, float Y ) : void | ||
update ( ) : void |
메소드 | 설명 | |
---|---|---|
calcFrame ( ) : void | ||
resetHelpers ( ) : void | ||
updateAnimation ( ) : void |
public FlxSprite ( float X, float Y, Microsoft.Xna.Framework.Graphics.Texture2D Graphic = null ) : System | ||
X | float | |
Y | float | |
Graphic | Microsoft.Xna.Framework.Graphics.Texture2D | |
리턴 | System |
public addAnimation ( String Name, int Frames, float FrameRate = 1, System.Boolean Looped = true ) : void | ||
Name | String | |
Frames | int | |
FrameRate | float | |
Looped | System.Boolean | |
리턴 | void |
public addAnimationCallback ( Action |
||
AnimationCallback | Action |
|
리턴 | void |
public centerOffsets ( bool AdjustPosition = false ) : void | ||
AdjustPosition | bool | |
리턴 | void |
public loadGraphic ( Microsoft.Xna.Framework.Graphics.Texture2D Graphic, System.Boolean Animated = false, System.Boolean Reverse = false, float Width, float Height ) : |
||
Graphic | Microsoft.Xna.Framework.Graphics.Texture2D | |
Animated | System.Boolean | |
Reverse | System.Boolean | |
Width | float | |
Height | float | |
리턴 |
public makeGraphic ( float Width, float Height, Color color ) : |
||
Width | float | |
Height | float | |
color | Color | |
리턴 |
public play ( String AnimName, System.Boolean Force = false ) : void | ||
AnimName | String | |
Force | System.Boolean | |
리턴 | void |
protected Texture2D,Microsoft.Xna.Framework.Graphics ImgDefault | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |