diff gamelib/equipment.py @ 380:1586eccdefe4

Ripped out legacy animation infrastructure in favour of layered sprites.
author Jeremy Thurgood <firxen@gmail.com>
date Sun, 25 Oct 2009 10:56:01 +0000
parents 32149b1d9fd2
children 02a6de5629d6
line wrap: on
line diff
--- a/gamelib/equipment.py	Sat Oct 24 21:43:15 2009 +0000
+++ b/gamelib/equipment.py	Sun Oct 25 10:56:01 2009 +0000
@@ -67,7 +67,7 @@
         if hasattr(self, 'HIT_SOUND'):
             sound.play_sound(self.HIT_SOUND)
         if hasattr(self, 'ANIMATION'):
-            gameboard.animations.append(self.ANIMATION(wielder))
+            self.ANIMATION(gameboard.tv, wielder)
         roll = random.randint(1, 100)
         base_hit = self._get_parameter('BASE_HIT', wielder)
         range_penalty = self._get_parameter('RANGE_PENALTY', wielder)