Melee weapons now do damage.
[koperkapel.git] / koperkapel / gamelib / level.py
index 23701b947c387797c7e1288e88ce367e739c8735..aed4cccb880b88b48cd33ba33e6afe0abcba9663 100644 (file)
@@ -99,6 +99,9 @@ class Level(object):
                 return enemy
         return None
 
+    def remove_enemy(self, enemy):
+        self.enemies.remove(enemy)
+
     def add_enemy(self, enemy, x, y):
         """Add an enemy to an empty floor space near x, y"""
         added = False
@@ -112,4 +115,3 @@ class Level(object):
                         added = True
             x += random.randint(-1, 1)
             y += random.randint(-1, 1)
-