C# 클래스 WaveEngine.Components.Transitions.ColorFadeTransition

This class make an effect between two ColorFadeTransition pasing first to a specified color (white for example)
상속: ScreenTransition
파일 보기 프로젝트 열기: WaveEngine/Components 1 사용 예제들

공개 메소드들

메소드 설명
ColorFadeTransition ( System.Color transitionColor, System.TimeSpan duration ) : System

Initializes a new instance of the ColorFadeTransition class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Draw ( System.TimeSpan gameTime ) : void

Draws the specified game time.

Initialize ( ) : void

Initializes this instance.

Update ( System.TimeSpan gameTime ) : void

Updates the specified game time.

메소드 상세

ColorFadeTransition() 공개 메소드

Initializes a new instance of the ColorFadeTransition class.
public ColorFadeTransition ( System.Color transitionColor, System.TimeSpan duration ) : System
transitionColor System.Color The transition color.
duration System.TimeSpan The transition duration.
리턴 System

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

Draw() 보호된 메소드

Draws the specified game time.
protected Draw ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
리턴 void

Initialize() 보호된 메소드

Initializes this instance.
protected Initialize ( ) : void
리턴 void

Update() 보호된 메소드

Updates the specified game time.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
리턴 void