Mentions légales du service

Skip to content
Snippets Groups Projects
Commit afeeee58 authored by Florent Bouchez Tichadou's avatar Florent Bouchez Tichadou
Browse files

Not necessary anymore to have a list of enemies, they are just regular

objects.
parent e42f8833
No related branches found
No related tags found
1 merge request!8Merge 04_teleportation level + Action class added
......@@ -125,11 +125,6 @@ class AbstractLevel(ABC, TrackerHelp):
for wop_dict in metadata["wops"].values():
lvl.debug(f"Adding wop {wop_dict}")
self.map.add_object(Wop(wop_dict))
# Create enemies
for enemy_dict in metadata["enemies"].values():
lvl.debug(f"Adding enemy {enemy_dict}")
self.map.add_object(Enemy(enemy_dict))
## TODO: make more generic. There should not be much difference between object and wop
# Create custom objects
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment