comparison src/parpg/gamescenecontroller.py @ 64:32faacaf6f28

Added funcionality to load Entities from file
author KarstenBock@gmx.net
date Mon, 05 Sep 2011 14:47:21 +0200
parents 94cb5843dcbb
children ad75fa042b99
comparison
equal deleted inserted replaced
63:b15cf999216a 64:32faacaf6f28
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