Finally unified all of my events into one place.
This commit is contained in:
parent
6c34fea64a
commit
c618a4828f
30 changed files with 215 additions and 216 deletions
|
|
@ -6,7 +6,7 @@
|
|||
#include <fmt/xchar.h>
|
||||
#include "game_level.hpp"
|
||||
#include "gui/guecstra.hpp"
|
||||
#include "gui/fsm_events.hpp"
|
||||
#include "events.hpp"
|
||||
|
||||
namespace boss {
|
||||
using namespace guecs;
|
||||
|
|
@ -44,7 +44,7 @@ namespace boss {
|
|||
$actions.set<Text>(commit, {L"COMMIT"});
|
||||
$actions.set<Effect>(commit, {});
|
||||
$actions.set<Clickable>(commit,
|
||||
guecs::make_action(commit, Events::GUI::COMBAT_START, {}));
|
||||
guecs::make_action(commit, game::Event::COMBAT_START, {}));
|
||||
|
||||
auto stats = $actions.entity("stats");
|
||||
$actions.set<Rectangle>(stats, {});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue