diff gamescenecontroller.py @ 39:3011bc71ab20

Added funcionality to load Entities from file
author KarstenBock@gmx.net
date Mon, 05 Sep 2011 14:47:21 +0200
parents 708a6f651c31
children 98f26f7636d8
line wrap: on
line diff
--- a/gamescenecontroller.py	Mon Sep 05 14:46:43 2011 +0200
+++ b/gamescenecontroller.py	Mon Sep 05 14:47:21 2011 +0200
@@ -345,7 +345,7 @@
             self.model.setActiveMap(self.model.target_map_name)          
             self.model.readAgentsOfMap(self.model.target_map_name)
             
-            self.model.placeAgents()
+            self.model.placeAgents(self)
             self.model.placePC()
             self.model.map_change = False
             # The PlayerCharacter has an inventory, and also some