def init(self): self.EntityManager = self.world.EntityManager self.systemQueue = getSortedByAttr(self.database.values(), 'priority') [system.init() for system in self.systemQueue]
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()
def init(self): self.EntityManager = self.world.EntityManager self.systemQueue = getSortedByAttr(self.database.viewvalues(), 'priority') [system.init() for system in self.systemQueue]
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()