{"action":"created","comment":{"url":"https://api.github.com/repos/breznak/openDS/pulls/comments/59970025","id":59970025,"diff_hunk":"@@ -0,0 +1,169 @@\n+\n+package distraction;\n+\n+/**\n+ *\n+ * @author Johnny\n+ */\n+public class DistractionSettings {\n+    \n+    public static boolean Rain;\n+    public static boolean Snow;\n+    public static boolean Fog;\n+    public static boolean Sound;\n+    public static boolean Box;\n+    public static boolean Text;\n+    public static boolean Pedestrian;\n+    public static boolean Dark;\n+    public static float intensityRain;\n+    public static float intensitySnow;\n+    public static float intensityFog;\n+    public static float propabilitySound;\n+    public static float propabilityBox;\n+    public static float propabilityText;\n+    public static float propabilityPedestrian;\n+    public static float propabilityDark;\n+    public static boolean distRunning;","path":"src/distraction/DistractionSettings.java","position":26,"original_position":26,"commit_id":"55cfe3050ad34bc5a647f5b9d3d8c6a335e78c2b","original_commit_id":"55cfe3050ad34bc5a647f5b9d3d8c6a335e78c2b","user":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"body":"instead of all the settings for all subclasses of Distraction in one file, why not have the relevant settings in the (instance) of the specific class (e.g. DarkeningDistraction, etc...) ?","created_at":"2016-04-16T16:32:19Z","updated_at":"2016-04-16T16:32:19Z","html_url":"https://github.com/breznak/openDS/pull/15#discussion_r59970025","pull_request_url":"https://api.github.com/repos/breznak/openDS/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/breznak/openDS/pulls/comments/59970025"},"html":{"href":"https://github.com/breznak/openDS/pull/15#discussion_r59970025"},"pull_request":{"href":"https://api.github.com/repos/breznak/openDS/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/breznak/openDS/pulls/15","id":66742457,"html_url":"https://github.com/breznak/openDS/pull/15","diff_url":"https://github.com/breznak/openDS/pull/15.diff","patch_url":"https://github.com/breznak/openDS/pull/15.patch","issue_url":"https://api.github.com/repos/breznak/openDS/issues/15","number":15,"state":"open","locked":false,"title":"Distraction update","user":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"body":"TODO add summary of what this does @JohnnyMarek please","created_at":"2016-04-16T16:25:20Z","updated_at":"2016-04-16T16:32:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5388cbe2daab56160b51a598bf85d15d492257a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/breznak/openDS/pulls/15/commits","review_comments_url":"https://api.github.com/repos/breznak/openDS/pulls/15/comments","review_comment_url":"https://api.github.com/repos/breznak/openDS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/breznak/openDS/issues/15/comments","statuses_url":"https://api.github.com/repos/breznak/openDS/statuses/55cfe3050ad34bc5a647f5b9d3d8c6a335e78c2b","head":{"label":"breznak:Distraction_update","ref":"Distraction_update","sha":"55cfe3050ad34bc5a647f5b9d3d8c6a335e78c2b","user":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"repo":{"id":52889059,"name":"openDS","full_name":"breznak/openDS","owner":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/breznak/openDS","description":"Mirror of the OpenDS.de car driving simulator","fork":false,"url":"https://api.github.com/repos/breznak/openDS","forks_url":"https://api.github.com/repos/breznak/openDS/forks","keys_url":"https://api.github.com/repos/breznak/openDS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/breznak/openDS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/breznak/openDS/teams","hooks_url":"https://api.github.com/repos/breznak/openDS/hooks","issue_events_url":"https://api.github.com/repos/breznak/openDS/issues/events{/number}","events_url":"https://api.github.com/repos/breznak/openDS/events","assignees_url":"https://api.github.com/repos/breznak/openDS/assignees{/user}","branches_url":"https://api.github.com/repos/breznak/openDS/branches{/branch}","tags_url":"https://api.github.com/repos/breznak/openDS/tags","blobs_url":"https://api.github.com/repos/breznak/openDS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/breznak/openDS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/breznak/openDS/git/refs{/sha}","trees_url":"https://api.github.com/repos/breznak/openDS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/breznak/openDS/statuses/{sha}","languages_url":"https://api.github.com/repos/breznak/openDS/languages","stargazers_url":"https://api.github.com/repos/breznak/openDS/stargazers","contributors_url":"https://api.github.com/repos/breznak/openDS/contributors","subscribers_url":"https://api.github.com/repos/breznak/openDS/subscribers","subscription_url":"https://api.github.com/repos/breznak/openDS/subscription","commits_url":"https://api.github.com/repos/breznak/openDS/commits{/sha}","git_commits_url":"https://api.github.com/repos/breznak/openDS/git/commits{/sha}","comments_url":"https://api.github.com/repos/breznak/openDS/comments{/number}","issue_comment_url":"https://api.github.com/repos/breznak/openDS/issues/comments{/number}","contents_url":"https://api.github.com/repos/breznak/openDS/contents/{+path}","compare_url":"https://api.github.com/repos/breznak/openDS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/breznak/openDS/merges","archive_url":"https://api.github.com/repos/breznak/openDS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/breznak/openDS/downloads","issues_url":"https://api.github.com/repos/breznak/openDS/issues{/number}","pulls_url":"https://api.github.com/repos/breznak/openDS/pulls{/number}","milestones_url":"https://api.github.com/repos/breznak/openDS/milestones{/number}","notifications_url":"https://api.github.com/repos/breznak/openDS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/breznak/openDS/labels{/name}","releases_url":"https://api.github.com/repos/breznak/openDS/releases{/id}","deployments_url":"https://api.github.com/repos/breznak/openDS/deployments","created_at":"2016-03-01T15:48:48Z","updated_at":"2016-03-22T23:54:08Z","pushed_at":"2016-04-16T16:25:20Z","git_url":"git://github.com/breznak/openDS.git","ssh_url":"git@github.com:breznak/openDS.git","clone_url":"https://github.com/breznak/openDS.git","svn_url":"https://github.com/breznak/openDS","homepage":null,"size":302212,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":2,"default_branch":"master"}},"base":{"label":"breznak:master","ref":"master","sha":"99c09c91ba792ac85806c04379619652b8de424c","user":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"repo":{"id":52889059,"name":"openDS","full_name":"breznak/openDS","owner":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/breznak/openDS","description":"Mirror of the OpenDS.de car driving simulator","fork":false,"url":"https://api.github.com/repos/breznak/openDS","forks_url":"https://api.github.com/repos/breznak/openDS/forks","keys_url":"https://api.github.com/repos/breznak/openDS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/breznak/openDS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/breznak/openDS/teams","hooks_url":"https://api.github.com/repos/breznak/openDS/hooks","issue_events_url":"https://api.github.com/repos/breznak/openDS/issues/events{/number}","events_url":"https://api.github.com/repos/breznak/openDS/events","assignees_url":"https://api.github.com/repos/breznak/openDS/assignees{/user}","branches_url":"https://api.github.com/repos/breznak/openDS/branches{/branch}","tags_url":"https://api.github.com/repos/breznak/openDS/tags","blobs_url":"https://api.github.com/repos/breznak/openDS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/breznak/openDS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/breznak/openDS/git/refs{/sha}","trees_url":"https://api.github.com/repos/breznak/openDS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/breznak/openDS/statuses/{sha}","languages_url":"https://api.github.com/repos/breznak/openDS/languages","stargazers_url":"https://api.github.com/repos/breznak/openDS/stargazers","contributors_url":"https://api.github.com/repos/breznak/openDS/contributors","subscribers_url":"https://api.github.com/repos/breznak/openDS/subscribers","subscription_url":"https://api.github.com/repos/breznak/openDS/subscription","commits_url":"https://api.github.com/repos/breznak/openDS/commits{/sha}","git_commits_url":"https://api.github.com/repos/breznak/openDS/git/commits{/sha}","comments_url":"https://api.github.com/repos/breznak/openDS/comments{/number}","issue_comment_url":"https://api.github.com/repos/breznak/openDS/issues/comments{/number}","contents_url":"https://api.github.com/repos/breznak/openDS/contents/{+path}","compare_url":"https://api.github.com/repos/breznak/openDS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/breznak/openDS/merges","archive_url":"https://api.github.com/repos/breznak/openDS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/breznak/openDS/downloads","issues_url":"https://api.github.com/repos/breznak/openDS/issues{/number}","pulls_url":"https://api.github.com/repos/breznak/openDS/pulls{/number}","milestones_url":"https://api.github.com/repos/breznak/openDS/milestones{/number}","notifications_url":"https://api.github.com/repos/breznak/openDS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/breznak/openDS/labels{/name}","releases_url":"https://api.github.com/repos/breznak/openDS/releases{/id}","deployments_url":"https://api.github.com/repos/breznak/openDS/deployments","created_at":"2016-03-01T15:48:48Z","updated_at":"2016-03-22T23:54:08Z","pushed_at":"2016-04-16T16:25:20Z","git_url":"git://github.com/breznak/openDS.git","ssh_url":"git@github.com:breznak/openDS.git","clone_url":"https://github.com/breznak/openDS.git","svn_url":"https://github.com/breznak/openDS","homepage":null,"size":302212,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/breznak/openDS/pulls/15"},"html":{"href":"https://github.com/breznak/openDS/pull/15"},"issue":{"href":"https://api.github.com/repos/breznak/openDS/issues/15"},"comments":{"href":"https://api.github.com/repos/breznak/openDS/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/breznak/openDS/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/breznak/openDS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/breznak/openDS/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/breznak/openDS/statuses/55cfe3050ad34bc5a647f5b9d3d8c6a335e78c2b"}}}}