{"action":"created","comment":{"url":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/comments/40328983","id":40328983,"diff_hunk":"@@ -0,0 +1,56 @@\n+package com.sem46.render;\n+\n+import com.badlogic.gdx.graphics.Texture;\n+import com.badlogic.gdx.graphics.g2d.SpriteBatch;\n+import com.badlogic.gdx.math.Rectangle;\n+import com.badlogic.gdx.math.Vector2;\n+import com.sem46.core.Direction;\n+import com.sem46.core.Fish;\n+import com.sem46.core.GameObject;\n+\n+public class FishRenderer extends GameObjectRenderer {\n+\tprotected Fish fish;\n+\tprotected float travelled;\n+\t\n+\tpublic FishRenderer(GameObject go, Texture tex) {\n+\t\tsuper(go, tex);\n+\t\tthis.fish = (Fish)go;\n+\t\tthis.travelled = 0;\n+\t}\n+\t\n+\t@Override\n+\tpublic void Render(SpriteBatch batch) {\n+\t\tRectangle rect = go.getBounds();","path":"core/src/main/java/com/sem46/render/FishRenderer.java","position":23,"original_position":23,"commit_id":"24c685de04b4b8c46a96db93eea3ca8cbe257b7b","original_commit_id":"24c685de04b4b8c46a96db93eea3ca8cbe257b7b","user":{"login":"Tclv","id":5967501,"avatar_url":"https://avatars.githubusercontent.com/u/5967501?v=3","gravatar_id":"","url":"https://api.github.com/users/Tclv","html_url":"https://github.com/Tclv","followers_url":"https://api.github.com/users/Tclv/followers","following_url":"https://api.github.com/users/Tclv/following{/other_user}","gists_url":"https://api.github.com/users/Tclv/gists{/gist_id}","starred_url":"https://api.github.com/users/Tclv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tclv/subscriptions","organizations_url":"https://api.github.com/users/Tclv/orgs","repos_url":"https://api.github.com/users/Tclv/repos","events_url":"https://api.github.com/users/Tclv/events{/privacy}","received_events_url":"https://api.github.com/users/Tclv/received_events","type":"User","site_admin":false},"body":"Kan dit niet beter in een aparte functie worden gestopt?","created_at":"2015-09-24T15:01:04Z","updated_at":"2015-09-24T15:01:04Z","html_url":"https://github.com/jonascarpay/SEM_46/pull/36#discussion_r40328983","pull_request_url":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/comments/40328983"},"html":{"href":"https://github.com/jonascarpay/SEM_46/pull/36#discussion_r40328983"},"pull_request":{"href":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/36","id":45651481,"html_url":"https://github.com/jonascarpay/SEM_46/pull/36","diff_url":"https://github.com/jonascarpay/SEM_46/pull/36.diff","patch_url":"https://github.com/jonascarpay/SEM_46/pull/36.patch","issue_url":"https://api.github.com/repos/jonascarpay/SEM_46/issues/36","number":36,"state":"open","locked":false,"title":"Feature animation","user":{"login":"ymte","id":2787945,"avatar_url":"https://avatars.githubusercontent.com/u/2787945?v=3","gravatar_id":"","url":"https://api.github.com/users/ymte","html_url":"https://github.com/ymte","followers_url":"https://api.github.com/users/ymte/followers","following_url":"https://api.github.com/users/ymte/following{/other_user}","gists_url":"https://api.github.com/users/ymte/gists{/gist_id}","starred_url":"https://api.github.com/users/ymte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymte/subscriptions","organizations_url":"https://api.github.com/users/ymte/orgs","repos_url":"https://api.github.com/users/ymte/repos","events_url":"https://api.github.com/users/ymte/events{/privacy}","received_events_url":"https://api.github.com/users/ymte/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-22T11:19:04Z","updated_at":"2015-09-24T15:01:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/36/commits","review_comments_url":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/36/comments","review_comment_url":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jonascarpay/SEM_46/issues/36/comments","statuses_url":"https://api.github.com/repos/jonascarpay/SEM_46/statuses/24c685de04b4b8c46a96db93eea3ca8cbe257b7b","head":{"label":"jonascarpay:feature_animation","ref":"feature_animation","sha":"24c685de04b4b8c46a96db93eea3ca8cbe257b7b","user":{"login":"jonascarpay","id":3593851,"avatar_url":"https://avatars.githubusercontent.com/u/3593851?v=3","gravatar_id":"","url":"https://api.github.com/users/jonascarpay","html_url":"https://github.com/jonascarpay","followers_url":"https://api.github.com/users/jonascarpay/followers","following_url":"https://api.github.com/users/jonascarpay/following{/other_user}","gists_url":"https://api.github.com/users/jonascarpay/gists{/gist_id}","starred_url":"https://api.github.com/users/jonascarpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonascarpay/subscriptions","organizations_url":"https://api.github.com/users/jonascarpay/orgs","repos_url":"https://api.github.com/users/jonascarpay/repos","events_url":"https://api.github.com/users/jonascarpay/events{/privacy}","received_events_url":"https://api.github.com/users/jonascarpay/received_events","type":"User","site_admin":false},"repo":{"id":41736501,"name":"SEM_46","full_name":"jonascarpay/SEM_46","owner":{"login":"jonascarpay","id":3593851,"avatar_url":"https://avatars.githubusercontent.com/u/3593851?v=3","gravatar_id":"","url":"https://api.github.com/users/jonascarpay","html_url":"https://github.com/jonascarpay","followers_url":"https://api.github.com/users/jonascarpay/followers","following_url":"https://api.github.com/users/jonascarpay/following{/other_user}","gists_url":"https://api.github.com/users/jonascarpay/gists{/gist_id}","starred_url":"https://api.github.com/users/jonascarpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonascarpay/subscriptions","organizations_url":"https://api.github.com/users/jonascarpay/orgs","repos_url":"https://api.github.com/users/jonascarpay/repos","events_url":"https://api.github.com/users/jonascarpay/events{/privacy}","received_events_url":"https://api.github.com/users/jonascarpay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonascarpay/SEM_46","description":"Repo voor TI2206, groep 46, Fishy","fork":false,"url":"https://api.github.com/repos/jonascarpay/SEM_46","forks_url":"https://api.github.com/repos/jonascarpay/SEM_46/forks","keys_url":"https://api.github.com/repos/jonascarpay/SEM_46/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonascarpay/SEM_46/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonascarpay/SEM_46/teams","hooks_url":"https://api.github.com/repos/jonascarpay/SEM_46/hooks","issue_events_url":"https://api.github.com/repos/jonascarpay/SEM_46/issues/events{/number}","events_url":"https://api.github.com/repos/jonascarpay/SEM_46/events","assignees_url":"https://api.github.com/repos/jonascarpay/SEM_46/assignees{/user}","branches_url":"https://api.github.com/repos/jonascarpay/SEM_46/branches{/branch}","tags_url":"https://api.github.com/repos/jonascarpay/SEM_46/tags","blobs_url":"https://api.github.com/repos/jonascarpay/SEM_46/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonascarpay/SEM_46/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonascarpay/SEM_46/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonascarpay/SEM_46/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonascarpay/SEM_46/statuses/{sha}","languages_url":"https://api.github.com/repos/jonascarpay/SEM_46/languages","stargazers_url":"https://api.github.com/repos/jonascarpay/SEM_46/stargazers","contributors_url":"https://api.github.com/repos/jonascarpay/SEM_46/contributors","subscribers_url":"https://api.github.com/repos/jonascarpay/SEM_46/subscribers","subscription_url":"https://api.github.com/repos/jonascarpay/SEM_46/subscription","commits_url":"https://api.github.com/repos/jonascarpay/SEM_46/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonascarpay/SEM_46/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonascarpay/SEM_46/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonascarpay/SEM_46/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonascarpay/SEM_46/contents/{+path}","compare_url":"https://api.github.com/repos/jonascarpay/SEM_46/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonascarpay/SEM_46/merges","archive_url":"https://api.github.com/repos/jonascarpay/SEM_46/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonascarpay/SEM_46/downloads","issues_url":"https://api.github.com/repos/jonascarpay/SEM_46/issues{/number}","pulls_url":"https://api.github.com/repos/jonascarpay/SEM_46/pulls{/number}","milestones_url":"https://api.github.com/repos/jonascarpay/SEM_46/milestones{/number}","notifications_url":"https://api.github.com/repos/jonascarpay/SEM_46/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonascarpay/SEM_46/labels{/name}","releases_url":"https://api.github.com/repos/jonascarpay/SEM_46/releases{/id}","created_at":"2015-09-01T12:13:29Z","updated_at":"2015-09-22T09:35:14Z","pushed_at":"2015-09-24T14:20:22Z","git_url":"git://github.com/jonascarpay/SEM_46.git","ssh_url":"git@github.com:jonascarpay/SEM_46.git","clone_url":"https://github.com/jonascarpay/SEM_46.git","svn_url":"https://github.com/jonascarpay/SEM_46","homepage":"","size":13512,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"development"}},"base":{"label":"jonascarpay:development","ref":"development","sha":"804e5faa0a77062d3651de29d49a08b3d40f0850","user":{"login":"jonascarpay","id":3593851,"avatar_url":"https://avatars.githubusercontent.com/u/3593851?v=3","gravatar_id":"","url":"https://api.github.com/users/jonascarpay","html_url":"https://github.com/jonascarpay","followers_url":"https://api.github.com/users/jonascarpay/followers","following_url":"https://api.github.com/users/jonascarpay/following{/other_user}","gists_url":"https://api.github.com/users/jonascarpay/gists{/gist_id}","starred_url":"https://api.github.com/users/jonascarpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonascarpay/subscriptions","organizations_url":"https://api.github.com/users/jonascarpay/orgs","repos_url":"https://api.github.com/users/jonascarpay/repos","events_url":"https://api.github.com/users/jonascarpay/events{/privacy}","received_events_url":"https://api.github.com/users/jonascarpay/received_events","type":"User","site_admin":false},"repo":{"id":41736501,"name":"SEM_46","full_name":"jonascarpay/SEM_46","owner":{"login":"jonascarpay","id":3593851,"avatar_url":"https://avatars.githubusercontent.com/u/3593851?v=3","gravatar_id":"","url":"https://api.github.com/users/jonascarpay","html_url":"https://github.com/jonascarpay","followers_url":"https://api.github.com/users/jonascarpay/followers","following_url":"https://api.github.com/users/jonascarpay/following{/other_user}","gists_url":"https://api.github.com/users/jonascarpay/gists{/gist_id}","starred_url":"https://api.github.com/users/jonascarpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonascarpay/subscriptions","organizations_url":"https://api.github.com/users/jonascarpay/orgs","repos_url":"https://api.github.com/users/jonascarpay/repos","events_url":"https://api.github.com/users/jonascarpay/events{/privacy}","received_events_url":"https://api.github.com/users/jonascarpay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonascarpay/SEM_46","description":"Repo voor TI2206, groep 46, Fishy","fork":false,"url":"https://api.github.com/repos/jonascarpay/SEM_46","forks_url":"https://api.github.com/repos/jonascarpay/SEM_46/forks","keys_url":"https://api.github.com/repos/jonascarpay/SEM_46/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonascarpay/SEM_46/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonascarpay/SEM_46/teams","hooks_url":"https://api.github.com/repos/jonascarpay/SEM_46/hooks","issue_events_url":"https://api.github.com/repos/jonascarpay/SEM_46/issues/events{/number}","events_url":"https://api.github.com/repos/jonascarpay/SEM_46/events","assignees_url":"https://api.github.com/repos/jonascarpay/SEM_46/assignees{/user}","branches_url":"https://api.github.com/repos/jonascarpay/SEM_46/branches{/branch}","tags_url":"https://api.github.com/repos/jonascarpay/SEM_46/tags","blobs_url":"https://api.github.com/repos/jonascarpay/SEM_46/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonascarpay/SEM_46/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonascarpay/SEM_46/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonascarpay/SEM_46/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonascarpay/SEM_46/statuses/{sha}","languages_url":"https://api.github.com/repos/jonascarpay/SEM_46/languages","stargazers_url":"https://api.github.com/repos/jonascarpay/SEM_46/stargazers","contributors_url":"https://api.github.com/repos/jonascarpay/SEM_46/contributors","subscribers_url":"https://api.github.com/repos/jonascarpay/SEM_46/subscribers","subscription_url":"https://api.github.com/repos/jonascarpay/SEM_46/subscription","commits_url":"https://api.github.com/repos/jonascarpay/SEM_46/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonascarpay/SEM_46/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonascarpay/SEM_46/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonascarpay/SEM_46/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonascarpay/SEM_46/contents/{+path}","compare_url":"https://api.github.com/repos/jonascarpay/SEM_46/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonascarpay/SEM_46/merges","archive_url":"https://api.github.com/repos/jonascarpay/SEM_46/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonascarpay/SEM_46/downloads","issues_url":"https://api.github.com/repos/jonascarpay/SEM_46/issues{/number}","pulls_url":"https://api.github.com/repos/jonascarpay/SEM_46/pulls{/number}","milestones_url":"https://api.github.com/repos/jonascarpay/SEM_46/milestones{/number}","notifications_url":"https://api.github.com/repos/jonascarpay/SEM_46/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonascarpay/SEM_46/labels{/name}","releases_url":"https://api.github.com/repos/jonascarpay/SEM_46/releases{/id}","created_at":"2015-09-01T12:13:29Z","updated_at":"2015-09-22T09:35:14Z","pushed_at":"2015-09-24T14:20:22Z","git_url":"git://github.com/jonascarpay/SEM_46.git","ssh_url":"git@github.com:jonascarpay/SEM_46.git","clone_url":"https://github.com/jonascarpay/SEM_46.git","svn_url":"https://github.com/jonascarpay/SEM_46","homepage":"","size":13512,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/36"},"html":{"href":"https://github.com/jonascarpay/SEM_46/pull/36"},"issue":{"href":"https://api.github.com/repos/jonascarpay/SEM_46/issues/36"},"comments":{"href":"https://api.github.com/repos/jonascarpay/SEM_46/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jonascarpay/SEM_46/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/jonascarpay/SEM_46/statuses/24c685de04b4b8c46a96db93eea3ca8cbe257b7b"}}}}