C# 클래스 WaveEngine.Components.GameActions.RotateTo2DGameAction

Game action that performs a rotating animation to a 2D entity
상속: FloatAnimationGameAction
파일 보기 프로젝트 열기: WaveEngine/Components

공개 메소드들

메소드 설명
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