Gain more roaches
[koperkapel.git] / koperkapel / gamelib / friendlyroach.py
diff --git a/koperkapel/gamelib/friendlyroach.py b/koperkapel/gamelib/friendlyroach.py
new file mode 100644 (file)
index 0000000..b9ddd6e
--- /dev/null
@@ -0,0 +1,10 @@
+# A doors / keypads set
+
+from ..roaches import default_roaches, WorldRoach
+
+
+def get_friendly_roach(x, y):
+    roach = default_roaches.assemble(WorldRoach())
+    roach.anchor = (0, 0)
+    roach.game_pos = (x, y)
+    return roach