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

Afficher le fichier Open project: GNOME/gbrainy Class Usage Examples

Private Properties

Свойство Type Description
DrawOption void
GetOptionPrefix string
RandomizeOptions void

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public CreateDrawingObjects ( DrawingObject drawing_objects ) : void
drawing_objects DrawingObject
Résultat void

DrawObjects() public méthode

public DrawObjects ( CairoContextEx gr, DrawingObject drawing_objects, int option ) : void
gr CairoContextEx
drawing_objects DrawingObject
option int
Résultat void

GameXmlDrawing() public méthode

public GameXmlDrawing ( GameXml game_xml ) : System
game_xml GameXml
Résultat System

GetOptionCorrectAnswerIndex() public méthode

public GetOptionCorrectAnswerIndex ( ) : int
Résultat int