Skip to content

Commit

Permalink
renamed clash_royale_env class
Browse files Browse the repository at this point in the history
  • Loading branch information
lunathanael committed Mar 12, 2024
1 parent 7c225ee commit a5065e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion clash_royale/envs/clash_royale_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def draw_troop(canvas, troop, health_bar_color, pix_square_size):
TROOP_HEALTH[troop_type],
pix_square_size)

class ArenaEnv(gym.Env):
class ClashRoyaleEnv(gym.Env):
metadata = {"render_modes": ["human", "rgb_array"], "render_fps": 16}

def __init__(self, render_mode=None, width=8, height=18):
Expand Down
1 change: 0 additions & 1 deletion clash_royale/envs/game_engine/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import math


def distance(x1: int, y1: int, x2: int, y2: int) -> float:
"""
Determines the distance between two points
Expand Down

0 comments on commit a5065e9

Please sign in to comment.