C# Class TimersAndTweens.TweenController

Exibir arquivo Open project: GarethIW/LDEngine Class Usage Examples

Public Properties

Property Type Description
Instance TweenController
Tweens List

Public Methods

Method Description
Create ( string name, TweenFunc func, Action callback, double time, bool pingpong, bool loop ) : Tween
Create ( string name, TweenFunc func, Action callback, double time, bool pingpong, bool loop, TweenDirection initialDirection ) : Tween
Get ( string name ) : Tween
TweenController ( ) : System
Update ( GameTime gameTime ) : void

Method Details

Create() public method

public Create ( string name, TweenFunc func, Action callback, double time, bool pingpong, bool loop ) : Tween
name string
func TweenFunc
callback Action
time double
pingpong bool
loop bool
return Tween

Create() public method

public Create ( string name, TweenFunc func, Action callback, double time, bool pingpong, bool loop, TweenDirection initialDirection ) : Tween
name string
func TweenFunc
callback Action
time double
pingpong bool
loop bool
initialDirection TweenDirection
return Tween

Get() public method

public Get ( string name ) : Tween
name string
return Tween

TweenController() public method

public TweenController ( ) : System
return System

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

Instance public_oe static_oe property

public static TweenController,TimersAndTweens Instance
return TweenController

Tweens public_oe property

public List Tweens
return List