Re: [Tutor] Moveable and Animated Sprites

2011-08-15 Thread Peter Otten
Jordan wrote: > Is there a more Pythonic way to create the class > "MoveableAnimatedSheetSprite" I am using multiple inheritance but I see > that I am really loading the image twice when I call __init__ for > "AnimatedSheetSprite" and "MoveableSprite". Should I just make a > moveable class and hav

Re: [Tutor] Moveable and Animated Sprites

2011-08-15 Thread Alan Gauld
On 15/08/11 03:09, Jordan wrote: Is there a more Pythonic way to create the class "MoveableAnimatedSheetSprite" I am using multiple inheritance but I see that I am really loading the image twice when I call __init__ for "AnimatedSheetSprite" and "MoveableSprite". Should I just make a moveable cla

[Tutor] Moveable and Animated Sprites

2011-08-14 Thread Jordan
Is there a more Pythonic way to create the class "MoveableAnimatedSheetSprite" I am using multiple inheritance but I see that I am really loading the image twice when I call __init__ for "AnimatedSheetSprite" and "MoveableSprite". Should I just make a moveable class and have moveable items inherit