void BattleState::HandleInput(const Input &input) {
-
+ attackTypeMenu.ReadInput(input);
}
void BattleState::UpdateWorld(float deltaT) {
RenderBackground(screen, offset);
RenderMonsters(screen, offset);
- RenderHeroes(screen, offset);
+// RenderHeroes(screen, offset);
+ attackTypeMenu.Render(screen, Point<int>(background->w / 2, background->h * 3 / 4));
}
void BattleState::RenderBackground(SDL_Surface *screen, const Vector<int> &offset) {