C# Class WaveEngine.Components.GameActions.Vector2AnimationGameAction

Inheritance: UpdatableGameAction
Exibir arquivo Open project: WaveEngine/Components

Protected Properties

Property Type Description
from System.Vector2
to System.Vector2
updateAction Action

Public Methods

Method Description
BackInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Back in ease function

BackInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Back in and out ease function

BackOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Back out ease function

BounceInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Bounce in ease function

BounceInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Bounce in out ease function

BounceOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Bounce out ease function

CircleInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Circle in ease function

CircleInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Circle in and out ease function

CircleOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Circle out ease function

CubicInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Cubic in ease function

CubicInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Cubic in and out ease function

CubicOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Cubic out Ease ease function

DeltaFunction ( EaseFunction function, System.Vector2 from, System.Vector2 to, float time, float totalTime ) : System.Vector2

Delta Function method

ElasticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Elastic in ease function

ElasticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Elastic in and out ease function

ElasticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Elastic out ease function

ExponentialInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Exponential in ease function

ExponentialInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Exponential in and out ease function

ExponentialOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Exponential out ease function

LinearStep ( float time, System.Vector2 value1, System.Vector2 value2, float duration ) : System.Vector2

Smooth Step method

QuadraticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quadratic in ease function

QuadraticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quadratic in and out ease function

QuadraticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quadratic out ease function

QuarticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quartic in ease function

QuarticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quartic in and out ease function

QuarticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quartic out ease function

QuinticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quintic in ease function

QuinticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quintic in and out ease function

QuinticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quintic out ease function

SineInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Sine in ease function

SineInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Sine in and out ease function

SineOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Sine out ease function

Update ( System.TimeSpan gameTime ) : void

Updates the single game action

Vector2AnimationGameAction ( System.Entity entity, System.Vector2 from, System.Vector2 to, System.TimeSpan time, EaseFunction ease, Action updateAction ) : System

Initializes a new instance of the Vector2AnimationGameAction class.

Protected Methods

Method Description
PerformCancel ( ) : void

Cancels the game action

PerformRun ( ) : void

Ons the run.

PerformSkip ( ) : bool

Notifies the skip.

Vector2AnimationGameAction ( System.Entity entity, System.Vector2 from, System.Vector2 to, System.TimeSpan time, EaseFunction ease ) : System

Initializes a new instance of the Vector2AnimationGameAction class.

Private Methods

Method Description
AssignValueTo ( System.Vector2 value ) : void

Assign value to method

Method Details

BackInEase() public method

Back in ease function
public BackInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

BackInOutEase() public method

Back in and out ease function
public BackInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

BackOutEase() public method

Back out ease function
public BackOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

BounceInEase() public method

Bounce in ease function
public BounceInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

BounceInOutEase() public method

Bounce in out ease function
public BounceInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

BounceOutEase() public method

Bounce out ease function
public BounceOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

CircleInEase() public method

Circle in ease function
public CircleInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

CircleInOutEase() public method

Circle in and out ease function
public CircleInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

CircleOutEase() public method

Circle out ease function
public CircleOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

CubicInEase() public method

Cubic in ease function
public CubicInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

CubicInOutEase() public method

Cubic in and out ease function
public CubicInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

CubicOutEase() public method

Cubic out Ease ease function
public CubicOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

DeltaFunction() public method

Delta Function method
public DeltaFunction ( EaseFunction function, System.Vector2 from, System.Vector2 to, float time, float totalTime ) : System.Vector2
function EaseFunction ease function
from System.Vector2 Start value
to System.Vector2 End value
time float Current time
totalTime float Animation duration
return System.Vector2

ElasticInEase() public method

Elastic in ease function
public ElasticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

ElasticInOutEase() public method

Elastic in and out ease function
public ElasticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

ElasticOutEase() public method

Elastic out ease function
public ElasticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

ExponentialInEase() public method

Exponential in ease function
public ExponentialInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

ExponentialInOutEase() public method

Exponential in and out ease function
public ExponentialInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

ExponentialOutEase() public method

Exponential out ease function
public ExponentialOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

LinearStep() public method

Smooth Step method
public LinearStep ( float time, System.Vector2 value1, System.Vector2 value2, float duration ) : System.Vector2
time float Current time
value1 System.Vector2 Start value
value2 System.Vector2 End value
duration float Animation duration
return System.Vector2

PerformCancel() protected method

Cancels the game action
protected PerformCancel ( ) : void
return void

PerformRun() protected method

Ons the run.
protected PerformRun ( ) : void
return void

PerformSkip() protected method

Notifies the skip.
protected PerformSkip ( ) : bool
return bool

QuadraticInEase() public method

Quadratic in ease function
public QuadraticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

QuadraticInOutEase() public method

Quadratic in and out ease function
public QuadraticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

QuadraticOutEase() public method

Quadratic out ease function
public QuadraticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

QuarticInEase() public method

Quartic in ease function
public QuarticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

QuarticInOutEase() public method

Quartic in and out ease function
public QuarticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

QuarticOutEase() public method

Quartic out ease function
public QuarticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

QuinticInEase() public method

Quintic in ease function
public QuinticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

QuinticInOutEase() public method

Quintic in and out ease function
public QuinticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

QuinticOutEase() public method

Quintic out ease function
public QuinticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

SineInEase() public method

Sine in ease function
public SineInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

SineInOutEase() public method

Sine in and out ease function
public SineInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

SineOutEase() public method

Sine out ease function
public SineOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
return System.Vector2

Update() public method

Updates the single game action
public Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The ellapsed gameTime
return void

Vector2AnimationGameAction() protected method

Initializes a new instance of the Vector2AnimationGameAction class.
protected Vector2AnimationGameAction ( System.Entity entity, System.Vector2 from, System.Vector2 to, System.TimeSpan time, EaseFunction ease ) : System
entity System.Entity The entity
from System.Vector2 Initial value
to System.Vector2 End value
time System.TimeSpan The time of the animation
ease EaseFunction Easing function
return System

Vector2AnimationGameAction() public method

Initializes a new instance of the Vector2AnimationGameAction class.
public Vector2AnimationGameAction ( System.Entity entity, System.Vector2 from, System.Vector2 to, System.TimeSpan time, EaseFunction ease, Action updateAction ) : System
entity System.Entity The entity
from System.Vector2 Initial value
to System.Vector2 End value
time System.TimeSpan The time of the animation
ease EaseFunction Easing function
updateAction Action The action when needs to be updated
return System

Property Details

from protected_oe property

Initial value
protected Vector2,System from
return System.Vector2

to protected_oe property

End value
protected Vector2,System to
return System.Vector2

updateAction protected_oe property

The update action of the
protected Action updateAction
return Action