projects
/
koperkapel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enemies appear
[koperkapel.git]
/
koperkapel
/
gamelib
/
enemy_roach.py
diff --git a/koperkapel/gamelib/enemy_roach.py
b/koperkapel/gamelib/enemy_roach.py
new file mode 100644
(file)
index 0000000..
95b3e19
--- /dev/null
+++ b/
koperkapel/gamelib/enemy_roach.py
@@ -0,0
+1,11
@@
+# Roach utilities
+
+from ..roaches import t32_roaches, WorldRoach
+
+
+def get_enemy_roach():
+ # red
+ roach = t32_roaches.assemble(WorldRoach(), color=(255, 0, 0, 255))
+ roach.anchor = (0, 0)
+ roach.game_pos = (0, 0)
+ return roach