anticitizn / solnce

A (prospective) 2D space strategy game
2 stars 0 forks source link

Event Manager System #7

Open anticitizn opened 1 year ago

anticitizn commented 1 year ago

https://stackoverflow.com/questions/44636240/central-event-dispatcher-with-templated-event-types-in-c

anticitizn commented 1 year ago

https://stackoverflow.com/questions/569073/c-stdmap-of-template-class-values?noredirect=1&lq=1

anticitizn commented 1 year ago

maybe forget this RTTI event system idea, sounds useful right now but will probably lead to spaghetti later idea: https://developer-old.gnome.org/libsigc++/stable/

anticitizn commented 1 year ago

interesting discussion https://www.reddit.com/r/cpp/comments/4t7ai4/i_made_a_generic_event_handler_please_tear_it/