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

Game action which animates an 2D entity
상속: Vector2AnimationGameAction
파일 보기 프로젝트 열기: WaveEngine/Components

공개 메소드들

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