add event target

This commit is contained in:
chatlanin
2025-01-30 23:10:34 +03:00
parent a998115414
commit 5155fdbd49
11 changed files with 31 additions and 22 deletions

View File

@@ -22,12 +22,21 @@ namespace VE
WINDOW_FOCUS,
};
enum class event_target
{
VE
};
struct event
{
event(std::any t, std::any d) : m_type{ t }, m_data{ d } {}
event(std::any target, std::any type, std::any data) : m_target { target }, m_type{ type }, m_data{ data } {}
~event() = default;
std::any m_target;
std::any m_type;
std::any m_data;
// HERE
// как-то не прикольно так !!!
bool is_parallele{ false };
};
}