Refactor to allow for the new screen flow.

This commit is contained in:
Zed A. Shaw 2026-05-27 12:09:17 -04:00
parent e7b6b42698
commit 6f9e8a3ed4
10 changed files with 59 additions and 52 deletions

View file

@ -18,8 +18,8 @@ namespace gui {
using namespace components;
using game::Event;
FSM::FSM() :
$window(sf::VideoMode({SCREEN_WIDTH, SCREEN_HEIGHT}), "Zed's Raycaster Thing"),
FSM::FSM(sf::RenderWindow& window) :
$window(window),
$main_ui($window),
$combat_ui(false),
$dnd_loot($status_ui, $loot_ui, $window, $router)