Refactor to allow for the new screen flow.
This commit is contained in:
parent
e7b6b42698
commit
6f9e8a3ed4
10 changed files with 59 additions and 52 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue