selanAttackAnimation.AddFrame(2, 2);
selan.SetAttackAnimation(&selanAttackAnimation);
ComplexAnimation selanSpellAnimation(&selanSprite, 30);
- selanAttackAnimation.AddFrames(2, 0, Vector<int>(), 3);
- selanAttackAnimation.AddFrames(2, 1, Vector<int>(), 2);
- selanAttackAnimation.AddFrames(2, 2, Vector<int>(), 3);
- selanAttackAnimation.AddFrames(2, 3, Vector<int>(), 2);
+ selanSpellAnimation.AddFrames(2, 0, Vector<int>(), 3);
+ selanSpellAnimation.AddFrames(2, 1, Vector<int>(), 2);
+ selanSpellAnimation.AddFrames(2, 2, Vector<int>(), 3);
+ selanSpellAnimation.AddFrames(2, 3, Vector<int>(), 2);
selan.SetSpellAnimation(&selanSpellAnimation);
SDL_Surface *guyImg(IMG_Load("test-data/guy.png"));