Event system now accepts any data and the GUI receives simpler events with data for them.

This commit is contained in:
Zed A. Shaw 2024-11-07 09:16:21 -05:00
parent 0e79288afc
commit ed9d0de8e0
7 changed files with 45 additions and 57 deletions

View file

@ -2,6 +2,11 @@
namespace Events {
enum GUI {
START, HIT, MISS, DEAD, LOOT
START, COMBAT, LOOT
};
struct Combat {
int player_did;
int enemy_did;
};
}