I’ve changed how the event Manager works. It now runs on its own Thread. So the game uses multiple threads now. Event Manager handles, all events like Spells, Potions, World Time and etc….
It will start when the game starts and updates every Game Minute. It keeps a list of all events that is running and updates any of them if their time has experied. World Time, weather and such run independent of the game loop. It runs based on the general idea of every 4.8 seconds is a minute in the game. So unless the game is paused, the event manager will be updating all these events.
Leave a Reply