mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2025-12-07 13:13:15 -06:00
undo static method - will resolve into proper static method later
This commit is contained in:
@@ -100,8 +100,7 @@ class Level:
|
|||||||
self.wall_list = []
|
self.wall_list = []
|
||||||
# self.entrances = []
|
# self.entrances = []
|
||||||
|
|
||||||
@staticmethod
|
def load_file(self, path: str):
|
||||||
def load_file(path: str) -> Level:
|
|
||||||
"""
|
"""
|
||||||
Builds a Level from a given file path.
|
Builds a Level from a given file path.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user