C# Class TimersAndTweens.Tween

Exibir arquivo Open project: GarethIW/LDEngine Class Usage Examples

Public Properties

Property Type Description
CurrentDirection TweenDirection
CurrentTime double
InitialDirection TweenDirection
Looping bool
Name string
PingPong bool
State TweenState
TargetTime double
Value float

Public Methods

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

Method Details

Kill() public method

public Kill ( ) : void
return void

Pause() public method

public Pause ( ) : void
return void

Resume() public method

public Resume ( ) : void
return void

Tween() public method

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

Tween() public method

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

Update() public method

public Update ( GameTime gameTime ) : void
gameTime GameTime
return void

Property Details

CurrentDirection public_oe property

public TweenDirection CurrentDirection
return TweenDirection

CurrentTime public_oe property

public double CurrentTime
return double

InitialDirection public_oe property

public TweenDirection InitialDirection
return TweenDirection

Looping public_oe property

public bool Looping
return bool

Name public_oe property

public string Name
return string

PingPong public_oe property

public bool PingPong
return bool

State public_oe property

public TweenState State
return TweenState

TargetTime public_oe property

public double TargetTime
return double

Value public_oe property

public float Value
return float