Event system now accepts any data and the GUI receives simpler events with data for them.
This commit is contained in:
parent
0e79288afc
commit
ed9d0de8e0
7 changed files with 45 additions and 57 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
namespace Events {
|
||||
enum GUI {
|
||||
START, HIT, MISS, DEAD, LOOT
|
||||
START, COMBAT, LOOT
|
||||
};
|
||||
|
||||
struct Combat {
|
||||
int player_did;
|
||||
int enemy_did;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue