projects
/
koperkapel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8961aaafec367b6a8265252bb16fd6bc28a2ee13
[koperkapel.git]
/
koperkapel
/
gamelib
/
friendlyroach.py
1
# Roach utilities
2
3
from ..roaches import default_roaches, WorldRoach
4
5
6
def get_friendly_roach(x, y):
7
roach = default_roaches.assemble(WorldRoach())
8
roach.anchor = (0, 0)
9
roach.game_pos = (x, y)
10
return roach