Skip to content

Commit

Permalink
linted arena.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lunathanael committed Mar 11, 2024
1 parent e77cd9d commit a13dbed
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions clash_royale/envs/game_engine/arena.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from clash_royale.envs.game_engine.entities.entity import EntityCollection

if TYPE_CHECKING:
# Only import for typechecking to prevent circular dependency
from clash_royale.envs.game_engine.game_engine import GameEngine

class Arena(EntityCollection):
Expand All @@ -29,14 +30,16 @@ class Arena(EntityCollection):
"""

def __init__(self, width: int =8, height: int=18) -> None:

self.width = width # Width of arena
self.height = height # Height of arena

super().__init__()

self.width: int = width # Width of arena
self.height: int = height # Height of arena

self.engine: GameEngine # Game engine that is managing this arena

def reset(self):
def reset(self) -> None:
pass

def step(self):
def step(self) -> None:
pass

0 comments on commit a13dbed

Please sign in to comment.