C# Class gbrainy.Core.Main.Memory

Inheritance: Game
ファイルを表示 Open project: GNOME/gbrainy

Protected Properties

Property Type Description
alpha double
shade bool
time_left int
timer System.Timers.Timer
total_time int

Public Methods

Method Description
Draw ( CairoContextEx gr, int area_width, int area_height, bool rtl ) : void
DrawObjectToMemorize ( CairoContextEx gr, int area_width, int area_height, bool rtl ) : void
DrawPossibleAnswers ( CairoContextEx gr, int area_width, int area_height, bool rtl ) : void
DrawPreview ( CairoContextEx gr, int width, int height, bool rtl ) : void
DrawTimeBar ( CairoContextEx gr, double x, double y, double percentage ) : void
Finish ( ) : void
OnCountDownRedraw ( object o, EventArgs args ) : void
StartTimer ( ) : void

Protected Methods

Method Description
FinishCountDown ( ) : void
Initialize ( ) : void
InitializeGame ( ) : void
OnCountDownFinish ( object source, EventArgs e ) : void

Private Methods

Method Description
TimerUpdater ( object source, System.Timers.ElapsedEventArgs e ) : void

Method Details

Draw() public method

public Draw ( CairoContextEx gr, int area_width, int area_height, bool rtl ) : void
gr CairoContextEx
area_width int
area_height int
rtl bool
return void

DrawObjectToMemorize() public method

public DrawObjectToMemorize ( CairoContextEx gr, int area_width, int area_height, bool rtl ) : void
gr CairoContextEx
area_width int
area_height int
rtl bool
return void

DrawPossibleAnswers() public method

public DrawPossibleAnswers ( CairoContextEx gr, int area_width, int area_height, bool rtl ) : void
gr CairoContextEx
area_width int
area_height int
rtl bool
return void

DrawPreview() public method

public DrawPreview ( CairoContextEx gr, int width, int height, bool rtl ) : void
gr CairoContextEx
width int
height int
rtl bool
return void

DrawTimeBar() public method

public DrawTimeBar ( CairoContextEx gr, double x, double y, double percentage ) : void
gr CairoContextEx
x double
y double
percentage double
return void

Finish() public method

public Finish ( ) : void
return void

FinishCountDown() protected method

protected FinishCountDown ( ) : void
return void

Initialize() protected method

protected Initialize ( ) : void
return void

InitializeGame() protected method

protected InitializeGame ( ) : void
return void

OnCountDownFinish() protected method

protected OnCountDownFinish ( object source, EventArgs e ) : void
source object
e System.EventArgs
return void

OnCountDownRedraw() public method

public OnCountDownRedraw ( object o, EventArgs args ) : void
o object
args System.EventArgs
return void

StartTimer() public method

public StartTimer ( ) : void
return void

Property Details

alpha protected_oe property

protected double alpha
return double

shade protected_oe property

protected bool shade
return bool

time_left protected_oe property

protected int time_left
return int

timer protected_oe property

protected Timer,System.Timers timer
return System.Timers.Timer

total_time protected_oe property

protected int total_time
return int