def __init__(self):
super().__init__()
+ self.actors.add_layer("roaches", level=10)
self._roach_actors = {}
def update(self, world, dt):
roach.attributes.items()),
)))
self._roach_actors[roach.name] = actor
- self.actors.add(actor)
+ self.actors.add(actor, layer="roaches")
# TODO: remove missing roaches
actor.pos = (300, 100 + i * 100)