{"action":"created","comment":{"url":"https://api.github.com/repos/wulind/GroupSeven/pulls/comments/238885718","pull_request_review_id":181533708,"id":238885718,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODg4NTcxOA==","diff_hunk":"@@ -0,0 +1,72 @@\n+#include \"../include/Timer.h\"\n+\n+using namespace escape;\n+using namespace std;\n+\n+/*\n+* Constructor\n+*/\n+Timer::Timer() {\n+\n+\tthis->color\t\t= sf::Color::White;\n+\n+\tthis->minutes\t\t= 0;\n+\tthis->seconds\t\t= 0;\n+\tthis->milliseconds\t= 0;\n+}\n+\n+/*\n+ * Add 1 frame to the timer during \"play\" state\n+ */\n+void Timer::tickClock() {\n+\n+\tif (!this->isPlaying) {\n+\t\tthis->isPlaying = true;\n+\t\tclock.restart();\n+\t\treturn;\n+\t}\n+\n+\tsf::Time elapsedTime = clock.getElapsedTime();\n+\n+\t\n+\tthis->milliseconds += elapsedTime.asMilliseconds();\n+\n+\tif (this->milliseconds >= 1000) {\n+\t\tthis->milliseconds = this->milliseconds - 1000;\n+\t\tthis->seconds += 1;\n+\n+\t\tstring curTime = this->getFormattedTime();\n+\t}\n+\tif (this->seconds >= 60) {\n+\t\t","path":"src/Timer.cpp","position":41,"original_position":41,"commit_id":"59ae45a8ec1bf2b658f37d2ecc6fadcd58fed718","original_commit_id":"59ae45a8ec1bf2b658f37d2ecc6fadcd58fed718","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":"remove this extra space","created_at":"2018-12-04T23:54:47Z","updated_at":"2018-12-04T23:59:25Z","html_url":"https://github.com/wulind/GroupSeven/pull/36#discussion_r238885718","pull_request_url":"https://api.github.com/repos/wulind/GroupSeven/pulls/36","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/comments/238885718"},"html":{"href":"https://github.com/wulind/GroupSeven/pull/36#discussion_r238885718"},"pull_request":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/wulind/GroupSeven/pulls/36","id":235890724,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1ODkwNzI0","html_url":"https://github.com/wulind/GroupSeven/pull/36","diff_url":"https://github.com/wulind/GroupSeven/pull/36.diff","patch_url":"https://github.com/wulind/GroupSeven/pull/36.patch","issue_url":"https://api.github.com/repos/wulind/GroupSeven/issues/36","number":36,"state":"open","locked":false,"title":"Timer","user":{"login":"MichaelDarr","id":3399889,"node_id":"MDQ6VXNlcjMzOTk4ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/3399889?v=4","gravatar_id":"","url":"https://api.github.com/users/MichaelDarr","html_url":"https://github.com/MichaelDarr","followers_url":"https://api.github.com/users/MichaelDarr/followers","following_url":"https://api.github.com/users/MichaelDarr/following{/other_user}","gists_url":"https://api.github.com/users/MichaelDarr/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelDarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelDarr/subscriptions","organizations_url":"https://api.github.com/users/MichaelDarr/orgs","repos_url":"https://api.github.com/users/MichaelDarr/repos","events_url":"https://api.github.com/users/MichaelDarr/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelDarr/received_events","type":"User","site_admin":false},"body":"Cumulative timer for all levels, works on own independent clock","created_at":"2018-12-04T17:13:30Z","updated_at":"2018-12-04T23:59:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wulind/GroupSeven/pulls/36/commits","review_comments_url":"https://api.github.com/repos/wulind/GroupSeven/pulls/36/comments","review_comment_url":"https://api.github.com/repos/wulind/GroupSeven/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wulind/GroupSeven/issues/36/comments","statuses_url":"https://api.github.com/repos/wulind/GroupSeven/statuses/59ae45a8ec1bf2b658f37d2ecc6fadcd58fed718","head":{"label":"wulind:Timer","ref":"Timer","sha":"59ae45a8ec1bf2b658f37d2ecc6fadcd58fed718","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-04T23:56:54Z","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":94976,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":4,"default_branch":"master"}},"base":{"label":"wulind:master","ref":"master","sha":"dc80aa32badd7fc9e5daa919022e8b69f49005bd","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-04T23:56:54Z","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":94976,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/36"},"html":{"href":"https://github.com/wulind/GroupSeven/pull/36"},"issue":{"href":"https://api.github.com/repos/wulind/GroupSeven/issues/36"},"comments":{"href":"https://api.github.com/repos/wulind/GroupSeven/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wulind/GroupSeven/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/wulind/GroupSeven/statuses/59ae45a8ec1bf2b658f37d2ecc6fadcd58fed718"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"wulind"}}