Skip to content

Commit

Permalink
added L to list in pseudo legal cards return type
Browse files Browse the repository at this point in the history
  • Loading branch information
lunathanael committed Mar 12, 2024
1 parent ac5f441 commit 138a8e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clash_royale/envs/game_engine/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ def __init__(self,
def reset(self, elixir: int = 5) -> None:
"""
This method is used to reset Player class.
TODO: implement deck shuffling
"""

self.elixir: int = elixir

def get_pseudo_legal_cards(self) -> list[Card]:
def get_pseudo_legal_cards(self) -> List[Card]:
"""
This method is used to get all cards that can be
played given the current amount of elixir.
Expand Down

0 comments on commit 138a8e1

Please sign in to comment.