from .serums import roach_serum_color
+def roach_by_name(world, roach_name):
+ roaches = [r for r in world.roaches if r.name == roach_name]
+ if not roaches:
+ return None
+ return roaches[0]
+
+
class RoachActor(OrientatedSurfActor):
def __init__(self, frames):
self._frames = frames