Changes between Version 190 and Version 191 of WikiStart


Ignore:
Timestamp:
06/04/19 14:19:22 (5 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v190 v191  
    187187        def notifyChange(self, info):
    188188                if isinstance(info, Settings) :
    189                         self._fetchProfile(info.getProfile())
     189                        self.profile = ProfileConnectionFactory.create(info.getProfile().getURI(), self.getReporter());
    190190                        self.me = info.getID()
     191                        self.progress = info.getProgress()
    191192                elif isinstance(info , ActionDone):
    192193                        self.lastActor = info.getAction().getActor()
     
    196197                elif isinstance(info , YourTurn):
    197198                        self._myTurn()
     199                        if isinstance(self.progress, ProgressRounds) :
     200                                self.progress = self.progress.advance();
    198201
    199202        def getCapabilities(self): # -> Capabilities