{"action":"created","comment":{"url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/comments/34293486","id":34293486,"diff_hunk":"@@ -0,0 +1,190 @@\n+#include <QtWidgets>\n+\n+#include \"creature.h\"\n+\n+Creature::Creature()\n+{\n+    active = false;\n+    delaying = false;\n+    statusEffects = new QList<StatusEffectBox *>();\n+\n+    setupBasicInfoLayout();\n+    setupExtraInfoLayout();\n+    setupSounds();\n+\n+    mainLayout = new QHBoxLayout;\n+    mainLayout->addLayout(basicInfoLayout);\n+    mainLayout->addLayout(extraInfoLayout);\n+\n+    setLayout(mainLayout);\n+    setObjectName(\"foe\");\n+    setStyleSheet(\"QGroupBox#foe\");\n+}\n+\n+Creature::~Creature()\n+{\n+}\n+\n+void Creature::startTurn(){\n+    active = true;\n+    delaying = false;\n+    configureStylesheet();\n+\n+    if(enemyCheckbox->isChecked()){\n+        foePlayer->play();\n+    }else{\n+        friendPlayer->play();\n+    }\n+\n+    for(int i = 0; i < statusEffects->size(); i++){","path":"creature.cpp","position":39,"original_position":39,"commit_id":"971544d14198d00a82870791b39727cff3a1c293","original_commit_id":"971544d14198d00a82870791b39727cff3a1c293","user":{"login":"rerelease","id":3533063,"avatar_url":"https://avatars.githubusercontent.com/u/3533063?v=3","gravatar_id":"","url":"https://api.github.com/users/rerelease","html_url":"https://github.com/rerelease","followers_url":"https://api.github.com/users/rerelease/followers","following_url":"https://api.github.com/users/rerelease/following{/other_user}","gists_url":"https://api.github.com/users/rerelease/gists{/gist_id}","starred_url":"https://api.github.com/users/rerelease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rerelease/subscriptions","organizations_url":"https://api.github.com/users/rerelease/orgs","repos_url":"https://api.github.com/users/rerelease/repos","events_url":"https://api.github.com/users/rerelease/events{/privacy}","received_events_url":"https://api.github.com/users/rerelease/received_events","type":"User","site_admin":false},"body":"This could be replaced with signals and slots.","created_at":"2015-07-09T19:28:31Z","updated_at":"2015-07-09T19:28:31Z","html_url":"https://github.com/stenver/dnd_initiative_order_comments/pull/1#discussion_r34293486","pull_request_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/comments/34293486"},"html":{"href":"https://github.com/stenver/dnd_initiative_order_comments/pull/1#discussion_r34293486"},"pull_request":{"href":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/1","id":39614266,"html_url":"https://github.com/stenver/dnd_initiative_order_comments/pull/1","diff_url":"https://github.com/stenver/dnd_initiative_order_comments/pull/1.diff","patch_url":"https://github.com/stenver/dnd_initiative_order_comments/pull/1.patch","issue_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/issues/1","number":1,"state":"open","locked":false,"title":"First version of the app","user":{"login":"stenver","id":4389843,"avatar_url":"https://avatars.githubusercontent.com/u/4389843?v=3","gravatar_id":"","url":"https://api.github.com/users/stenver","html_url":"https://github.com/stenver","followers_url":"https://api.github.com/users/stenver/followers","following_url":"https://api.github.com/users/stenver/following{/other_user}","gists_url":"https://api.github.com/users/stenver/gists{/gist_id}","starred_url":"https://api.github.com/users/stenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenver/subscriptions","organizations_url":"https://api.github.com/users/stenver/orgs","repos_url":"https://api.github.com/users/stenver/repos","events_url":"https://api.github.com/users/stenver/events{/privacy}","received_events_url":"https://api.github.com/users/stenver/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-09T18:37:43Z","updated_at":"2015-07-09T19:28:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9c92f7fcc35efebec9f3bed34d5f14ab73bb781","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/1/commits","review_comments_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/1/comments","review_comment_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/issues/1/comments","statuses_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/statuses/971544d14198d00a82870791b39727cff3a1c293","head":{"label":"stenver:implement_all","ref":"implement_all","sha":"971544d14198d00a82870791b39727cff3a1c293","user":{"login":"stenver","id":4389843,"avatar_url":"https://avatars.githubusercontent.com/u/4389843?v=3","gravatar_id":"","url":"https://api.github.com/users/stenver","html_url":"https://github.com/stenver","followers_url":"https://api.github.com/users/stenver/followers","following_url":"https://api.github.com/users/stenver/following{/other_user}","gists_url":"https://api.github.com/users/stenver/gists{/gist_id}","starred_url":"https://api.github.com/users/stenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenver/subscriptions","organizations_url":"https://api.github.com/users/stenver/orgs","repos_url":"https://api.github.com/users/stenver/repos","events_url":"https://api.github.com/users/stenver/events{/privacy}","received_events_url":"https://api.github.com/users/stenver/received_events","type":"User","site_admin":false},"repo":{"id":38838371,"name":"dnd_initiative_order_comments","full_name":"stenver/dnd_initiative_order_comments","owner":{"login":"stenver","id":4389843,"avatar_url":"https://avatars.githubusercontent.com/u/4389843?v=3","gravatar_id":"","url":"https://api.github.com/users/stenver","html_url":"https://github.com/stenver","followers_url":"https://api.github.com/users/stenver/followers","following_url":"https://api.github.com/users/stenver/following{/other_user}","gists_url":"https://api.github.com/users/stenver/gists{/gist_id}","starred_url":"https://api.github.com/users/stenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenver/subscriptions","organizations_url":"https://api.github.com/users/stenver/orgs","repos_url":"https://api.github.com/users/stenver/repos","events_url":"https://api.github.com/users/stenver/events{/privacy}","received_events_url":"https://api.github.com/users/stenver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stenver/dnd_initiative_order_comments","description":"","fork":false,"url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments","forks_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/forks","keys_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/teams","hooks_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/hooks","issue_events_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/issues/events{/number}","events_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/events","assignees_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/assignees{/user}","branches_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/branches{/branch}","tags_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/tags","blobs_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/git/refs{/sha}","trees_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/statuses/{sha}","languages_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/languages","stargazers_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/stargazers","contributors_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/contributors","subscribers_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/subscribers","subscription_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/subscription","commits_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/commits{/sha}","git_commits_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/git/commits{/sha}","comments_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/comments{/number}","issue_comment_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/issues/comments{/number}","contents_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/contents/{+path}","compare_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/merges","archive_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/downloads","issues_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/issues{/number}","pulls_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls{/number}","milestones_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/milestones{/number}","notifications_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/labels{/name}","releases_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/releases{/id}","created_at":"2015-07-09T18:35:34Z","updated_at":"2015-07-09T18:35:34Z","pushed_at":"2015-07-09T18:38:34Z","git_url":"git://github.com/stenver/dnd_initiative_order_comments.git","ssh_url":"git@github.com:stenver/dnd_initiative_order_comments.git","clone_url":"https://github.com/stenver/dnd_initiative_order_comments.git","svn_url":"https://github.com/stenver/dnd_initiative_order_comments","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"stenver:master","ref":"master","sha":"5cde2df73ae37c70513075d7529586b1a229d266","user":{"login":"stenver","id":4389843,"avatar_url":"https://avatars.githubusercontent.com/u/4389843?v=3","gravatar_id":"","url":"https://api.github.com/users/stenver","html_url":"https://github.com/stenver","followers_url":"https://api.github.com/users/stenver/followers","following_url":"https://api.github.com/users/stenver/following{/other_user}","gists_url":"https://api.github.com/users/stenver/gists{/gist_id}","starred_url":"https://api.github.com/users/stenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenver/subscriptions","organizations_url":"https://api.github.com/users/stenver/orgs","repos_url":"https://api.github.com/users/stenver/repos","events_url":"https://api.github.com/users/stenver/events{/privacy}","received_events_url":"https://api.github.com/users/stenver/received_events","type":"User","site_admin":false},"repo":{"id":38838371,"name":"dnd_initiative_order_comments","full_name":"stenver/dnd_initiative_order_comments","owner":{"login":"stenver","id":4389843,"avatar_url":"https://avatars.githubusercontent.com/u/4389843?v=3","gravatar_id":"","url":"https://api.github.com/users/stenver","html_url":"https://github.com/stenver","followers_url":"https://api.github.com/users/stenver/followers","following_url":"https://api.github.com/users/stenver/following{/other_user}","gists_url":"https://api.github.com/users/stenver/gists{/gist_id}","starred_url":"https://api.github.com/users/stenver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenver/subscriptions","organizations_url":"https://api.github.com/users/stenver/orgs","repos_url":"https://api.github.com/users/stenver/repos","events_url":"https://api.github.com/users/stenver/events{/privacy}","received_events_url":"https://api.github.com/users/stenver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stenver/dnd_initiative_order_comments","description":"","fork":false,"url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments","forks_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/forks","keys_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/teams","hooks_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/hooks","issue_events_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/issues/events{/number}","events_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/events","assignees_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/assignees{/user}","branches_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/branches{/branch}","tags_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/tags","blobs_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/git/refs{/sha}","trees_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/statuses/{sha}","languages_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/languages","stargazers_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/stargazers","contributors_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/contributors","subscribers_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/subscribers","subscription_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/subscription","commits_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/commits{/sha}","git_commits_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/git/commits{/sha}","comments_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/comments{/number}","issue_comment_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/issues/comments{/number}","contents_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/contents/{+path}","compare_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/merges","archive_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/downloads","issues_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/issues{/number}","pulls_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls{/number}","milestones_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/milestones{/number}","notifications_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/labels{/name}","releases_url":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/releases{/id}","created_at":"2015-07-09T18:35:34Z","updated_at":"2015-07-09T18:35:34Z","pushed_at":"2015-07-09T18:38:34Z","git_url":"git://github.com/stenver/dnd_initiative_order_comments.git","ssh_url":"git@github.com:stenver/dnd_initiative_order_comments.git","clone_url":"https://github.com/stenver/dnd_initiative_order_comments.git","svn_url":"https://github.com/stenver/dnd_initiative_order_comments","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/1"},"html":{"href":"https://github.com/stenver/dnd_initiative_order_comments/pull/1"},"issue":{"href":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/issues/1"},"comments":{"href":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/stenver/dnd_initiative_order_comments/statuses/971544d14198d00a82870791b39727cff3a1c293"}}}}