comparison 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
comparison
equal deleted inserted replaced
38:b30a72c41f90 39:3011bc71ab20
343 self.model.loadMap(self.model.target_map_name) 343 self.model.loadMap(self.model.target_map_name)
344 344
345 self.model.setActiveMap(self.model.target_map_name) 345 self.model.setActiveMap(self.model.target_map_name)
346 self.model.readAgentsOfMap(self.model.target_map_name) 346 self.model.readAgentsOfMap(self.model.target_map_name)
347 347
348 self.model.placeAgents() 348 self.model.placeAgents(self)
349 self.model.placePC() 349 self.model.placePC()
350 self.model.map_change = False 350 self.model.map_change = False
351 # The PlayerCharacter has an inventory, and also some 351 # The PlayerCharacter has an inventory, and also some
352 # filling of the ready slots in the HUD. 352 # filling of the ready slots in the HUD.
353 # At this point we sync the contents of the ready slots 353 # At this point we sync the contents of the ready slots