C# Class gbrainy.Core.Main.Xml.GameXmlDrawing

ファイルを表示 Open project: GNOME/gbrainy Class Usage Examples

Private Properties

Property Type Description
DrawOption void
GetOptionPrefix string
RandomizeOptions void

Public Methods

Method Description
CreateDrawingObjects ( DrawingObject drawing_objects ) : void
DrawObjects ( CairoContextEx gr, DrawingObject drawing_objects, int option ) : void
GameXmlDrawing ( GameXml game_xml ) : System
GetOptionCorrectAnswerIndex ( ) : int

Private Methods

Method Description
DrawOption ( object sender, DrawEventArgs e ) : void
GetOptionPrefix ( string str, int option ) : string
RandomizeOptions ( DrawingObject drawing_objects, int randomized_options ) : void

Method Details

CreateDrawingObjects() public method

public CreateDrawingObjects ( DrawingObject drawing_objects ) : void
drawing_objects DrawingObject
return void

DrawObjects() public method

public DrawObjects ( CairoContextEx gr, DrawingObject drawing_objects, int option ) : void
gr CairoContextEx
drawing_objects DrawingObject
option int
return void

GameXmlDrawing() public method

public GameXmlDrawing ( GameXml game_xml ) : System
game_xml GameXml
return System

GetOptionCorrectAnswerIndex() public method

public GetOptionCorrectAnswerIndex ( ) : int
return int