Additional type hints
Signed-off-by: Bobloy <alboblexloy@gmail.com>
This commit is contained in:
parent
c95b2e4ef2
commit
6a977000a2
@ -1,17 +1,23 @@
|
|||||||
import asyncio
|
import asyncio
|
||||||
import random
|
import random
|
||||||
|
from typing import List, Any, Dict, Set, Union
|
||||||
|
|
||||||
import discord
|
import discord
|
||||||
from redbot.core import RedContext
|
from redbot.core import RedContext
|
||||||
|
|
||||||
from werewolf.builder import parse_code
|
from werewolf.builder import parse_code
|
||||||
from werewolf.player import Player
|
from werewolf.player import Player
|
||||||
|
from werewolf.role import Role
|
||||||
|
from werewolf.votegroup import VoteGroup
|
||||||
|
|
||||||
|
|
||||||
class Game:
|
class Game:
|
||||||
"""
|
"""
|
||||||
Base class to run a single game of Werewolf
|
Base class to run a single game of Werewolf
|
||||||
"""
|
"""
|
||||||
|
vote_groups: Dict[str, VoteGroup]
|
||||||
|
roles: List[Role]
|
||||||
|
players: List[Player]
|
||||||
|
|
||||||
default_secret_channel = {
|
default_secret_channel = {
|
||||||
"channel": None,
|
"channel": None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user