C# Class WaveEngine.Components.GameActions.ScaleTo2DGameAction

Game action that scales a 2D entity
Inheritance: Vector2AnimationGameAction
Afficher le fichier Open project: WaveEngine/Components

Méthodes publiques

Méthode Description
ScaleTo2DGameAction ( System.Entity entity, System.Vector2 to, System.TimeSpan time, EaseFunction ease = EaseFunction.None, bool local = false ) : System

Initializes a new instance of the ScaleTo2DGameAction class.

Méthodes protégées

Méthode Description
PerformRun ( ) : void

Performs the run operation

Private Methods

Méthode Description
LocalScaleAction ( System.Vector2 delta ) : void

Scale action

ScaleAction ( System.Vector2 delta ) : void

Scale action

Method Details

PerformRun() protected méthode

Performs the run operation
protected PerformRun ( ) : void
Résultat void

ScaleTo2DGameAction() public méthode

Initializes a new instance of the ScaleTo2DGameAction class.
public ScaleTo2DGameAction ( System.Entity entity, System.Vector2 to, System.TimeSpan time, EaseFunction ease = EaseFunction.None, bool local = false ) : System
entity System.Entity The target entity
to System.Vector2 The target scale
time System.TimeSpan Animation duration
ease EaseFunction The ease function
local bool If the scale is in local coordinate
Résultat System