Skip to content

Commit

Permalink
🌴 Minor typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asaf-kali committed Jan 5, 2025
1 parent d12c7e6 commit 822ce02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codenames/generic/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ def on_guess_given(self, given_guess: GivenGuess[C, T]):

class Spymaster[C: CardColor, T: Team](Player[C, T], abc.ABC):
@abc.abstractmethod
def give_clue(self, game_state: SpymasterState) -> Clue:
def give_clue(self, game_state: SpymasterState[C, T]) -> Clue:
raise NotImplementedError


class Operative[C: CardColor, T: Team](Player[C, T], abc.ABC):
@abc.abstractmethod
def guess(self, game_state: OperativeState) -> Guess:
def guess(self, game_state: OperativeState[C, T]) -> Guess:
raise NotImplementedError()

0 comments on commit 822ce02

Please sign in to comment.