- Vector<int> offset(battle->CalculateScreenOffset(screen));
- battle->RenderBackground(screen, offset);
- battle->RenderMonsters(screen, offset);
- battle->RenderHeroTags(screen, offset);
- RenderMenu(screen, offset);
+ parent->RenderBackground(screen);
+ parent->RenderMonsters(screen);
+ parent->RenderHeroTags(screen);
+ RenderMenu(screen);
+}
+
+void SelectMoveAction::RenderMenu(SDL_Surface *screen) {
+ parent->GetMoveMenu().Render(screen, position);
+}
+
+
+const Resources &SelectMoveAction::Res() const {
+ return parent->Res();
+}
+
+const Vector<int> &SelectMoveAction::ScreenOffset() const {
+ return parent->ScreenOffset();
+}
+
+const HeroTag &SelectMoveAction::HeroTagAt(int index) const {
+ return parent->HeroTagAt(index);