C# Class QuizGameServer.GameRunner

Manage game loop
Afficher le fichier Open project: pebblecode/ChatQuiz Class Usage Examples

Méthodes publiques

Méthode Description
GameRunner ( IQuestionProvider provider, IChatApi chatapi, int secondsToAnswer ) : System.Threading
Start ( ) : void
Stop ( ) : void

Private Methods

Méthode Description
OnTimeout ( object state ) : void
PoseANewQuestion ( ) : void
_controller_QuestionAnswered ( ) : void

Method Details

GameRunner() public méthode

public GameRunner ( IQuestionProvider provider, IChatApi chatapi, int secondsToAnswer ) : System.Threading
provider IQuestionProvider
chatapi IChatApi
secondsToAnswer int
Résultat System.Threading

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void