{"action":"created","issue":{"url":"https://api.github.com/repos/Catrobat/Catroid/issues/2736","repository_url":"https://api.github.com/repos/Catrobat/Catroid","labels_url":"https://api.github.com/repos/Catrobat/Catroid/issues/2736/labels{/name}","comments_url":"https://api.github.com/repos/Catrobat/Catroid/issues/2736/comments","events_url":"https://api.github.com/repos/Catrobat/Catroid/issues/2736/events","html_url":"https://github.com/Catrobat/Catroid/pull/2736","id":299738334,"number":2736,"title":"Broadcast Refactoring","user":{"login":"rschluesselbauer","id":11644300,"avatar_url":"https://avatars3.githubusercontent.com/u/11644300?v=4","gravatar_id":"","url":"https://api.github.com/users/rschluesselbauer","html_url":"https://github.com/rschluesselbauer","followers_url":"https://api.github.com/users/rschluesselbauer/followers","following_url":"https://api.github.com/users/rschluesselbauer/following{/other_user}","gists_url":"https://api.github.com/users/rschluesselbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/rschluesselbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschluesselbauer/subscriptions","organizations_url":"https://api.github.com/users/rschluesselbauer/orgs","repos_url":"https://api.github.com/users/rschluesselbauer/repos","events_url":"https://api.github.com/users/rschluesselbauer/events{/privacy}","received_events_url":"https://api.github.com/users/rschluesselbauer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-23T14:57:40Z","updated_at":"2018-02-23T18:01:06Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Catrobat/Catroid/pulls/2736","html_url":"https://github.com/Catrobat/Catroid/pull/2736","diff_url":"https://github.com/Catrobat/Catroid/pull/2736.diff","patch_url":"https://github.com/Catrobat/Catroid/pull/2736.patch"},"body":"This PR replaces the old system that was in place for broadcasts, collisions and RaspberryPi interrupts. The reason is that the old system was very complicated and unpleasent to change.\r\n\r\n## New event system:\r\nA more generic approach that can easily be expanded to other events like screen touch or nfc tag, ...\r\nThere are EventId classes for all types of events (broadcasts, collisions, raspi interrupts) - they contain the vital information of an event (for example BroadcastEventId contains a broadcast message).\r\nEventSequenceActions are action sequences that should be executed when a specific event is received.\r\nA map called \"idToEventSequenceMap\" maps EventIds to their corresponding EventSequenceActions.\r\n\r\nWhenever an event is fired, we look it up in the map by its EventID and then (re)start the corresponding EventSequenceAction."},"comment":{"url":"https://api.github.com/repos/Catrobat/Catroid/issues/comments/368089474","html_url":"https://github.com/Catrobat/Catroid/pull/2736#issuecomment-368089474","issue_url":"https://api.github.com/repos/Catrobat/Catroid/issues/2736","id":368089474,"user":{"login":"robertpainsi","id":1794599,"avatar_url":"https://avatars1.githubusercontent.com/u/1794599?v=4","gravatar_id":"","url":"https://api.github.com/users/robertpainsi","html_url":"https://github.com/robertpainsi","followers_url":"https://api.github.com/users/robertpainsi/followers","following_url":"https://api.github.com/users/robertpainsi/following{/other_user}","gists_url":"https://api.github.com/users/robertpainsi/gists{/gist_id}","starred_url":"https://api.github.com/users/robertpainsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertpainsi/subscriptions","organizations_url":"https://api.github.com/users/robertpainsi/orgs","repos_url":"https://api.github.com/users/robertpainsi/repos","events_url":"https://api.github.com/users/robertpainsi/events{/privacy}","received_events_url":"https://api.github.com/users/robertpainsi/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T18:01:06Z","updated_at":"2018-02-23T18:01:06Z","author_association":"MEMBER","body":"test this please"}}
{"actor":{"display_login":"robertpainsi"}}