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

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

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

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

Initializes a new instance of the RotateTo2DGameAction class.

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

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

Performs the run operation

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

Метод Описание
LocalRotateAction ( float delta ) : void

The local rotate method

RotateAction ( float delta ) : void

The rotate method

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

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

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

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

Initializes a new instance of the RotateTo2DGameAction class.
public RotateTo2DGameAction ( System.Entity entity, float to, System.TimeSpan time, EaseFunction ease = EaseFunction.None, bool local = false ) : System
entity System.Entity The target entity
to float The target angle
time System.TimeSpan Animation duration
ease EaseFunction The ease function
local bool If the rotation is local
Результат System