projects
/
koperkapel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of ctpug.org.za:koperkapel
[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