{"id":39,"date":"2018-04-27T01:58:45","date_gmt":"2018-04-27T01:58:45","guid":{"rendered":""},"modified":"2023-11-27T07:12:38","modified_gmt":"2023-11-27T07:12:38","slug":"quick-update-event-manager","status":"publish","type":"post","link":"https:\/\/landbeyond.net\/wordpress\/2018\/04\/27\/quick-update-event-manager\/","title":{"rendered":"Quick Update &#8211; Event Manager"},"content":{"rendered":"<p>I&#8217;ve changed how the event Manager works.\u00a0 It now runs on its own Thread.\u00a0 So the game uses multiple threads now.\u00a0 Event Manager handles,\u00a0 all events like\u00a0 Spells, Potions, World Time and etc&#8230;.\u00a0<\/p>\n<p>It will start when the game starts and updates every Game Minute.\u00a0 It keeps a list of all events that is running and updates any of them if their time has experied.\u00a0 World Time, weather and such run independent of the game loop.\u00a0 It runs based on the general idea of every 4.8 seconds is a minute in the game.\u00a0 So unless the game is paused, the event manager will be updating all these events.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve changed how the event Manager works.\u00a0 It now runs on its own Thread.\u00a0 So the game uses multiple threads now.\u00a0 Event Manager handles,\u00a0 all events like\u00a0 Spells, Potions, World Time and etc&#8230;.\u00a0 It will start when the game starts and updates every&hellip;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/landbeyond.net\/wordpress\/wp-json\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/landbeyond.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/landbeyond.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/landbeyond.net\/wordpress\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/landbeyond.net\/wordpress\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":1,"href":"https:\/\/landbeyond.net\/wordpress\/wp-json\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":297,"href":"https:\/\/landbeyond.net\/wordpress\/wp-json\/wp\/v2\/posts\/39\/revisions\/297"}],"wp:attachment":[{"href":"https:\/\/landbeyond.net\/wordpress\/wp-json\/wp\/v2\/media?parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/landbeyond.net\/wordpress\/wp-json\/wp\/v2\/categories?post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/landbeyond.net\/wordpress\/wp-json\/wp\/v2\/tags?post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}