{"action":"created","comment":{"url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/comments/135375028","pull_request_review_id":58787730,"id":135375028,"diff_hunk":"@@ -0,0 +1,48 @@\n+//\n+// Created by Estevan Hernandez on 8/22/17.\n+//\n+\n+#include \"BunnyManager.hpp\"\n+\n+BunnyManager* BunnyManager::s_instance = nullptr;\n+\n+void BunnyManager::addBunny(Bunny *bunny) {\n+    static bool debug;\n+    bool shouldAdd = true;\n+    for (Bunny *aBunny: bunnies_) {\n+        if (aBunny == bunny) {\n+            shouldAdd = false;\n+            break;\n+        }\n+    }\n+    if (shouldAdd == true) {\n+        this->bunnies_.push_back(bunny);\n+    } else {\n+        if (debug) std::cout << \"That Bunny is already in the Bunny Manager.\" << std::endl;\n+    }\n+\n+}\n+\n+void BunnyManager::removeBunny(Bunny *bunny) {\n+    bunnies_.erase(std::remove(bunnies_.begin(), bunnies_.end(), bunny), bunnies_.end());\n+}\n+\n+bool BunnyManager::isABunnyTeleporting() {\n+    for (Bunny *bun: bunnies_) {","path":"BunnyManager.cpp","position":31,"original_position":31,"commit_id":"425b5a38d2d06ff37155a022f6d971bfac96c60d","original_commit_id":"425b5a38d2d06ff37155a022f6d971bfac96c60d","user":{"login":"EstevanBR","id":5488655,"avatar_url":"https://avatars3.githubusercontent.com/u/5488655?v=4","gravatar_id":"","url":"https://api.github.com/users/EstevanBR","html_url":"https://github.com/EstevanBR","followers_url":"https://api.github.com/users/EstevanBR/followers","following_url":"https://api.github.com/users/EstevanBR/following{/other_user}","gists_url":"https://api.github.com/users/EstevanBR/gists{/gist_id}","starred_url":"https://api.github.com/users/EstevanBR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EstevanBR/subscriptions","organizations_url":"https://api.github.com/users/EstevanBR/orgs","repos_url":"https://api.github.com/users/EstevanBR/repos","events_url":"https://api.github.com/users/EstevanBR/events{/privacy}","received_events_url":"https://api.github.com/users/EstevanBR/received_events","type":"User","site_admin":false},"body":"Oh I like that!","created_at":"2017-08-26T00:24:43Z","updated_at":"2017-08-26T00:24:43Z","html_url":"https://github.com/infinityshelf/OrigamiSpaceTime/pull/1#discussion_r135375028","pull_request_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/comments/135375028"},"html":{"href":"https://github.com/infinityshelf/OrigamiSpaceTime/pull/1#discussion_r135375028"},"pull_request":{"href":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/1"}},"in_reply_to_id":135352472},"pull_request":{"url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/1","id":137617912,"html_url":"https://github.com/infinityshelf/OrigamiSpaceTime/pull/1","diff_url":"https://github.com/infinityshelf/OrigamiSpaceTime/pull/1.diff","patch_url":"https://github.com/infinityshelf/OrigamiSpaceTime/pull/1.patch","issue_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/issues/1","number":1,"state":"open","locked":false,"title":"Time travel refactor","user":{"login":"EstevanBR","id":5488655,"avatar_url":"https://avatars3.githubusercontent.com/u/5488655?v=4","gravatar_id":"","url":"https://api.github.com/users/EstevanBR","html_url":"https://github.com/EstevanBR","followers_url":"https://api.github.com/users/EstevanBR/followers","following_url":"https://api.github.com/users/EstevanBR/following{/other_user}","gists_url":"https://api.github.com/users/EstevanBR/gists{/gist_id}","starred_url":"https://api.github.com/users/EstevanBR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EstevanBR/subscriptions","organizations_url":"https://api.github.com/users/EstevanBR/orgs","repos_url":"https://api.github.com/users/EstevanBR/repos","events_url":"https://api.github.com/users/EstevanBR/events{/privacy}","received_events_url":"https://api.github.com/users/EstevanBR/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-25T07:51:37Z","updated_at":"2017-08-26T00:24:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b7913f7d82dbd6ab13f48339047725d991860e5","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/1/commits","review_comments_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/1/comments","review_comment_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/issues/1/comments","statuses_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/statuses/425b5a38d2d06ff37155a022f6d971bfac96c60d","head":{"label":"infinityshelf:time_travel_refactor","ref":"time_travel_refactor","sha":"425b5a38d2d06ff37155a022f6d971bfac96c60d","user":{"login":"infinityshelf","id":18725786,"avatar_url":"https://avatars2.githubusercontent.com/u/18725786?v=4","gravatar_id":"","url":"https://api.github.com/users/infinityshelf","html_url":"https://github.com/infinityshelf","followers_url":"https://api.github.com/users/infinityshelf/followers","following_url":"https://api.github.com/users/infinityshelf/following{/other_user}","gists_url":"https://api.github.com/users/infinityshelf/gists{/gist_id}","starred_url":"https://api.github.com/users/infinityshelf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infinityshelf/subscriptions","organizations_url":"https://api.github.com/users/infinityshelf/orgs","repos_url":"https://api.github.com/users/infinityshelf/repos","events_url":"https://api.github.com/users/infinityshelf/events{/privacy}","received_events_url":"https://api.github.com/users/infinityshelf/received_events","type":"Organization","site_admin":false},"repo":{"id":99382169,"name":"OrigamiSpaceTime","full_name":"infinityshelf/OrigamiSpaceTime","owner":{"login":"infinityshelf","id":18725786,"avatar_url":"https://avatars2.githubusercontent.com/u/18725786?v=4","gravatar_id":"","url":"https://api.github.com/users/infinityshelf","html_url":"https://github.com/infinityshelf","followers_url":"https://api.github.com/users/infinityshelf/followers","following_url":"https://api.github.com/users/infinityshelf/following{/other_user}","gists_url":"https://api.github.com/users/infinityshelf/gists{/gist_id}","starred_url":"https://api.github.com/users/infinityshelf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infinityshelf/subscriptions","organizations_url":"https://api.github.com/users/infinityshelf/orgs","repos_url":"https://api.github.com/users/infinityshelf/repos","events_url":"https://api.github.com/users/infinityshelf/events{/privacy}","received_events_url":"https://api.github.com/users/infinityshelf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infinityshelf/OrigamiSpaceTime","description":null,"fork":false,"url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime","forks_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/forks","keys_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/teams","hooks_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/hooks","issue_events_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/issues/events{/number}","events_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/events","assignees_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/assignees{/user}","branches_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/branches{/branch}","tags_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/tags","blobs_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/git/refs{/sha}","trees_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/statuses/{sha}","languages_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/languages","stargazers_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/stargazers","contributors_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/contributors","subscribers_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/subscribers","subscription_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/subscription","commits_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/commits{/sha}","git_commits_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/git/commits{/sha}","comments_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/comments{/number}","issue_comment_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/issues/comments{/number}","contents_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/contents/{+path}","compare_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/merges","archive_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/downloads","issues_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/issues{/number}","pulls_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls{/number}","milestones_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/milestones{/number}","notifications_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/labels{/name}","releases_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/releases{/id}","deployments_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/deployments","created_at":"2017-08-04T21:53:18Z","updated_at":"2017-08-04T21:53:18Z","pushed_at":"2017-08-25T08:09:06Z","git_url":"git://github.com/infinityshelf/OrigamiSpaceTime.git","ssh_url":"git@github.com:infinityshelf/OrigamiSpaceTime.git","clone_url":"https://github.com/infinityshelf/OrigamiSpaceTime.git","svn_url":"https://github.com/infinityshelf/OrigamiSpaceTime","homepage":null,"size":149,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":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":"dev"}},"base":{"label":"infinityshelf:dev","ref":"dev","sha":"ab6014373ba7a5a0550363f3eaf7276963611a40","user":{"login":"infinityshelf","id":18725786,"avatar_url":"https://avatars2.githubusercontent.com/u/18725786?v=4","gravatar_id":"","url":"https://api.github.com/users/infinityshelf","html_url":"https://github.com/infinityshelf","followers_url":"https://api.github.com/users/infinityshelf/followers","following_url":"https://api.github.com/users/infinityshelf/following{/other_user}","gists_url":"https://api.github.com/users/infinityshelf/gists{/gist_id}","starred_url":"https://api.github.com/users/infinityshelf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infinityshelf/subscriptions","organizations_url":"https://api.github.com/users/infinityshelf/orgs","repos_url":"https://api.github.com/users/infinityshelf/repos","events_url":"https://api.github.com/users/infinityshelf/events{/privacy}","received_events_url":"https://api.github.com/users/infinityshelf/received_events","type":"Organization","site_admin":false},"repo":{"id":99382169,"name":"OrigamiSpaceTime","full_name":"infinityshelf/OrigamiSpaceTime","owner":{"login":"infinityshelf","id":18725786,"avatar_url":"https://avatars2.githubusercontent.com/u/18725786?v=4","gravatar_id":"","url":"https://api.github.com/users/infinityshelf","html_url":"https://github.com/infinityshelf","followers_url":"https://api.github.com/users/infinityshelf/followers","following_url":"https://api.github.com/users/infinityshelf/following{/other_user}","gists_url":"https://api.github.com/users/infinityshelf/gists{/gist_id}","starred_url":"https://api.github.com/users/infinityshelf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infinityshelf/subscriptions","organizations_url":"https://api.github.com/users/infinityshelf/orgs","repos_url":"https://api.github.com/users/infinityshelf/repos","events_url":"https://api.github.com/users/infinityshelf/events{/privacy}","received_events_url":"https://api.github.com/users/infinityshelf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infinityshelf/OrigamiSpaceTime","description":null,"fork":false,"url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime","forks_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/forks","keys_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/teams","hooks_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/hooks","issue_events_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/issues/events{/number}","events_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/events","assignees_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/assignees{/user}","branches_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/branches{/branch}","tags_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/tags","blobs_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/git/refs{/sha}","trees_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/statuses/{sha}","languages_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/languages","stargazers_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/stargazers","contributors_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/contributors","subscribers_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/subscribers","subscription_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/subscription","commits_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/commits{/sha}","git_commits_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/git/commits{/sha}","comments_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/comments{/number}","issue_comment_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/issues/comments{/number}","contents_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/contents/{+path}","compare_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/merges","archive_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/downloads","issues_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/issues{/number}","pulls_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls{/number}","milestones_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/milestones{/number}","notifications_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/labels{/name}","releases_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/releases{/id}","deployments_url":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/deployments","created_at":"2017-08-04T21:53:18Z","updated_at":"2017-08-04T21:53:18Z","pushed_at":"2017-08-25T08:09:06Z","git_url":"git://github.com/infinityshelf/OrigamiSpaceTime.git","ssh_url":"git@github.com:infinityshelf/OrigamiSpaceTime.git","clone_url":"https://github.com/infinityshelf/OrigamiSpaceTime.git","svn_url":"https://github.com/infinityshelf/OrigamiSpaceTime","homepage":null,"size":149,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":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":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/1"},"html":{"href":"https://github.com/infinityshelf/OrigamiSpaceTime/pull/1"},"issue":{"href":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/issues/1"},"comments":{"href":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/infinityshelf/OrigamiSpaceTime/statuses/425b5a38d2d06ff37155a022f6d971bfac96c60d"}}}}
{"actor":{"display_login":"EstevanBR"}}