#include "State.hpp"
#include "RWGame.hpp"
// This serves as the "initial" camera position.
const ViewCamera defaultView{{-250.f, -550.f, 75.f},
glm::angleAxis(glm::radians(5.f),
glm::vec3(0.f, 1.f, 0.f))};
State::State(RWGame *game) : game(game) {
}
void State::draw(GameRenderer& r) {
auto& menu = getCurrentMenu();
if (menu) {
menu->draw(r);
}
}
std::optional