Exemple #1
0
 def initialize(self):
     Entity.initialize(self)
     self.shouldMove=False
     from dream.simulation.Globals import G
     # find the project that the capacity entity is part of
     for project in G.CapacityProjectList:
         if project.id==self.capacityProjectId:
             self.capacityProject=project
             break
 def initialize(self):
     Entity.initialize(self)
     self.shouldMove = False
     from dream.simulation.Globals import G
     # find the project that the capacity entity is part of
     for project in G.CapacityProjectList:
         if project.id == self.capacityProjectId:
             self.capacityProject = project
             break