C# Class gbrainy.Clients.WebForms.Game

Inheritance: System.Web.UI.Page
Mostrar archivo Open project: GNOME/gbrainy

Public Methods

Method Description
CreateImage ( WebSession _session ) : string
CreateManager ( ) : GameManager
GetNextGame ( ) : Game
OnClickAnswer ( Object sender, EventArgs e ) : void
OnClickNextGame ( Object sender, EventArgs e ) : void

Protected Methods

Method Description
OnClickEndGame ( Object sender, EventArgs e ) : void
OnStartAllGames ( Object sender, EventArgs e ) : void

Private Methods

Method Description
InitPage ( ) : void
Page_Load ( Object sender, EventArgs e ) : void
Page_LoadComplete ( Object sender, EventArgs e ) : void
ProcessAnswer ( string answer ) : void
SetText ( ) : void
UpdateGame ( ) : void

Method Details

CreateImage() public method

public CreateImage ( WebSession _session ) : string
_session WebSession
return string

CreateManager() public static method

public static CreateManager ( ) : GameManager
return gbrainy.Core.Main.GameManager

GetNextGame() public method

public GetNextGame ( ) : Game
return gbrainy.Core.Main.Game

OnClickAnswer() public method

public OnClickAnswer ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
return void

OnClickEndGame() protected method

protected OnClickEndGame ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
return void

OnClickNextGame() public method

public OnClickNextGame ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
return void

OnStartAllGames() protected method

protected OnStartAllGames ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
return void