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

Game action that scales a 2D entity
상속: Vector2AnimationGameAction
파일 보기 프로젝트 열기: WaveEngine/Components

공개 메소드들

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