comparison pytouhou/game/itemtype.py @ 495:b32cef75df59

Drop an useless dependency on Player from Orb, on Game from Laser.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 14 Oct 2013 12:12:52 +0200
parents c9433188ffdb
children d1f0bb0b7a17
comparison
equal deleted inserted replaced
494:6be9c99a3a24 495:b32cef75df59
1 from pytouhou.game.sprite import Sprite
2
3 class ItemType(object): 1 class ItemType(object):
4 def __init__(self, anm, sprite_index, indicator_sprite_index): 2 def __init__(self, anm, sprite_index, indicator_sprite_index):
5 self.anm = anm 3 self.anm = anm
6 self.sprite = Sprite() 4 self.sprite = Sprite()
7 self.sprite.anm = anm 5 self.sprite.anm = anm