{"action":"created","comment":{"url":"https://api.github.com/repos/iiKoe/bustamove/pulls/comments/85307578","pull_request_review_id":6029742,"id":85307578,"diff_hunk":"@@ -23,25 +23,19 @@\n     private BallManager ballManager1;\n     private BallManager ballManager2;\n     private BallManager ballManager3;\n-    \n-    /** The dynamic settings instance. */\n-    private DynamicSettings dynamicSettings;\n-    \n+   \n     /**\n      * Instantiates the game screen.\n      *\n      * @param randomLevel\n      *            determines if a set level or a random level is used\n-     * @param dynamicSettings\n-     *            the dynamicSettings set for this game turn\n      */\n-    public ThreePlayerGameScreen(Boolean randomLevel, DynamicSettings dynamicSettings) {\n+    public ThreePlayerGameScreen(Boolean randomLevel) {\n         gameState = GameState.RUNNING;\n         inputHandler = new InputHandler();\n-        this.dynamicSettings = dynamicSettings;\n-        ballManager1 = new BallManager(0, dynamicSettings);\n-        ballManager2 = new BallManager(2, dynamicSettings);\n-        ballManager3 = new BallManager(1, dynamicSettings);\n+        ballManager1 = new BallManager(0, BustaMove.getGameInstance().getDynamicSettings());","path":"core/src/com/group66/game/screens/ThreePlayerGameScreen.java","position":25,"original_position":25,"commit_id":"800f1ad9bb4ffa0c6b6d3580dc65e81b431a6fae","original_commit_id":"800f1ad9bb4ffa0c6b6d3580dc65e81b431a6fae","user":{"login":"jeroenoverman","id":13645157,"avatar_url":"https://avatars.githubusercontent.com/u/13645157?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenoverman","html_url":"https://github.com/jeroenoverman","followers_url":"https://api.github.com/users/jeroenoverman/followers","following_url":"https://api.github.com/users/jeroenoverman/following{/other_user}","gists_url":"https://api.github.com/users/jeroenoverman/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenoverman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenoverman/subscriptions","organizations_url":"https://api.github.com/users/jeroenoverman/orgs","repos_url":"https://api.github.com/users/jeroenoverman/repos","events_url":"https://api.github.com/users/jeroenoverman/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenoverman/received_events","type":"User","site_admin":false},"body":"I left this, so we could make different dynamicSettings for each split player.","created_at":"2016-10-27T10:18:20Z","updated_at":"2016-10-27T10:18:20Z","html_url":"https://github.com/iiKoe/bustamove/pull/120#discussion_r85307578","pull_request_url":"https://api.github.com/repos/iiKoe/bustamove/pulls/120","_links":{"self":{"href":"https://api.github.com/repos/iiKoe/bustamove/pulls/comments/85307578"},"html":{"href":"https://github.com/iiKoe/bustamove/pull/120#discussion_r85307578"},"pull_request":{"href":"https://api.github.com/repos/iiKoe/bustamove/pulls/120"}}},"pull_request":{"url":"https://api.github.com/repos/iiKoe/bustamove/pulls/120","id":91107762,"html_url":"https://github.com/iiKoe/bustamove/pull/120","diff_url":"https://github.com/iiKoe/bustamove/pull/120.diff","patch_url":"https://github.com/iiKoe/bustamove/pull/120.patch","issue_url":"https://api.github.com/repos/iiKoe/bustamove/issues/120","number":120,"state":"open","locked":false,"title":"Bug/infinite loop when game ends","user":{"login":"jeroenoverman","id":13645157,"avatar_url":"https://avatars.githubusercontent.com/u/13645157?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenoverman","html_url":"https://github.com/jeroenoverman","followers_url":"https://api.github.com/users/jeroenoverman/followers","following_url":"https://api.github.com/users/jeroenoverman/following{/other_user}","gists_url":"https://api.github.com/users/jeroenoverman/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenoverman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenoverman/subscriptions","organizations_url":"https://api.github.com/users/jeroenoverman/orgs","repos_url":"https://api.github.com/users/jeroenoverman/repos","events_url":"https://api.github.com/users/jeroenoverman/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenoverman/received_events","type":"User","site_admin":false},"body":"- changed when the next ball of the canon is draw. Now after the grid is updated from last ball shot.\r\n- fixed the infinte loop when only bombballs were left in the grid.\r\n- fixed the mute button in the start screen.\r\n- fixed loading user profile.\r\n- DynamicSettings is now an object of the game instance. can be retrieved by a getter method\r\n- ProfileManager is now an object of the game instance. can be retrieved by a getter method.\r\n- fixed that the ball is shot automatically 10 seconds after the ball attached to the grid.\r\n\r\ncloses #113 #89 #116 ","created_at":"2016-10-26T23:24:52Z","updated_at":"2016-10-27T10:18:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65b52abf1955499b67925c5fa9488ce35d7502f1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/iiKoe/bustamove/pulls/120/commits","review_comments_url":"https://api.github.com/repos/iiKoe/bustamove/pulls/120/comments","review_comment_url":"https://api.github.com/repos/iiKoe/bustamove/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iiKoe/bustamove/issues/120/comments","statuses_url":"https://api.github.com/repos/iiKoe/bustamove/statuses/800f1ad9bb4ffa0c6b6d3580dc65e81b431a6fae","head":{"label":"iiKoe:bug/infiniteLoopWhenGameEnds","ref":"bug/infiniteLoopWhenGameEnds","sha":"800f1ad9bb4ffa0c6b6d3580dc65e81b431a6fae","user":{"login":"iiKoe","id":5255328,"avatar_url":"https://avatars.githubusercontent.com/u/5255328?v=3","gravatar_id":"","url":"https://api.github.com/users/iiKoe","html_url":"https://github.com/iiKoe","followers_url":"https://api.github.com/users/iiKoe/followers","following_url":"https://api.github.com/users/iiKoe/following{/other_user}","gists_url":"https://api.github.com/users/iiKoe/gists{/gist_id}","starred_url":"https://api.github.com/users/iiKoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiKoe/subscriptions","organizations_url":"https://api.github.com/users/iiKoe/orgs","repos_url":"https://api.github.com/users/iiKoe/repos","events_url":"https://api.github.com/users/iiKoe/events{/privacy}","received_events_url":"https://api.github.com/users/iiKoe/received_events","type":"User","site_admin":false},"repo":{"id":68130839,"name":"bustamove","full_name":"iiKoe/bustamove","owner":{"login":"iiKoe","id":5255328,"avatar_url":"https://avatars.githubusercontent.com/u/5255328?v=3","gravatar_id":"","url":"https://api.github.com/users/iiKoe","html_url":"https://github.com/iiKoe","followers_url":"https://api.github.com/users/iiKoe/followers","following_url":"https://api.github.com/users/iiKoe/following{/other_user}","gists_url":"https://api.github.com/users/iiKoe/gists{/gist_id}","starred_url":"https://api.github.com/users/iiKoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiKoe/subscriptions","organizations_url":"https://api.github.com/users/iiKoe/orgs","repos_url":"https://api.github.com/users/iiKoe/repos","events_url":"https://api.github.com/users/iiKoe/events{/privacy}","received_events_url":"https://api.github.com/users/iiKoe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iiKoe/bustamove","description":"Bust-A-Move clone for TI2206 | Group66","fork":false,"url":"https://api.github.com/repos/iiKoe/bustamove","forks_url":"https://api.github.com/repos/iiKoe/bustamove/forks","keys_url":"https://api.github.com/repos/iiKoe/bustamove/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iiKoe/bustamove/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iiKoe/bustamove/teams","hooks_url":"https://api.github.com/repos/iiKoe/bustamove/hooks","issue_events_url":"https://api.github.com/repos/iiKoe/bustamove/issues/events{/number}","events_url":"https://api.github.com/repos/iiKoe/bustamove/events","assignees_url":"https://api.github.com/repos/iiKoe/bustamove/assignees{/user}","branches_url":"https://api.github.com/repos/iiKoe/bustamove/branches{/branch}","tags_url":"https://api.github.com/repos/iiKoe/bustamove/tags","blobs_url":"https://api.github.com/repos/iiKoe/bustamove/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iiKoe/bustamove/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iiKoe/bustamove/git/refs{/sha}","trees_url":"https://api.github.com/repos/iiKoe/bustamove/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iiKoe/bustamove/statuses/{sha}","languages_url":"https://api.github.com/repos/iiKoe/bustamove/languages","stargazers_url":"https://api.github.com/repos/iiKoe/bustamove/stargazers","contributors_url":"https://api.github.com/repos/iiKoe/bustamove/contributors","subscribers_url":"https://api.github.com/repos/iiKoe/bustamove/subscribers","subscription_url":"https://api.github.com/repos/iiKoe/bustamove/subscription","commits_url":"https://api.github.com/repos/iiKoe/bustamove/commits{/sha}","git_commits_url":"https://api.github.com/repos/iiKoe/bustamove/git/commits{/sha}","comments_url":"https://api.github.com/repos/iiKoe/bustamove/comments{/number}","issue_comment_url":"https://api.github.com/repos/iiKoe/bustamove/issues/comments{/number}","contents_url":"https://api.github.com/repos/iiKoe/bustamove/contents/{+path}","compare_url":"https://api.github.com/repos/iiKoe/bustamove/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iiKoe/bustamove/merges","archive_url":"https://api.github.com/repos/iiKoe/bustamove/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iiKoe/bustamove/downloads","issues_url":"https://api.github.com/repos/iiKoe/bustamove/issues{/number}","pulls_url":"https://api.github.com/repos/iiKoe/bustamove/pulls{/number}","milestones_url":"https://api.github.com/repos/iiKoe/bustamove/milestones{/number}","notifications_url":"https://api.github.com/repos/iiKoe/bustamove/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iiKoe/bustamove/labels{/name}","releases_url":"https://api.github.com/repos/iiKoe/bustamove/releases{/id}","deployments_url":"https://api.github.com/repos/iiKoe/bustamove/deployments","created_at":"2016-09-13T17:23:58Z","updated_at":"2016-10-25T19:12:49Z","pushed_at":"2016-10-27T09:13:50Z","git_url":"git://github.com/iiKoe/bustamove.git","ssh_url":"git@github.com:iiKoe/bustamove.git","clone_url":"https://github.com/iiKoe/bustamove.git","svn_url":"https://github.com/iiKoe/bustamove","homepage":"","size":9060,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":1,"default_branch":"develop"}},"base":{"label":"iiKoe:develop","ref":"develop","sha":"e40cc234fa6a1d8aff95d0c777ce90f3599062db","user":{"login":"iiKoe","id":5255328,"avatar_url":"https://avatars.githubusercontent.com/u/5255328?v=3","gravatar_id":"","url":"https://api.github.com/users/iiKoe","html_url":"https://github.com/iiKoe","followers_url":"https://api.github.com/users/iiKoe/followers","following_url":"https://api.github.com/users/iiKoe/following{/other_user}","gists_url":"https://api.github.com/users/iiKoe/gists{/gist_id}","starred_url":"https://api.github.com/users/iiKoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiKoe/subscriptions","organizations_url":"https://api.github.com/users/iiKoe/orgs","repos_url":"https://api.github.com/users/iiKoe/repos","events_url":"https://api.github.com/users/iiKoe/events{/privacy}","received_events_url":"https://api.github.com/users/iiKoe/received_events","type":"User","site_admin":false},"repo":{"id":68130839,"name":"bustamove","full_name":"iiKoe/bustamove","owner":{"login":"iiKoe","id":5255328,"avatar_url":"https://avatars.githubusercontent.com/u/5255328?v=3","gravatar_id":"","url":"https://api.github.com/users/iiKoe","html_url":"https://github.com/iiKoe","followers_url":"https://api.github.com/users/iiKoe/followers","following_url":"https://api.github.com/users/iiKoe/following{/other_user}","gists_url":"https://api.github.com/users/iiKoe/gists{/gist_id}","starred_url":"https://api.github.com/users/iiKoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiKoe/subscriptions","organizations_url":"https://api.github.com/users/iiKoe/orgs","repos_url":"https://api.github.com/users/iiKoe/repos","events_url":"https://api.github.com/users/iiKoe/events{/privacy}","received_events_url":"https://api.github.com/users/iiKoe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iiKoe/bustamove","description":"Bust-A-Move clone for TI2206 | Group66","fork":false,"url":"https://api.github.com/repos/iiKoe/bustamove","forks_url":"https://api.github.com/repos/iiKoe/bustamove/forks","keys_url":"https://api.github.com/repos/iiKoe/bustamove/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iiKoe/bustamove/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iiKoe/bustamove/teams","hooks_url":"https://api.github.com/repos/iiKoe/bustamove/hooks","issue_events_url":"https://api.github.com/repos/iiKoe/bustamove/issues/events{/number}","events_url":"https://api.github.com/repos/iiKoe/bustamove/events","assignees_url":"https://api.github.com/repos/iiKoe/bustamove/assignees{/user}","branches_url":"https://api.github.com/repos/iiKoe/bustamove/branches{/branch}","tags_url":"https://api.github.com/repos/iiKoe/bustamove/tags","blobs_url":"https://api.github.com/repos/iiKoe/bustamove/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iiKoe/bustamove/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iiKoe/bustamove/git/refs{/sha}","trees_url":"https://api.github.com/repos/iiKoe/bustamove/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iiKoe/bustamove/statuses/{sha}","languages_url":"https://api.github.com/repos/iiKoe/bustamove/languages","stargazers_url":"https://api.github.com/repos/iiKoe/bustamove/stargazers","contributors_url":"https://api.github.com/repos/iiKoe/bustamove/contributors","subscribers_url":"https://api.github.com/repos/iiKoe/bustamove/subscribers","subscription_url":"https://api.github.com/repos/iiKoe/bustamove/subscription","commits_url":"https://api.github.com/repos/iiKoe/bustamove/commits{/sha}","git_commits_url":"https://api.github.com/repos/iiKoe/bustamove/git/commits{/sha}","comments_url":"https://api.github.com/repos/iiKoe/bustamove/comments{/number}","issue_comment_url":"https://api.github.com/repos/iiKoe/bustamove/issues/comments{/number}","contents_url":"https://api.github.com/repos/iiKoe/bustamove/contents/{+path}","compare_url":"https://api.github.com/repos/iiKoe/bustamove/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iiKoe/bustamove/merges","archive_url":"https://api.github.com/repos/iiKoe/bustamove/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iiKoe/bustamove/downloads","issues_url":"https://api.github.com/repos/iiKoe/bustamove/issues{/number}","pulls_url":"https://api.github.com/repos/iiKoe/bustamove/pulls{/number}","milestones_url":"https://api.github.com/repos/iiKoe/bustamove/milestones{/number}","notifications_url":"https://api.github.com/repos/iiKoe/bustamove/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iiKoe/bustamove/labels{/name}","releases_url":"https://api.github.com/repos/iiKoe/bustamove/releases{/id}","deployments_url":"https://api.github.com/repos/iiKoe/bustamove/deployments","created_at":"2016-09-13T17:23:58Z","updated_at":"2016-10-25T19:12:49Z","pushed_at":"2016-10-27T09:13:50Z","git_url":"git://github.com/iiKoe/bustamove.git","ssh_url":"git@github.com:iiKoe/bustamove.git","clone_url":"https://github.com/iiKoe/bustamove.git","svn_url":"https://github.com/iiKoe/bustamove","homepage":"","size":9060,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/iiKoe/bustamove/pulls/120"},"html":{"href":"https://github.com/iiKoe/bustamove/pull/120"},"issue":{"href":"https://api.github.com/repos/iiKoe/bustamove/issues/120"},"comments":{"href":"https://api.github.com/repos/iiKoe/bustamove/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/iiKoe/bustamove/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/iiKoe/bustamove/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iiKoe/bustamove/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/iiKoe/bustamove/statuses/800f1ad9bb4ffa0c6b6d3580dc65e81b431a6fae"}}}}
{"actor":{"display_login":"jeroenoverman"}}