C# Class Californium.AnimatedSprite

Inheritance: Drawable
显示文件 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_oe property

public float FrameTime
return float