refactor: add base class for all game objects

This commit is contained in:
Giovani Rodriguez
2021-06-08 12:33:58 -04:00
parent 4ddb9f70cd
commit 2759b2f293
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)