diff --git a/clash_royale/envs/game_engine/player.py b/clash_royale/envs/game_engine/player.py index bc45118..9e669b8 100644 --- a/clash_royale/envs/game_engine/player.py +++ b/clash_royale/envs/game_engine/player.py @@ -38,7 +38,7 @@ def reset(self, elixir: int = 5) -> None: TODO: implement deck shuffling """ - self.elixir: int = elixir + self.elixir: float = elixir def get_pseudo_legal_cards(self) -> List[Card]: """ @@ -53,7 +53,7 @@ def get_pseudo_legal_cards(self) -> List[Card]: return legal_cards - def step(self, + def step(self, elixir_rate: float, frames: int=1) -> None: """