Removed more duplicate code.

This commit is contained in:
Cameron Smart
2020-04-19 22:08:20 -07:00
parent c533661c05
commit 1a28a3074e
2 changed files with 3 additions and 129 deletions

View File

@@ -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)