C# 클래스 gbrainy.Core.Main.Score

파일 보기 프로젝트 열기: GNOME/gbrainy

공개 메소드들

메소드 설명
GameExpectedTime ( GameTypes type, GameDifficulty difficulty ) : int
GameScore ( bool correct_answer, double seconds, int expected_time, bool tip_used ) : int
SessionUpdateHistoryScore ( GameSessionHistoryExtended &history, GameTypes type, GameDifficulty difficulty, int game_score ) : void

비공개 메소드들

메소드 설명
SessionScoreFormula ( GameSessionHistoryExtended &history, GameTypes type, GameDifficulty difficulty ) : int

메소드 상세

GameExpectedTime() 공개 정적인 메소드

public static GameExpectedTime ( GameTypes type, GameDifficulty difficulty ) : int
type GameTypes
difficulty GameDifficulty
리턴 int

GameScore() 공개 정적인 메소드

public static GameScore ( bool correct_answer, double seconds, int expected_time, bool tip_used ) : int
correct_answer bool
seconds double
expected_time int
tip_used bool
리턴 int

SessionUpdateHistoryScore() 공개 정적인 메소드

public static SessionUpdateHistoryScore ( GameSessionHistoryExtended &history, GameTypes type, GameDifficulty difficulty, int game_score ) : void
history GameSessionHistoryExtended
type GameTypes
difficulty GameDifficulty
game_score int
리턴 void