C# Class gbrainy.Core.Main.GameAnswer

显示文件 Open project: GNOME/gbrainy Class Usage Examples

Public Methods

Method Description
CheckAnswer ( string answer ) : bool
GameAnswer ( ) : System
GetFigureName ( int answer ) : string
GetMultiOption ( int answer ) : string
GetMultiOptionsExpression ( ) : string
GetMultiOptionsPossibleAnswers ( int num_answers ) : string
SetMultiOptionAnswer ( int multioption, string answer ) : void

Private Methods

Method Description
GetMultiOptionInternal ( int answer ) : string
RemoveWhiteSpace ( string source ) : string

Method Details

CheckAnswer() public method

public CheckAnswer ( string answer ) : bool
answer string
return bool

GameAnswer() public method

public GameAnswer ( ) : System
return System

GetFigureName() public method

public GetFigureName ( int answer ) : string
answer int
return string

GetMultiOption() public method

public GetMultiOption ( int answer ) : string
answer int
return string

GetMultiOptionsExpression() public method

public GetMultiOptionsExpression ( ) : string
return string

GetMultiOptionsPossibleAnswers() public method

public GetMultiOptionsPossibleAnswers ( int num_answers ) : string
num_answers int
return string

SetMultiOptionAnswer() public method

public SetMultiOptionAnswer ( int multioption, string answer ) : void
multioption int
answer string
return void