def setUp(self) -> None:
     self.registry = ecs.Registry()
     self.pubsub = ecs.PubSub()
     self.manager = ecs.SystemManager(pubsub=self.pubsub,
                                      registry=self.registry)
     self.system = TestSystem()
 def setUp(self) -> None:
     self.registry = ecs.Registry()
Exemple #3
0
 def setUp(self):
     self.registry = ecs.Registry()
     self.pubsub = ecs.PubSub()
     self.pubsub_view = PubSubView(self.pubsub)
     self.system = self.system(registry=self.registry, pubsub=self.pubsub)
def make_world():
    return ecs.Registry()
 def setUp(self) -> None:
     self.registry = ecs.Registry()
     self.name = 'test'