C# 클래스 XnaFlixel.data.FlxQuake

파일 보기 프로젝트 열기: jsbeckr/XnaFlixel 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
x int
y int

보호된 프로퍼티들

프로퍼티 타입 설명
_intensity float
_timer float
_zoom int

공개 메소드들

메소드 설명
FlxQuake ( int Zoom )

Constructor.

start ( float Intensity, float Duration ) : void

Reset and trigger this special effect. @param Intensity Percentage of screen size representing the maximum distance that the screen can move during the 'quake'. @param Duration The length in seconds that the "quake" should last.

stop ( ) : void

Stops this screen effect.

update ( ) : void

Updates and/or animates this special effect.

메소드 상세

FlxQuake() 공개 메소드

Constructor.
public FlxQuake ( int Zoom )
Zoom int

start() 공개 메소드

Reset and trigger this special effect. @param Intensity Percentage of screen size representing the maximum distance that the screen can move during the 'quake'. @param Duration The length in seconds that the "quake" should last.
public start ( float Intensity, float Duration ) : void
Intensity float
Duration float
리턴 void

stop() 공개 메소드

Stops this screen effect.
public stop ( ) : void
리턴 void

update() 공개 메소드

Updates and/or animates this special effect.
public update ( ) : void
리턴 void

프로퍼티 상세

_intensity 보호되어 있는 프로퍼티

The intensity of the quake effect: a percentage of the screen's size.
protected float _intensity
리턴 float

_timer 보호되어 있는 프로퍼티

Set to countdown the quake time.
protected float _timer
리턴 float

_zoom 보호되어 있는 프로퍼티

The game's level of zoom.
protected int _zoom
리턴 int

x 공개적으로 프로퍼티

The amount of X distortion to apply to the screen.
public int x
리턴 int

y 공개적으로 프로퍼티

The amount of Y distortion to apply to the screen.
public int y
리턴 int