SmallHeroTag(const BattleState *battle, int heroIndex)
: battle(battle), index(heroIndex) { }
- void Render(SDL_Surface *screen, int width, int height, geometry::Vector<int> position) const;
+ void Render(SDL_Surface *screen, int width, int height, const geometry::Vector<int> &position) const;
private:
const BattleState *battle;