From 0e1344b6b9955db3db1fcebf98afc496cc61242d Mon Sep 17 00:00:00 2001 From: Nathanael Lu Date: Mon, 11 Mar 2024 20:42:54 -0400 Subject: [PATCH] added is_overtime template function --- clash_royale/envs/game_engine/struct.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clash_royale/envs/game_engine/struct.py b/clash_royale/envs/game_engine/struct.py index c59283a..2264ba2 100644 --- a/clash_royale/envs/game_engine/struct.py +++ b/clash_royale/envs/game_engine/struct.py @@ -46,11 +46,12 @@ def game_state(self) -> int: ex: Game is over, double elixir, overtime, etc. """ return 0 - + def is_game_over(self) -> bool: return False - + def is_overtime(self) -> bool: + return False @dataclasses.dataclass(slots=True) class Stats: