Mercurial > touhou
diff pytouhou/game/item.py @ 439:723a3e67a223
Make pytouhou.game.sprite an extension type.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 10 Aug 2013 20:48:17 +0200 |
parents | 690b5faaa0e6 |
children | b9d2db93972f |
line wrap: on
line diff
--- a/pytouhou/game/item.py +++ b/pytouhou/game/item.py @@ -14,7 +14,6 @@ from math import cos, sin, atan2, pi -from copy import copy from pytouhou.utils.interpolator import Interpolator @@ -23,7 +22,7 @@ class Indicator(object): def __init__(self, item): self._item = item - self.sprite = copy(item._item_type.indicator_sprite) + self.sprite = item._item_type.indicator_sprite.copy() self.removed = False self.frame = 0