public:
void SetResources(const Resources *r) { res = r; }
- void SetHero(const common::Hero *h) { hero = h; }
- void SetPosition(const geometry::Vector<int> &p) { position = p; }
+ void SetHero(common::Hero **p, int h) { party = p; hero = h; }
int Width() const;
int Height() const;
geometry::Vector<int> Size() const { return geometry::Vector<int>(Width(), Height()); }
- const geometry::Vector<int> &Position() const { return position; }
void Render(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
private:
const Resources *res;
- const common::Hero *hero;
- geometry::Vector<int> position;
+ common::Hero **party;
+ int hero;
};