C# Class SanderVantEinde.SecretHitlerBot.GameRegistry.Game

Afficher le fichier Open project: sandervanteinde/TelegramBot

Méthodes publiques

Méthode Description
AssignRoles ( ) : void
GetRole ( User user ) : PlayerRole
IsInGame ( User user ) : bool
Join ( User user ) : bool
Leave ( User from ) : void
Start ( ) : void
Stop ( ) : void

Private Methods

Méthode Description
Game ( User host ) : SanderVantEinde.TelegramBot

Method Details

AssignRoles() public méthode

public AssignRoles ( ) : void
Résultat void

GetRole() public méthode

public GetRole ( User user ) : PlayerRole
user SanderVantEinde.TelegramBot.User
Résultat PlayerRole

IsInGame() public méthode

public IsInGame ( User user ) : bool
user SanderVantEinde.TelegramBot.User
Résultat bool

Join() public méthode

public Join ( User user ) : bool
user SanderVantEinde.TelegramBot.User
Résultat bool

Leave() public méthode

public Leave ( User from ) : void
from SanderVantEinde.TelegramBot.User
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void