{"action":"created","comment":{"url":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/comments/42461929","id":42461929,"diff_hunk":"@@ -61,7 +61,7 @@ public static void main(String[] args) throws SlickException {\n     public void initStatesList(GameContainer container) throws SlickException {\n         Resources.init();\n         Settings.init();\n-        addState(new StartScreenState());\n+        addState(new StartScreenState(new ResourcesWrapper()));","path":"src/main/java/nl/tudelft/semgroup4/MainApp.java","position":5,"original_position":5,"commit_id":"609a3b3d89a805f1691ad9e0d03127f6bb0b910a","original_commit_id":"609a3b3d89a805f1691ad9e0d03127f6bb0b910a","user":{"login":"BCrlrd","id":9715308,"avatar_url":"https://avatars.githubusercontent.com/u/9715308?v=3","gravatar_id":"","url":"https://api.github.com/users/BCrlrd","html_url":"https://github.com/BCrlrd","followers_url":"https://api.github.com/users/BCrlrd/followers","following_url":"https://api.github.com/users/BCrlrd/following{/other_user}","gists_url":"https://api.github.com/users/BCrlrd/gists{/gist_id}","starred_url":"https://api.github.com/users/BCrlrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BCrlrd/subscriptions","organizations_url":"https://api.github.com/users/BCrlrd/orgs","repos_url":"https://api.github.com/users/BCrlrd/repos","events_url":"https://api.github.com/users/BCrlrd/events{/privacy}","received_events_url":"https://api.github.com/users/BCrlrd/received_events","type":"User","site_admin":false},"body":"New recourses could just be set in the constructor and don't have te be given as a parameter.","created_at":"2015-10-20T07:05:14Z","updated_at":"2015-10-20T07:05:14Z","html_url":"https://github.com/Pathemeous/sem-group-4/pull/205#discussion_r42461929","pull_request_url":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/205","_links":{"self":{"href":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/comments/42461929"},"html":{"href":"https://github.com/Pathemeous/sem-group-4/pull/205#discussion_r42461929"},"pull_request":{"href":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/205"}}},"pull_request":{"url":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/205","id":48078225,"html_url":"https://github.com/Pathemeous/sem-group-4/pull/205","diff_url":"https://github.com/Pathemeous/sem-group-4/pull/205.diff","patch_url":"https://github.com/Pathemeous/sem-group-4/pull/205.patch","issue_url":"https://api.github.com/repos/Pathemeous/sem-group-4/issues/205","number":205,"state":"open","locked":false,"title":"refactor StartScreenState","user":{"login":"Pathemeous","id":9341897,"avatar_url":"https://avatars.githubusercontent.com/u/9341897?v=3","gravatar_id":"","url":"https://api.github.com/users/Pathemeous","html_url":"https://github.com/Pathemeous","followers_url":"https://api.github.com/users/Pathemeous/followers","following_url":"https://api.github.com/users/Pathemeous/following{/other_user}","gists_url":"https://api.github.com/users/Pathemeous/gists{/gist_id}","starred_url":"https://api.github.com/users/Pathemeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pathemeous/subscriptions","organizations_url":"https://api.github.com/users/Pathemeous/orgs","repos_url":"https://api.github.com/users/Pathemeous/repos","events_url":"https://api.github.com/users/Pathemeous/events{/privacy}","received_events_url":"https://api.github.com/users/Pathemeous/received_events","type":"User","site_admin":false},"body":"Adds a controller to handle the logic.\r\n\r\nThe controller is mocked during testing to remove the Slick2D dependencies that cause the state to crash.\r\nMost methods in the controller are therefore untestable.\r\n\r\nBefore the OptionsState is entered, some unmockable calls are made.\r\nThese are residue of the hacky input management in the Options Menu. If this can be resolved, the appropriate test can be uncommented.\r\n\r\n< organisation, interface, testing","created_at":"2015-10-19T14:24:49Z","updated_at":"2015-10-20T07:05:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fc16be298daa027db66d380d16b865af0064d46e","assignee":{"login":"Pathemeous","id":9341897,"avatar_url":"https://avatars.githubusercontent.com/u/9341897?v=3","gravatar_id":"","url":"https://api.github.com/users/Pathemeous","html_url":"https://github.com/Pathemeous","followers_url":"https://api.github.com/users/Pathemeous/followers","following_url":"https://api.github.com/users/Pathemeous/following{/other_user}","gists_url":"https://api.github.com/users/Pathemeous/gists{/gist_id}","starred_url":"https://api.github.com/users/Pathemeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pathemeous/subscriptions","organizations_url":"https://api.github.com/users/Pathemeous/orgs","repos_url":"https://api.github.com/users/Pathemeous/repos","events_url":"https://api.github.com/users/Pathemeous/events{/privacy}","received_events_url":"https://api.github.com/users/Pathemeous/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Pathemeous/sem-group-4/milestones/2","html_url":"https://github.com/Pathemeous/sem-group-4/milestones/1.5","labels_url":"https://api.github.com/repos/Pathemeous/sem-group-4/milestones/2/labels","id":1357161,"number":2,"title":"1.5","description":"The final release of the game.","creator":{"login":"Pathemeous","id":9341897,"avatar_url":"https://avatars.githubusercontent.com/u/9341897?v=3","gravatar_id":"","url":"https://api.github.com/users/Pathemeous","html_url":"https://github.com/Pathemeous","followers_url":"https://api.github.com/users/Pathemeous/followers","following_url":"https://api.github.com/users/Pathemeous/following{/other_user}","gists_url":"https://api.github.com/users/Pathemeous/gists{/gist_id}","starred_url":"https://api.github.com/users/Pathemeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pathemeous/subscriptions","organizations_url":"https://api.github.com/users/Pathemeous/orgs","repos_url":"https://api.github.com/users/Pathemeous/repos","events_url":"https://api.github.com/users/Pathemeous/events{/privacy}","received_events_url":"https://api.github.com/users/Pathemeous/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2015-10-15T12:22:45Z","updated_at":"2015-10-19T14:58:59Z","due_on":"2015-10-22T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/205/commits","review_comments_url":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/205/comments","review_comment_url":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Pathemeous/sem-group-4/issues/205/comments","statuses_url":"https://api.github.com/repos/Pathemeous/sem-group-4/statuses/609a3b3d89a805f1691ad9e0d03127f6bb0b910a","head":{"label":"Pathemeous:startScreenController","ref":"startScreenController","sha":"609a3b3d89a805f1691ad9e0d03127f6bb0b910a","user":{"login":"Pathemeous","id":9341897,"avatar_url":"https://avatars.githubusercontent.com/u/9341897?v=3","gravatar_id":"","url":"https://api.github.com/users/Pathemeous","html_url":"https://github.com/Pathemeous","followers_url":"https://api.github.com/users/Pathemeous/followers","following_url":"https://api.github.com/users/Pathemeous/following{/other_user}","gists_url":"https://api.github.com/users/Pathemeous/gists{/gist_id}","starred_url":"https://api.github.com/users/Pathemeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pathemeous/subscriptions","organizations_url":"https://api.github.com/users/Pathemeous/orgs","repos_url":"https://api.github.com/users/Pathemeous/repos","events_url":"https://api.github.com/users/Pathemeous/events{/privacy}","received_events_url":"https://api.github.com/users/Pathemeous/received_events","type":"User","site_admin":false},"repo":{"id":41729036,"name":"sem-group-4","full_name":"Pathemeous/sem-group-4","owner":{"login":"Pathemeous","id":9341897,"avatar_url":"https://avatars.githubusercontent.com/u/9341897?v=3","gravatar_id":"","url":"https://api.github.com/users/Pathemeous","html_url":"https://github.com/Pathemeous","followers_url":"https://api.github.com/users/Pathemeous/followers","following_url":"https://api.github.com/users/Pathemeous/following{/other_user}","gists_url":"https://api.github.com/users/Pathemeous/gists{/gist_id}","starred_url":"https://api.github.com/users/Pathemeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pathemeous/subscriptions","organizations_url":"https://api.github.com/users/Pathemeous/orgs","repos_url":"https://api.github.com/users/Pathemeous/repos","events_url":"https://api.github.com/users/Pathemeous/events{/privacy}","received_events_url":"https://api.github.com/users/Pathemeous/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Pathemeous/sem-group-4","description":"A Java clone of Bubble Trouble made by Group 4 for the course Software Engineering Methods 2015-2016, as part of the bachelor Computer Science at the Delft University of Technology","fork":false,"url":"https://api.github.com/repos/Pathemeous/sem-group-4","forks_url":"https://api.github.com/repos/Pathemeous/sem-group-4/forks","keys_url":"https://api.github.com/repos/Pathemeous/sem-group-4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pathemeous/sem-group-4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pathemeous/sem-group-4/teams","hooks_url":"https://api.github.com/repos/Pathemeous/sem-group-4/hooks","issue_events_url":"https://api.github.com/repos/Pathemeous/sem-group-4/issues/events{/number}","events_url":"https://api.github.com/repos/Pathemeous/sem-group-4/events","assignees_url":"https://api.github.com/repos/Pathemeous/sem-group-4/assignees{/user}","branches_url":"https://api.github.com/repos/Pathemeous/sem-group-4/branches{/branch}","tags_url":"https://api.github.com/repos/Pathemeous/sem-group-4/tags","blobs_url":"https://api.github.com/repos/Pathemeous/sem-group-4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pathemeous/sem-group-4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pathemeous/sem-group-4/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pathemeous/sem-group-4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pathemeous/sem-group-4/statuses/{sha}","languages_url":"https://api.github.com/repos/Pathemeous/sem-group-4/languages","stargazers_url":"https://api.github.com/repos/Pathemeous/sem-group-4/stargazers","contributors_url":"https://api.github.com/repos/Pathemeous/sem-group-4/contributors","subscribers_url":"https://api.github.com/repos/Pathemeous/sem-group-4/subscribers","subscription_url":"https://api.github.com/repos/Pathemeous/sem-group-4/subscription","commits_url":"https://api.github.com/repos/Pathemeous/sem-group-4/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pathemeous/sem-group-4/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pathemeous/sem-group-4/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pathemeous/sem-group-4/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pathemeous/sem-group-4/contents/{+path}","compare_url":"https://api.github.com/repos/Pathemeous/sem-group-4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pathemeous/sem-group-4/merges","archive_url":"https://api.github.com/repos/Pathemeous/sem-group-4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pathemeous/sem-group-4/downloads","issues_url":"https://api.github.com/repos/Pathemeous/sem-group-4/issues{/number}","pulls_url":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls{/number}","milestones_url":"https://api.github.com/repos/Pathemeous/sem-group-4/milestones{/number}","notifications_url":"https://api.github.com/repos/Pathemeous/sem-group-4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pathemeous/sem-group-4/labels{/name}","releases_url":"https://api.github.com/repos/Pathemeous/sem-group-4/releases{/id}","created_at":"2015-09-01T09:18:05Z","updated_at":"2015-09-11T13:33:41Z","pushed_at":"2015-10-19T14:59:04Z","git_url":"git://github.com/Pathemeous/sem-group-4.git","ssh_url":"git@github.com:Pathemeous/sem-group-4.git","clone_url":"https://github.com/Pathemeous/sem-group-4.git","svn_url":"https://github.com/Pathemeous/sem-group-4","homepage":"","size":11572,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"Pathemeous:development","ref":"development","sha":"8b5b8f38b363dea5c99e36fce7075a6583764920","user":{"login":"Pathemeous","id":9341897,"avatar_url":"https://avatars.githubusercontent.com/u/9341897?v=3","gravatar_id":"","url":"https://api.github.com/users/Pathemeous","html_url":"https://github.com/Pathemeous","followers_url":"https://api.github.com/users/Pathemeous/followers","following_url":"https://api.github.com/users/Pathemeous/following{/other_user}","gists_url":"https://api.github.com/users/Pathemeous/gists{/gist_id}","starred_url":"https://api.github.com/users/Pathemeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pathemeous/subscriptions","organizations_url":"https://api.github.com/users/Pathemeous/orgs","repos_url":"https://api.github.com/users/Pathemeous/repos","events_url":"https://api.github.com/users/Pathemeous/events{/privacy}","received_events_url":"https://api.github.com/users/Pathemeous/received_events","type":"User","site_admin":false},"repo":{"id":41729036,"name":"sem-group-4","full_name":"Pathemeous/sem-group-4","owner":{"login":"Pathemeous","id":9341897,"avatar_url":"https://avatars.githubusercontent.com/u/9341897?v=3","gravatar_id":"","url":"https://api.github.com/users/Pathemeous","html_url":"https://github.com/Pathemeous","followers_url":"https://api.github.com/users/Pathemeous/followers","following_url":"https://api.github.com/users/Pathemeous/following{/other_user}","gists_url":"https://api.github.com/users/Pathemeous/gists{/gist_id}","starred_url":"https://api.github.com/users/Pathemeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pathemeous/subscriptions","organizations_url":"https://api.github.com/users/Pathemeous/orgs","repos_url":"https://api.github.com/users/Pathemeous/repos","events_url":"https://api.github.com/users/Pathemeous/events{/privacy}","received_events_url":"https://api.github.com/users/Pathemeous/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Pathemeous/sem-group-4","description":"A Java clone of Bubble Trouble made by Group 4 for the course Software Engineering Methods 2015-2016, as part of the bachelor Computer Science at the Delft University of Technology","fork":false,"url":"https://api.github.com/repos/Pathemeous/sem-group-4","forks_url":"https://api.github.com/repos/Pathemeous/sem-group-4/forks","keys_url":"https://api.github.com/repos/Pathemeous/sem-group-4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pathemeous/sem-group-4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pathemeous/sem-group-4/teams","hooks_url":"https://api.github.com/repos/Pathemeous/sem-group-4/hooks","issue_events_url":"https://api.github.com/repos/Pathemeous/sem-group-4/issues/events{/number}","events_url":"https://api.github.com/repos/Pathemeous/sem-group-4/events","assignees_url":"https://api.github.com/repos/Pathemeous/sem-group-4/assignees{/user}","branches_url":"https://api.github.com/repos/Pathemeous/sem-group-4/branches{/branch}","tags_url":"https://api.github.com/repos/Pathemeous/sem-group-4/tags","blobs_url":"https://api.github.com/repos/Pathemeous/sem-group-4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pathemeous/sem-group-4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pathemeous/sem-group-4/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pathemeous/sem-group-4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pathemeous/sem-group-4/statuses/{sha}","languages_url":"https://api.github.com/repos/Pathemeous/sem-group-4/languages","stargazers_url":"https://api.github.com/repos/Pathemeous/sem-group-4/stargazers","contributors_url":"https://api.github.com/repos/Pathemeous/sem-group-4/contributors","subscribers_url":"https://api.github.com/repos/Pathemeous/sem-group-4/subscribers","subscription_url":"https://api.github.com/repos/Pathemeous/sem-group-4/subscription","commits_url":"https://api.github.com/repos/Pathemeous/sem-group-4/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pathemeous/sem-group-4/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pathemeous/sem-group-4/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pathemeous/sem-group-4/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pathemeous/sem-group-4/contents/{+path}","compare_url":"https://api.github.com/repos/Pathemeous/sem-group-4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pathemeous/sem-group-4/merges","archive_url":"https://api.github.com/repos/Pathemeous/sem-group-4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pathemeous/sem-group-4/downloads","issues_url":"https://api.github.com/repos/Pathemeous/sem-group-4/issues{/number}","pulls_url":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls{/number}","milestones_url":"https://api.github.com/repos/Pathemeous/sem-group-4/milestones{/number}","notifications_url":"https://api.github.com/repos/Pathemeous/sem-group-4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pathemeous/sem-group-4/labels{/name}","releases_url":"https://api.github.com/repos/Pathemeous/sem-group-4/releases{/id}","created_at":"2015-09-01T09:18:05Z","updated_at":"2015-09-11T13:33:41Z","pushed_at":"2015-10-19T14:59:04Z","git_url":"git://github.com/Pathemeous/sem-group-4.git","ssh_url":"git@github.com:Pathemeous/sem-group-4.git","clone_url":"https://github.com/Pathemeous/sem-group-4.git","svn_url":"https://github.com/Pathemeous/sem-group-4","homepage":"","size":11572,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/205"},"html":{"href":"https://github.com/Pathemeous/sem-group-4/pull/205"},"issue":{"href":"https://api.github.com/repos/Pathemeous/sem-group-4/issues/205"},"comments":{"href":"https://api.github.com/repos/Pathemeous/sem-group-4/issues/205/comments"},"review_comments":{"href":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/205/comments"},"review_comment":{"href":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Pathemeous/sem-group-4/pulls/205/commits"},"statuses":{"href":"https://api.github.com/repos/Pathemeous/sem-group-4/statuses/609a3b3d89a805f1691ad9e0d03127f6bb0b910a"}}}}