roach = WorldRoach()
if num_roaches == 1:
# Return a single large roach
- avatar = default_roaches.assemble(roach, weapon)
+ avatar = default_roaches.assemble(roach, weapon=weapon)
avatar.anchor = (0, 0)
elif num_roaches < 6:
- avatar = roaches_quartet.assemble(roach, weapon)
+ avatar = roaches_quartet.assemble(roach, weapon=weapon)
avatar.anchor = (0, 0)
else:
- avatar = roaches_nonet.assemble(roach, weapon)
+ avatar = roaches_nonet.assemble(roach, weapon=weapon)
avatar.anchor = (0, 0)
return avatar