projects
/
koperkapel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
koperkapel/gamelib/friendlyroach.py
@@ -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