projects
/
koperkapel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ed75ca
)
Actors will perform where asked.
author
Simon Cross
<hodgestar@gmail.com>
Sat, 5 Mar 2016 14:37:41 +0000
(16:37 +0200)
committer
Simon Cross
<hodgestar@gmail.com>
Sat, 5 Mar 2016 14:37:41 +0000
(16:37 +0200)
koperkapel/scenes/base.py
patch
|
blob
|
history
diff --git
a/koperkapel/scenes/base.py
b/koperkapel/scenes/base.py
index 26ee7819007dd06b132525175cb9fd2c84627193..2a094f62b1b2dbbea04f77fc149a5412c24bfe81 100644
(file)
--- a/
koperkapel/scenes/base.py
+++ b/
koperkapel/scenes/base.py
@@
-165,7
+165,9
@@
class Actors:
def draw(self, screen):
for lvl, name in self._ordered_layers:
for actor in self._layers[name]:
- actor.draw() # TODO: allow an option screen to be passed in
+ # actor.draw doesn't allow blitting to anything other than
+ # the game scene
+ screen.blit(actor._surf, actor.topleft)
class Scene: