mgerhold / silly-sprites

MIT License
4 stars 0 forks source link

Event #66

Closed PurpurTentakel97 closed 9 months ago

PurpurTentakel97 commented 10 months ago

this is a first idea of a event system. im not quit sure if i like the global state. if you have an other idea to call this, let me know.

also this is not thread safe. is this ok or should it be thread safe?

at some point we will run out of event ids. but i think this scenario is not realistic. also i dont like the way i generate the ids. its kinda smelly ya know. if you have an idea on that too. let me know