projects
/
tabakrolletjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7487a9c
)
PEP8 fix.
author
Simon Cross
<hodgestar@gmail.com>
Sat, 10 Sep 2016 17:08:05 +0000
(19:08 +0200)
committer
Simon Cross
<hodgestar@gmail.com>
Sat, 10 Sep 2016 17:08:05 +0000
(19:08 +0200)
tabakrolletjie/enemies.py
patch
|
blob
|
history
diff --git
a/tabakrolletjie/enemies.py
b/tabakrolletjie/enemies.py
index 333c8270b8a92b3ddc358aef9fbd28983ab98e60..9524617ffeef3037cab592d9bdc02885e2091af6 100644
(file)
--- a/
tabakrolletjie/enemies.py
+++ b/
tabakrolletjie/enemies.py
@@
-87,7
+87,9
@@
class Mould(pymunk.Body):
if not self._img:
name = random.choice(
('mouldA.png', 'mouldB.png', 'mouldC.png'))
- size = "16" if self._age < MOULD_STAGES[0] else "32" if self._age < MOULD_STAGES[1] else "64"
+ size = (
+ "16" if self._age < MOULD_STAGES[0] else
+ "32" if self._age < MOULD_STAGES[1] else "64")
self._img = loader.load_image(size, name,
transform=self._transform)
return self._img