refactor: add base class for all game objects

This commit is contained in:
2021-06-08 12:33:58 -04:00
parent a269a532a0
commit 673c4774f2
7 changed files with 61 additions and 23 deletions

View File

@@ -8,6 +8,6 @@ class ConfigurationManager:
configuration = []
@classmethod
def load(cls):
def load(cls) -> None:
with open(CONFIG_FILE_LOCATION, "r") as yaml_file:
cls.configuration = yaml.safe_load(yaml_file)