{"action":"created","issue":{"url":"https://api.github.com/repos/Ben-Ryder/NEA/issues/6","repository_url":"https://api.github.com/repos/Ben-Ryder/NEA","labels_url":"https://api.github.com/repos/Ben-Ryder/NEA/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Ben-Ryder/NEA/issues/6/comments","events_url":"https://api.github.com/repos/Ben-Ryder/NEA/issues/6/events","html_url":"https://github.com/Ben-Ryder/NEA/issues/6","id":363328916,"node_id":"MDU6SXNzdWUzNjMzMjg5MTY=","number":6,"title":"refactor of control,model,GUI,physical layout","user":{"login":"Ben-Ryder","id":35773406,"node_id":"MDQ6VXNlcjM1NzczNDA2","avatar_url":"https://avatars2.githubusercontent.com/u/35773406?v=4","gravatar_id":"","url":"https://api.github.com/users/Ben-Ryder","html_url":"https://github.com/Ben-Ryder","followers_url":"https://api.github.com/users/Ben-Ryder/followers","following_url":"https://api.github.com/users/Ben-Ryder/following{/other_user}","gists_url":"https://api.github.com/users/Ben-Ryder/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben-Ryder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben-Ryder/subscriptions","organizations_url":"https://api.github.com/users/Ben-Ryder/orgs","repos_url":"https://api.github.com/users/Ben-Ryder/repos","events_url":"https://api.github.com/users/Ben-Ryder/events{/privacy}","received_events_url":"https://api.github.com/users/Ben-Ryder/received_events","type":"User","site_admin":false},"labels":[{"id":1013584321,"node_id":"MDU6TGFiZWwxMDEzNTg0MzIx","url":"https://api.github.com/repos/Ben-Ryder/NEA/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":1013584324,"node_id":"MDU6TGFiZWwxMDEzNTg0MzI0","url":"https://api.github.com/repos/Ben-Ryder/NEA/labels/invalid","name":"invalid","color":"e4e669","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-24T21:33:02Z","updated_at":"2018-09-26T11:58:20Z","closed_at":null,"author_association":"OWNER","body":"model, GUI, Physical Word is very messy, requires lots of confusing connections and hard to implement and keep track.\r\nMaybe refactor to:\r\n- dumb control as \"god\"\r\n- model (as is probably)\r\n- view (old GUI):\r\n+ view holds combined physical world and GUI, not separate as they were. Consider splitting sections into other sub-view objects (like camera, different menus) , but level them to be controlled more collectively , so the interfaces are less rabbit warren, and responsibilities less scattered."},"comment":{"url":"https://api.github.com/repos/Ben-Ryder/NEA/issues/comments/424688501","html_url":"https://github.com/Ben-Ryder/NEA/issues/6#issuecomment-424688501","issue_url":"https://api.github.com/repos/Ben-Ryder/NEA/issues/6","id":424688501,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDY4ODUwMQ==","user":{"login":"Ben-Ryder","id":35773406,"node_id":"MDQ6VXNlcjM1NzczNDA2","avatar_url":"https://avatars2.githubusercontent.com/u/35773406?v=4","gravatar_id":"","url":"https://api.github.com/users/Ben-Ryder","html_url":"https://github.com/Ben-Ryder","followers_url":"https://api.github.com/users/Ben-Ryder/followers","following_url":"https://api.github.com/users/Ben-Ryder/following{/other_user}","gists_url":"https://api.github.com/users/Ben-Ryder/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben-Ryder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben-Ryder/subscriptions","organizations_url":"https://api.github.com/users/Ben-Ryder/orgs","repos_url":"https://api.github.com/users/Ben-Ryder/repos","events_url":"https://api.github.com/users/Ben-Ryder/events{/privacy}","received_events_url":"https://api.github.com/users/Ben-Ryder/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T11:58:20Z","updated_at":"2018-09-26T11:58:20Z","author_association":"OWNER","body":"The view section (or GUI, a better name probably), should have more overarching control.\r\nInput needs to be processed at 1 level only, not scattered between objects.\r\nSo it becomes more like:\r\n`\r\n# Input Handling\r\ncamera.check_scroll() # regardless of actual event incoming`\r\nfor event:\r\n   if event.quit:\r\n      handle quit # save model, quit to menu (in some way, states?)\r\n  if event.click:\r\n      handle GUIS\r\n      hadle board_click"}}
{"actor":{"display_login":"Ben-Ryder"}}