C# Class Californium.AnimatedSprite

Inheritance: Drawable
Show file Open project: DatZach/HumanityAgainstCards Class Usage Examples

Public Properties

Property Type Description
FrameTime float

Public Methods

Method Description
AnimatedSprite ( Texture texture, int frameWidth, int frameHeight, float frameTime ) : SFML.Graphics
Draw ( RenderTarget target, RenderStates states ) : void
Update ( ) : void

Method Details

AnimatedSprite() public method

public AnimatedSprite ( Texture texture, int frameWidth, int frameHeight, float frameTime ) : SFML.Graphics
texture SFML.Graphics.Texture
frameWidth int
frameHeight int
frameTime float
return SFML.Graphics

Draw() public method

public Draw ( RenderTarget target, RenderStates states ) : void
target RenderTarget
states SFML.Graphics.RenderStates
return void

Update() public method

public Update ( ) : void
return void

Property Details

FrameTime public property

public float FrameTime
return float