C# Class SpriteEditor.AnimatedSprite

Inheritance: SFML.Graphics.Transformable, Drawable
ファイルを表示 Open project: fallahn/xygine Class Usage Examples

Public Methods

Method Description
AnimatedSprite ( ) : System
AnimatedSprite ( Texture t ) : System
FrameBack ( ) : void
FrameForward ( ) : void
Play ( Animation anim ) : void
Play ( uint start, uint end ) : void
SetPaused ( bool paused ) : void
Update ( float dt ) : void

Private Methods

Method Description
Drawable ( RenderTarget target, RenderStates states ) : void
SetFrame ( uint frame ) : void

Method Details

AnimatedSprite() public method

public AnimatedSprite ( ) : System
return System

AnimatedSprite() public method

public AnimatedSprite ( Texture t ) : System
t SFML.Graphics.Texture
return System

FrameBack() public method

public FrameBack ( ) : void
return void

FrameForward() public method

public FrameForward ( ) : void
return void

Play() public method

public Play ( Animation anim ) : void
anim Animation
return void

Play() public method

public Play ( uint start, uint end ) : void
start uint
end uint
return void

SetPaused() public method

public SetPaused ( bool paused ) : void
paused bool
return void

Update() public method

public Update ( float dt ) : void
dt float
return void