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
/
roaches.py
diff --git
a/koperkapel/roaches.py
b/koperkapel/roaches.py
index 680d2a69b24b0183a70700cde72e68cfcaea458a..1d77563953442090efc97e766d62d0dd243569d2 100644
(file)
--- a/
koperkapel/roaches.py
+++ b/
koperkapel/roaches.py
@@
-89,8
+89,9
@@
class RoachFactory:
frame.blit(eyes, (0, 0))
return frame
frame.blit(eyes, (0, 0))
return frame
- def assemble(self, roach_data, weapon=None):
- color = roach_serum_color(roach_data)
+ def assemble(self, roach_data, color=None, weapon=None):
+ if not color:
+ color = roach_serum_color(roach_data)
frames = []
frames = [
self.assemble_frame(i, color, roach_data, weapon)
frames = []
frames = [
self.assemble_frame(i, color, roach_data, weapon)