Entity is now sent with the click events.

Fixed small things
This commit is contained in:
Tleety
2016-02-19 12:49:07 +01:00
parent a6c30100af
commit fc5d054cb2
6 changed files with 19 additions and 10 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ namespace Events
{
struct ButtonClicked : public Event {
std::string EntityName = "DEFAULT STRING USED";
std::string EntityName;
EntityWrapper Entity;
};
}
+2 -1
View File
@@ -7,7 +7,8 @@ namespace Events
{
struct ButtonPressed : public Event {
std::string EntityName = "DEFAULT STRING USED";
std::string EntityName;
EntityWrapper Entity;
};
}
+3 -1
View File
@@ -6,7 +6,9 @@
namespace Events
{
struct ButtonReleased : public Event { };
struct ButtonReleased : public Event {
EntityWrapper Entity;
};
}