{"action":"created","comment":{"url":"https://api.github.com/repos/wulind/GroupSeven/pulls/comments/238940103","pull_request_review_id":181601975,"id":238940103,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODk0MDEwMw==","diff_hunk":"@@ -152,6 +152,26 @@ void GameView::update(Level &level, bool play){\n \t\tlevel.stolenObject.playSound = false;\n \t}\n \n+\t//Display healthbar\n+\t//2 rectangles, top one is White, bottom is red. Make top one shorter on each hit\n+\tsf::RectangleShape top(sf::Vector2f(200 - (200 - level.stolenObject.health * 20), 10));","path":"src/GameView.cpp","position":6,"original_position":6,"commit_id":"5a082f8a59cd55637a7ca2abc1a588331fd62e60","original_commit_id":"5a082f8a59cd55637a7ca2abc1a588331fd62e60","user":{"login":"wulind","id":31117435,"node_id":"MDQ6VXNlcjMxMTE3NDM1","avatar_url":"https://avatars1.githubusercontent.com/u/31117435?v=4","gravatar_id":"","url":"https://api.github.com/users/wulind","html_url":"https://github.com/wulind","followers_url":"https://api.github.com/users/wulind/followers","following_url":"https://api.github.com/users/wulind/following{/other_user}","gists_url":"https://api.github.com/users/wulind/gists{/gist_id}","starred_url":"https://api.github.com/users/wulind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wulind/subscriptions","organizations_url":"https://api.github.com/users/wulind/orgs","repos_url":"https://api.github.com/users/wulind/repos","events_url":"https://api.github.com/users/wulind/events{/privacy}","received_events_url":"https://api.github.com/users/wulind/received_events","type":"User","site_admin":false},"body":"please use this -> makeRectangle()","created_at":"2018-12-05T06:05:20Z","updated_at":"2018-12-05T06:06:09Z","html_url":"https://github.com/wulind/GroupSeven/pull/37#discussion_r238940103","pull_request_url":"https://api.github.com/repos/wulind/GroupSeven/pulls/37","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/comments/238940103"},"html":{"href":"https://github.com/wulind/GroupSeven/pull/37#discussion_r238940103"},"pull_request":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/wulind/GroupSeven/pulls/37","id":236037675,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MDM3Njc1","html_url":"https://github.com/wulind/GroupSeven/pull/37","diff_url":"https://github.com/wulind/GroupSeven/pull/37.diff","patch_url":"https://github.com/wulind/GroupSeven/pull/37.patch","issue_url":"https://api.github.com/repos/wulind/GroupSeven/issues/37","number":37,"state":"open","locked":false,"title":"Merge Health Functionality into Master","user":{"login":"fztgreen","id":43101988,"node_id":"MDQ6VXNlcjQzMTAxOTg4","avatar_url":"https://avatars1.githubusercontent.com/u/43101988?v=4","gravatar_id":"","url":"https://api.github.com/users/fztgreen","html_url":"https://github.com/fztgreen","followers_url":"https://api.github.com/users/fztgreen/followers","following_url":"https://api.github.com/users/fztgreen/following{/other_user}","gists_url":"https://api.github.com/users/fztgreen/gists{/gist_id}","starred_url":"https://api.github.com/users/fztgreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fztgreen/subscriptions","organizations_url":"https://api.github.com/users/fztgreen/orgs","repos_url":"https://api.github.com/users/fztgreen/repos","events_url":"https://api.github.com/users/fztgreen/events{/privacy}","received_events_url":"https://api.github.com/users/fztgreen/received_events","type":"User","site_admin":false},"body":"Adds a health bar to gameview\nAdds health knowledge to a stolenObject\nMakes the game turn to failure mode if object breaks.\n\nCurrent logic is that (Y-velocity / 4) is the damage dealt when hitting an object with a .5s delay on more damage being caused\nFix bug where platform wouldn't be detected properly\n\nBUG: Sometimes the game hangs up for a bit when trying to do an operation and doesn't queue inputs for next cycle","created_at":"2018-12-05T03:48:40Z","updated_at":"2018-12-05T06:06:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff20ed589fb9c4a153b45622092e9a07e40ab7ae","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wulind/GroupSeven/pulls/37/commits","review_comments_url":"https://api.github.com/repos/wulind/GroupSeven/pulls/37/comments","review_comment_url":"https://api.github.com/repos/wulind/GroupSeven/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wulind/GroupSeven/issues/37/comments","statuses_url":"https://api.github.com/repos/wulind/GroupSeven/statuses/5a082f8a59cd55637a7ca2abc1a588331fd62e60","head":{"label":"wulind:ZacharyGreenfield/Health","ref":"ZacharyGreenfield/Health","sha":"5a082f8a59cd55637a7ca2abc1a588331fd62e60","user":{"login":"wulind","id":31117435,"node_id":"MDQ6VXNlcjMxMTE3NDM1","avatar_url":"https://avatars1.githubusercontent.com/u/31117435?v=4","gravatar_id":"","url":"https://api.github.com/users/wulind","html_url":"https://github.com/wulind","followers_url":"https://api.github.com/users/wulind/followers","following_url":"https://api.github.com/users/wulind/following{/other_user}","gists_url":"https://api.github.com/users/wulind/gists{/gist_id}","starred_url":"https://api.github.com/users/wulind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wulind/subscriptions","organizations_url":"https://api.github.com/users/wulind/orgs","repos_url":"https://api.github.com/users/wulind/repos","events_url":"https://api.github.com/users/wulind/events{/privacy}","received_events_url":"https://api.github.com/users/wulind/received_events","type":"User","site_admin":false},"repo":{"id":150989577,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA5ODk1Nzc=","name":"GroupSeven","full_name":"wulind/GroupSeven","private":false,"owner":{"login":"wulind","id":31117435,"node_id":"MDQ6VXNlcjMxMTE3NDM1","avatar_url":"https://avatars1.githubusercontent.com/u/31117435?v=4","gravatar_id":"","url":"https://api.github.com/users/wulind","html_url":"https://github.com/wulind","followers_url":"https://api.github.com/users/wulind/followers","following_url":"https://api.github.com/users/wulind/following{/other_user}","gists_url":"https://api.github.com/users/wulind/gists{/gist_id}","starred_url":"https://api.github.com/users/wulind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wulind/subscriptions","organizations_url":"https://api.github.com/users/wulind/orgs","repos_url":"https://api.github.com/users/wulind/repos","events_url":"https://api.github.com/users/wulind/events{/privacy}","received_events_url":"https://api.github.com/users/wulind/received_events","type":"User","site_admin":false},"html_url":"https://github.com/wulind/GroupSeven","description":null,"fork":false,"url":"https://api.github.com/repos/wulind/GroupSeven","forks_url":"https://api.github.com/repos/wulind/GroupSeven/forks","keys_url":"https://api.github.com/repos/wulind/GroupSeven/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wulind/GroupSeven/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wulind/GroupSeven/teams","hooks_url":"https://api.github.com/repos/wulind/GroupSeven/hooks","issue_events_url":"https://api.github.com/repos/wulind/GroupSeven/issues/events{/number}","events_url":"https://api.github.com/repos/wulind/GroupSeven/events","assignees_url":"https://api.github.com/repos/wulind/GroupSeven/assignees{/user}","branches_url":"https://api.github.com/repos/wulind/GroupSeven/branches{/branch}","tags_url":"https://api.github.com/repos/wulind/GroupSeven/tags","blobs_url":"https://api.github.com/repos/wulind/GroupSeven/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wulind/GroupSeven/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wulind/GroupSeven/git/refs{/sha}","trees_url":"https://api.github.com/repos/wulind/GroupSeven/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wulind/GroupSeven/statuses/{sha}","languages_url":"https://api.github.com/repos/wulind/GroupSeven/languages","stargazers_url":"https://api.github.com/repos/wulind/GroupSeven/stargazers","contributors_url":"https://api.github.com/repos/wulind/GroupSeven/contributors","subscribers_url":"https://api.github.com/repos/wulind/GroupSeven/subscribers","subscription_url":"https://api.github.com/repos/wulind/GroupSeven/subscription","commits_url":"https://api.github.com/repos/wulind/GroupSeven/commits{/sha}","git_commits_url":"https://api.github.com/repos/wulind/GroupSeven/git/commits{/sha}","comments_url":"https://api.github.com/repos/wulind/GroupSeven/comments{/number}","issue_comment_url":"https://api.github.com/repos/wulind/GroupSeven/issues/comments{/number}","contents_url":"https://api.github.com/repos/wulind/GroupSeven/contents/{+path}","compare_url":"https://api.github.com/repos/wulind/GroupSeven/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wulind/GroupSeven/merges","archive_url":"https://api.github.com/repos/wulind/GroupSeven/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wulind/GroupSeven/downloads","issues_url":"https://api.github.com/repos/wulind/GroupSeven/issues{/number}","pulls_url":"https://api.github.com/repos/wulind/GroupSeven/pulls{/number}","milestones_url":"https://api.github.com/repos/wulind/GroupSeven/milestones{/number}","notifications_url":"https://api.github.com/repos/wulind/GroupSeven/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wulind/GroupSeven/labels{/name}","releases_url":"https://api.github.com/repos/wulind/GroupSeven/releases{/id}","deployments_url":"https://api.github.com/repos/wulind/GroupSeven/deployments","created_at":"2018-09-30T17:31:42Z","updated_at":"2018-12-04T23:56:56Z","pushed_at":"2018-12-05T06:03:13Z","git_url":"git://github.com/wulind/GroupSeven.git","ssh_url":"git@github.com:wulind/GroupSeven.git","clone_url":"https://github.com/wulind/GroupSeven.git","svn_url":"https://github.com/wulind/GroupSeven","homepage":null,"size":95024,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":4,"default_branch":"master"}},"base":{"label":"wulind:master","ref":"master","sha":"2c7636feb272fd16d57d3678f9ac1523f8922442","user":{"login":"wulind","id":31117435,"node_id":"MDQ6VXNlcjMxMTE3NDM1","avatar_url":"https://avatars1.githubusercontent.com/u/31117435?v=4","gravatar_id":"","url":"https://api.github.com/users/wulind","html_url":"https://github.com/wulind","followers_url":"https://api.github.com/users/wulind/followers","following_url":"https://api.github.com/users/wulind/following{/other_user}","gists_url":"https://api.github.com/users/wulind/gists{/gist_id}","starred_url":"https://api.github.com/users/wulind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wulind/subscriptions","organizations_url":"https://api.github.com/users/wulind/orgs","repos_url":"https://api.github.com/users/wulind/repos","events_url":"https://api.github.com/users/wulind/events{/privacy}","received_events_url":"https://api.github.com/users/wulind/received_events","type":"User","site_admin":false},"repo":{"id":150989577,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA5ODk1Nzc=","name":"GroupSeven","full_name":"wulind/GroupSeven","private":false,"owner":{"login":"wulind","id":31117435,"node_id":"MDQ6VXNlcjMxMTE3NDM1","avatar_url":"https://avatars1.githubusercontent.com/u/31117435?v=4","gravatar_id":"","url":"https://api.github.com/users/wulind","html_url":"https://github.com/wulind","followers_url":"https://api.github.com/users/wulind/followers","following_url":"https://api.github.com/users/wulind/following{/other_user}","gists_url":"https://api.github.com/users/wulind/gists{/gist_id}","starred_url":"https://api.github.com/users/wulind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wulind/subscriptions","organizations_url":"https://api.github.com/users/wulind/orgs","repos_url":"https://api.github.com/users/wulind/repos","events_url":"https://api.github.com/users/wulind/events{/privacy}","received_events_url":"https://api.github.com/users/wulind/received_events","type":"User","site_admin":false},"html_url":"https://github.com/wulind/GroupSeven","description":null,"fork":false,"url":"https://api.github.com/repos/wulind/GroupSeven","forks_url":"https://api.github.com/repos/wulind/GroupSeven/forks","keys_url":"https://api.github.com/repos/wulind/GroupSeven/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wulind/GroupSeven/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wulind/GroupSeven/teams","hooks_url":"https://api.github.com/repos/wulind/GroupSeven/hooks","issue_events_url":"https://api.github.com/repos/wulind/GroupSeven/issues/events{/number}","events_url":"https://api.github.com/repos/wulind/GroupSeven/events","assignees_url":"https://api.github.com/repos/wulind/GroupSeven/assignees{/user}","branches_url":"https://api.github.com/repos/wulind/GroupSeven/branches{/branch}","tags_url":"https://api.github.com/repos/wulind/GroupSeven/tags","blobs_url":"https://api.github.com/repos/wulind/GroupSeven/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wulind/GroupSeven/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wulind/GroupSeven/git/refs{/sha}","trees_url":"https://api.github.com/repos/wulind/GroupSeven/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wulind/GroupSeven/statuses/{sha}","languages_url":"https://api.github.com/repos/wulind/GroupSeven/languages","stargazers_url":"https://api.github.com/repos/wulind/GroupSeven/stargazers","contributors_url":"https://api.github.com/repos/wulind/GroupSeven/contributors","subscribers_url":"https://api.github.com/repos/wulind/GroupSeven/subscribers","subscription_url":"https://api.github.com/repos/wulind/GroupSeven/subscription","commits_url":"https://api.github.com/repos/wulind/GroupSeven/commits{/sha}","git_commits_url":"https://api.github.com/repos/wulind/GroupSeven/git/commits{/sha}","comments_url":"https://api.github.com/repos/wulind/GroupSeven/comments{/number}","issue_comment_url":"https://api.github.com/repos/wulind/GroupSeven/issues/comments{/number}","contents_url":"https://api.github.com/repos/wulind/GroupSeven/contents/{+path}","compare_url":"https://api.github.com/repos/wulind/GroupSeven/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wulind/GroupSeven/merges","archive_url":"https://api.github.com/repos/wulind/GroupSeven/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wulind/GroupSeven/downloads","issues_url":"https://api.github.com/repos/wulind/GroupSeven/issues{/number}","pulls_url":"https://api.github.com/repos/wulind/GroupSeven/pulls{/number}","milestones_url":"https://api.github.com/repos/wulind/GroupSeven/milestones{/number}","notifications_url":"https://api.github.com/repos/wulind/GroupSeven/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wulind/GroupSeven/labels{/name}","releases_url":"https://api.github.com/repos/wulind/GroupSeven/releases{/id}","deployments_url":"https://api.github.com/repos/wulind/GroupSeven/deployments","created_at":"2018-09-30T17:31:42Z","updated_at":"2018-12-04T23:56:56Z","pushed_at":"2018-12-05T06:03:13Z","git_url":"git://github.com/wulind/GroupSeven.git","ssh_url":"git@github.com:wulind/GroupSeven.git","clone_url":"https://github.com/wulind/GroupSeven.git","svn_url":"https://github.com/wulind/GroupSeven","homepage":null,"size":95024,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/37"},"html":{"href":"https://github.com/wulind/GroupSeven/pull/37"},"issue":{"href":"https://api.github.com/repos/wulind/GroupSeven/issues/37"},"comments":{"href":"https://api.github.com/repos/wulind/GroupSeven/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/wulind/GroupSeven/statuses/5a082f8a59cd55637a7ca2abc1a588331fd62e60"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"wulind"}}