started generalizing player
This commit is contained in:
parent
eff057da8c
commit
b85c20b65a
|
@ -0,0 +1,9 @@
|
||||||
|
"""Has a single class: Player"""
|
||||||
|
|
||||||
|
# discord imports
|
||||||
|
import discord
|
||||||
|
|
||||||
|
|
||||||
|
class Player:
|
||||||
|
"""This (abstract) class is a template for player objects for games"""
|
||||||
|
pass
|
|
@ -1,7 +1,9 @@
|
||||||
import discord
|
import discord
|
||||||
|
|
||||||
|
from .player import Player
|
||||||
|
|
||||||
class Player:
|
|
||||||
|
class Werewolf_player(Player):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
async def make(member, game):
|
async def make(member, game):
|
||||||
|
|
Loading…
Reference in New Issue