C# Class SanderVantEinde.SecretHitlerBot.GameRegistry.Game

Datei anzeigen Open project: sandervanteinde/TelegramBot

Public Methods

Method 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

Method Description
Game ( User host ) : SanderVantEinde.TelegramBot

Method Details

AssignRoles() public method

public AssignRoles ( ) : void
return void

GetRole() public method

public GetRole ( User user ) : PlayerRole
user SanderVantEinde.TelegramBot.User
return PlayerRole

IsInGame() public method

public IsInGame ( User user ) : bool
user SanderVantEinde.TelegramBot.User
return bool

Join() public method

public Join ( User user ) : bool
user SanderVantEinde.TelegramBot.User
return bool

Leave() public method

public Leave ( User from ) : void
from SanderVantEinde.TelegramBot.User
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void