C# Class hyades.screen.Screen

Show file Open project: zfedoran/bubblebound Class Usage Examples

Public Properties

Property Type Description
parent Screen
ready bool
screenmanager ScreenManager
transition_time float

Public Methods

Method Description
Draw ( GraphicsDevice device ) : void
FadeIn ( ) : void
FadeOut ( ) : void
IsActive ( ) : bool
IsReady ( ) : bool
OnActive ( double elapsed, InputDevice input ) : void
Screen ( Screen parent, ScreenManager manager ) : System
TransitionTo ( Screen screen ) : void
Update ( double elapsed ) : void

Private Methods

Method Description
DelayedSetReady ( ) : void
SetReady ( Timer t ) : void

Method Details

Draw() public abstract method

public abstract Draw ( GraphicsDevice device ) : void
device GraphicsDevice
return void

FadeIn() public method

public FadeIn ( ) : void
return void

FadeOut() public method

public FadeOut ( ) : void
return void

IsActive() public method

public IsActive ( ) : bool
return bool

IsReady() public method

public IsReady ( ) : bool
return bool

OnActive() public abstract method

public abstract OnActive ( double elapsed, InputDevice input ) : void
elapsed double
input InputDevice
return void

Screen() public method

public Screen ( Screen parent, ScreenManager manager ) : System
parent Screen
manager ScreenManager
return System

TransitionTo() public method

public TransitionTo ( Screen screen ) : void
screen Screen
return void

Update() public method

public Update ( double elapsed ) : void
elapsed double
return void

Property Details

parent public property

public Screen,hyades.screen parent
return Screen

ready public property

public bool ready
return bool

screenmanager public property

public ScreenManager,hyades.screen screenmanager
return ScreenManager

transition_time public property

public float transition_time
return float