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

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

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

Метод Описание
MoveTo2DGameAction ( System.Entity entity, System.Vector2 to, System.TimeSpan time, EaseFunction ease = EaseFunction.None, bool local = false ) : System

Initializes a new instance of the MoveTo2DGameAction class.

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

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

Performs the run operation

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

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

Move action

MoveAction ( System.Vector2 delta ) : void

Move action

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

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

Initializes a new instance of the MoveTo2DGameAction class.
public MoveTo2DGameAction ( 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 position
time System.TimeSpan Animation duration
ease EaseFunction The ease function
local bool If the position is in local coordinates.
Результат System

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

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