C# Класс WaveEngine.Components.GameActions.ScaleTo2DGameAction

Game action that scales a 2D entity
Наследование: Vector2AnimationGameAction
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
PerformRun ( ) : void

Performs the run operation

Приватные методы

Метод Описание
LocalScaleAction ( System.Vector2 delta ) : void

Scale action

ScaleAction ( System.Vector2 delta ) : void

Scale action

Описание методов

PerformRun() защищенный Метод

Performs the run operation
protected PerformRun ( ) : void
Результат void

ScaleTo2DGameAction() публичный Метод

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
Результат System