Entity is now sent with the click events.
Fixed small things
This commit is contained in:
@@ -7,7 +7,8 @@ namespace Events
|
||||
{
|
||||
|
||||
struct ButtonClicked : public Event {
|
||||
std::string EntityName = "DEFAULT STRING USED";
|
||||
std::string EntityName;
|
||||
EntityWrapper Entity;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -7,7 +7,8 @@ namespace Events
|
||||
{
|
||||
|
||||
struct ButtonPressed : public Event {
|
||||
std::string EntityName = "DEFAULT STRING USED";
|
||||
std::string EntityName;
|
||||
EntityWrapper Entity;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
namespace Events
|
||||
{
|
||||
|
||||
struct ButtonReleased : public Event { };
|
||||
struct ButtonReleased : public Event {
|
||||
EntityWrapper Entity;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user