Sorry for not reading the whole thread so I am just going to say what I want.
I would think something like what the windows API does would work. Wait for a message and do something when you get one. You could put it as a proc insode the world object or any global object.
I would think something like what the windows API does would work. Wait for a message and do something when you get one. You could put it as a proc insode the world object or any global object.