예제 #1
0
 def init(self):
     self.EntityManager = self.world.EntityManager
     self.systemQueue = getSortedByAttr(self.database.values(), 'priority')
     [system.init() for system in self.systemQueue]
예제 #2
0
 def init(self):
     #We setup the priority queue just on init
     self.managerQueue = getSortedByAttr(self.database.values(), 'priority')
     [manager.init() for manager in self.managerQueue]
     #We want to make sure all the managers are init'd before we start them
     self.start()
예제 #3
0
 def init(self):
     self.EntityManager = self.world.EntityManager
     self.systemQueue = getSortedByAttr(self.database.viewvalues(), 'priority')
     [system.init() for system in self.systemQueue]
예제 #4
0
 def init(self):
     #We setup the priority queue just on init
     self.managerQueue = getSortedByAttr(self.database.viewvalues(), 'priority')
     [manager.init() for manager in self.managerQueue]
     #We want to make sure all the managers are init'd before we start them
     self.start()