mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2025-12-08 12:05:14 -06:00
Removed more duplicate code.
This commit is contained in:
@@ -63,9 +63,6 @@ class Dungeon(object):
|
||||
#self.level_count, self.size = level_count, size
|
||||
#self.levels = [[None for y in range(size)] for x in range(size)] # array[x][y] style access
|
||||
|
||||
def get_lists(self):
|
||||
return (self.floor_list, self.wall_list)
|
||||
|
||||
def add_level(self, sprit_list):
|
||||
for x in sprit_list:
|
||||
self.levels.append(x)
|
||||
|
||||
Reference in New Issue
Block a user