C# Class gbrainy.Games.Logic.PuzzleNumericRelation

Inheritance: gbrainy.Core.Main.Game
Afficher le fichier Open project: GNOME/gbrainy

Méthodes publiques

Méthode Description
Draw ( CairoContextEx gr, int area_width, int area_height, bool rtl ) : void
Validate ( int numbers, Formula formula, int question ) : bool

Méthodes protégées

Méthode Description
Initialize ( ) : void

Private Methods

Méthode Description
SumGroup ( int numbers, int start, int len ) : int
ThirdSubstractingGroup ( int numbers, int start, int len ) : bool
ValidateAddinginGroupsOfTree ( int numbers, int question ) : bool
ValidateAllAdding ( int numbers, int question ) : bool

Method Details

Draw() public méthode

public Draw ( CairoContextEx gr, int area_width, int area_height, bool rtl ) : void
gr gbrainy.Core.Main.CairoContextEx
area_width int
area_height int
rtl bool
Résultat void

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

Validate() public static méthode

public static Validate ( int numbers, Formula formula, int question ) : bool
numbers int
formula Formula
question int
Résultat bool