namespace common {
class Item;
+ class LevelUp;
+ class Upgrade;
}
namespace graphics {
class Animation;
class Sprite;
}
-#include "../common/Stats.h"
+#include "Stats.h"
#include "../math/Vector.h"
+#include <vector>
#include <SDL.h>
namespace common {
int Experience() const { return experience; }
int NextLevel() const;
+ void AddExperience(int, std::vector<Upgrade> &);
+
graphics::Sprite *BattleSprite();
const graphics::Sprite *BattleSprite() const;
graphics::Animation *MeleeAnimation();
int level;
int experience;
- int *levelLadder;
+ LevelUp *levelLadder;
int numLevels;
Class *classes;