Actors will perform where asked.
authorSimon Cross <hodgestar@gmail.com>
Sat, 5 Mar 2016 14:37:41 +0000 (16:37 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sat, 5 Mar 2016 14:37:41 +0000 (16:37 +0200)
koperkapel/scenes/base.py

index 26ee7819007dd06b132525175cb9fd2c84627193..2a094f62b1b2dbbea04f77fc149a5412c24bfe81 100644 (file)
@@ -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: