Made the entities optional when creating maps
This commit is contained in:
parent
dd88782a4c
commit
7a2e1173d9
|
@ -11,7 +11,7 @@ class Map:
|
||||||
height: int
|
height: int
|
||||||
tiles: list
|
tiles: list
|
||||||
|
|
||||||
def __init__(self, width: int, height: int, tiles: list, entities: list):
|
def __init__(self, width: int, height: int, tiles: list, entities = []: list):
|
||||||
self.width = width
|
self.width = width
|
||||||
self.height = height
|
self.height = height
|
||||||
self.tiles = tiles
|
self.tiles = tiles
|
||||||
|
|
Loading…
Reference in New Issue