{"action":"created","comment":{"url":"https://api.github.com/repos/dmryutov/space-invaders/pulls/comments/80536635","id":80536635,"diff_hunk":"@@ -0,0 +1,86 @@\n+#pragma once\n+\n+#include <iostream>\n+#include \"point2d.hpp\"\n+\n+class Box2D\n+{\n+public:\n+  // Constructors\n+  Box2D() = default;\n+\n+  Box2D(float x1, float y1, float x2, float y2)\n+    : m_min(x1, y1), m_max(x2, y2)\n+  {\n+    PointSwap();\n+  }\n+\n+  Box2D(Point2D p1, Point2D p2)\n+    : m_min(p1), m_max(p2)\n+  {\n+    PointSwap();\n+  }\n+\n+  // Copy constructor\n+  Box2D(Box2D const & obj)\n+    : m_min(obj.m_min), m_max(obj.m_max)\n+  { PointSwap(); }","path":"hometask/lesson2/src/box2d.hpp","position":27,"original_position":27,"commit_id":"e1914d69e6574b60971b63e3eebcbc3aeb51c8c6","original_commit_id":"e1914d69e6574b60971b63e3eebcbc3aeb51c8c6","user":{"login":"rokuz","id":5437220,"avatar_url":"https://avatars.githubusercontent.com/u/5437220?v=3","gravatar_id":"","url":"https://api.github.com/users/rokuz","html_url":"https://github.com/rokuz","followers_url":"https://api.github.com/users/rokuz/followers","following_url":"https://api.github.com/users/rokuz/following{/other_user}","gists_url":"https://api.github.com/users/rokuz/gists{/gist_id}","starred_url":"https://api.github.com/users/rokuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokuz/subscriptions","organizations_url":"https://api.github.com/users/rokuz/orgs","repos_url":"https://api.github.com/users/rokuz/repos","events_url":"https://api.github.com/users/rokuz/events{/privacy}","received_events_url":"https://api.github.com/users/rokuz/received_events","type":"User","site_admin":false},"body":"Тогда уж тут тоже надо\r\n{\r\n  PointSwap();\r\n}","created_at":"2016-09-26T18:09:32Z","updated_at":"2016-09-26T18:09:32Z","html_url":"https://github.com/dmryutov/space-invaders/pull/2#discussion_r80536635","pull_request_url":"https://api.github.com/repos/dmryutov/space-invaders/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/dmryutov/space-invaders/pulls/comments/80536635"},"html":{"href":"https://github.com/dmryutov/space-invaders/pull/2#discussion_r80536635"},"pull_request":{"href":"https://api.github.com/repos/dmryutov/space-invaders/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/dmryutov/space-invaders/pulls/2","id":86755709,"html_url":"https://github.com/dmryutov/space-invaders/pull/2","diff_url":"https://github.com/dmryutov/space-invaders/pull/2.diff","patch_url":"https://github.com/dmryutov/space-invaders/pull/2.patch","issue_url":"https://api.github.com/repos/dmryutov/space-invaders/issues/2","number":2,"state":"open","locked":false,"title":"Lesson2 Task","user":{"login":"dmryutov","id":7704109,"avatar_url":"https://avatars.githubusercontent.com/u/7704109?v=3","gravatar_id":"","url":"https://api.github.com/users/dmryutov","html_url":"https://github.com/dmryutov","followers_url":"https://api.github.com/users/dmryutov/followers","following_url":"https://api.github.com/users/dmryutov/following{/other_user}","gists_url":"https://api.github.com/users/dmryutov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmryutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmryutov/subscriptions","organizations_url":"https://api.github.com/users/dmryutov/orgs","repos_url":"https://api.github.com/users/dmryutov/repos","events_url":"https://api.github.com/users/dmryutov/events{/privacy}","received_events_url":"https://api.github.com/users/dmryutov/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-26T14:41:44Z","updated_at":"2016-09-26T18:09:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"682ae917e6a3458815614d3a9d47fedb5cc6c5c0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dmryutov/space-invaders/pulls/2/commits","review_comments_url":"https://api.github.com/repos/dmryutov/space-invaders/pulls/2/comments","review_comment_url":"https://api.github.com/repos/dmryutov/space-invaders/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmryutov/space-invaders/issues/2/comments","statuses_url":"https://api.github.com/repos/dmryutov/space-invaders/statuses/e1914d69e6574b60971b63e3eebcbc3aeb51c8c6","head":{"label":"dmryutov:lesson2","ref":"lesson2","sha":"e1914d69e6574b60971b63e3eebcbc3aeb51c8c6","user":{"login":"dmryutov","id":7704109,"avatar_url":"https://avatars.githubusercontent.com/u/7704109?v=3","gravatar_id":"","url":"https://api.github.com/users/dmryutov","html_url":"https://github.com/dmryutov","followers_url":"https://api.github.com/users/dmryutov/followers","following_url":"https://api.github.com/users/dmryutov/following{/other_user}","gists_url":"https://api.github.com/users/dmryutov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmryutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmryutov/subscriptions","organizations_url":"https://api.github.com/users/dmryutov/orgs","repos_url":"https://api.github.com/users/dmryutov/repos","events_url":"https://api.github.com/users/dmryutov/events{/privacy}","received_events_url":"https://api.github.com/users/dmryutov/received_events","type":"User","site_admin":false},"repo":{"id":68716850,"name":"space-invaders","full_name":"dmryutov/space-invaders","owner":{"login":"dmryutov","id":7704109,"avatar_url":"https://avatars.githubusercontent.com/u/7704109?v=3","gravatar_id":"","url":"https://api.github.com/users/dmryutov","html_url":"https://github.com/dmryutov","followers_url":"https://api.github.com/users/dmryutov/followers","following_url":"https://api.github.com/users/dmryutov/following{/other_user}","gists_url":"https://api.github.com/users/dmryutov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmryutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmryutov/subscriptions","organizations_url":"https://api.github.com/users/dmryutov/orgs","repos_url":"https://api.github.com/users/dmryutov/repos","events_url":"https://api.github.com/users/dmryutov/events{/privacy}","received_events_url":"https://api.github.com/users/dmryutov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmryutov/space-invaders","description":null,"fork":false,"url":"https://api.github.com/repos/dmryutov/space-invaders","forks_url":"https://api.github.com/repos/dmryutov/space-invaders/forks","keys_url":"https://api.github.com/repos/dmryutov/space-invaders/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmryutov/space-invaders/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmryutov/space-invaders/teams","hooks_url":"https://api.github.com/repos/dmryutov/space-invaders/hooks","issue_events_url":"https://api.github.com/repos/dmryutov/space-invaders/issues/events{/number}","events_url":"https://api.github.com/repos/dmryutov/space-invaders/events","assignees_url":"https://api.github.com/repos/dmryutov/space-invaders/assignees{/user}","branches_url":"https://api.github.com/repos/dmryutov/space-invaders/branches{/branch}","tags_url":"https://api.github.com/repos/dmryutov/space-invaders/tags","blobs_url":"https://api.github.com/repos/dmryutov/space-invaders/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmryutov/space-invaders/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmryutov/space-invaders/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmryutov/space-invaders/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmryutov/space-invaders/statuses/{sha}","languages_url":"https://api.github.com/repos/dmryutov/space-invaders/languages","stargazers_url":"https://api.github.com/repos/dmryutov/space-invaders/stargazers","contributors_url":"https://api.github.com/repos/dmryutov/space-invaders/contributors","subscribers_url":"https://api.github.com/repos/dmryutov/space-invaders/subscribers","subscription_url":"https://api.github.com/repos/dmryutov/space-invaders/subscription","commits_url":"https://api.github.com/repos/dmryutov/space-invaders/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmryutov/space-invaders/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmryutov/space-invaders/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmryutov/space-invaders/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmryutov/space-invaders/contents/{+path}","compare_url":"https://api.github.com/repos/dmryutov/space-invaders/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmryutov/space-invaders/merges","archive_url":"https://api.github.com/repos/dmryutov/space-invaders/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmryutov/space-invaders/downloads","issues_url":"https://api.github.com/repos/dmryutov/space-invaders/issues{/number}","pulls_url":"https://api.github.com/repos/dmryutov/space-invaders/pulls{/number}","milestones_url":"https://api.github.com/repos/dmryutov/space-invaders/milestones{/number}","notifications_url":"https://api.github.com/repos/dmryutov/space-invaders/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmryutov/space-invaders/labels{/name}","releases_url":"https://api.github.com/repos/dmryutov/space-invaders/releases{/id}","deployments_url":"https://api.github.com/repos/dmryutov/space-invaders/deployments","created_at":"2016-09-20T13:52:50Z","updated_at":"2016-09-24T14:22:27Z","pushed_at":"2016-09-26T16:36:59Z","git_url":"git://github.com/dmryutov/space-invaders.git","ssh_url":"git@github.com:dmryutov/space-invaders.git","clone_url":"https://github.com/dmryutov/space-invaders.git","svn_url":"https://github.com/dmryutov/space-invaders","homepage":null,"size":22,"stargazers_count":1,"watchers_count":1,"language":"C++","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":1,"default_branch":"master"}},"base":{"label":"dmryutov:master","ref":"master","sha":"f4b246546998a6034021902e52af3fc3aee38a38","user":{"login":"dmryutov","id":7704109,"avatar_url":"https://avatars.githubusercontent.com/u/7704109?v=3","gravatar_id":"","url":"https://api.github.com/users/dmryutov","html_url":"https://github.com/dmryutov","followers_url":"https://api.github.com/users/dmryutov/followers","following_url":"https://api.github.com/users/dmryutov/following{/other_user}","gists_url":"https://api.github.com/users/dmryutov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmryutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmryutov/subscriptions","organizations_url":"https://api.github.com/users/dmryutov/orgs","repos_url":"https://api.github.com/users/dmryutov/repos","events_url":"https://api.github.com/users/dmryutov/events{/privacy}","received_events_url":"https://api.github.com/users/dmryutov/received_events","type":"User","site_admin":false},"repo":{"id":68716850,"name":"space-invaders","full_name":"dmryutov/space-invaders","owner":{"login":"dmryutov","id":7704109,"avatar_url":"https://avatars.githubusercontent.com/u/7704109?v=3","gravatar_id":"","url":"https://api.github.com/users/dmryutov","html_url":"https://github.com/dmryutov","followers_url":"https://api.github.com/users/dmryutov/followers","following_url":"https://api.github.com/users/dmryutov/following{/other_user}","gists_url":"https://api.github.com/users/dmryutov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmryutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmryutov/subscriptions","organizations_url":"https://api.github.com/users/dmryutov/orgs","repos_url":"https://api.github.com/users/dmryutov/repos","events_url":"https://api.github.com/users/dmryutov/events{/privacy}","received_events_url":"https://api.github.com/users/dmryutov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmryutov/space-invaders","description":null,"fork":false,"url":"https://api.github.com/repos/dmryutov/space-invaders","forks_url":"https://api.github.com/repos/dmryutov/space-invaders/forks","keys_url":"https://api.github.com/repos/dmryutov/space-invaders/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmryutov/space-invaders/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmryutov/space-invaders/teams","hooks_url":"https://api.github.com/repos/dmryutov/space-invaders/hooks","issue_events_url":"https://api.github.com/repos/dmryutov/space-invaders/issues/events{/number}","events_url":"https://api.github.com/repos/dmryutov/space-invaders/events","assignees_url":"https://api.github.com/repos/dmryutov/space-invaders/assignees{/user}","branches_url":"https://api.github.com/repos/dmryutov/space-invaders/branches{/branch}","tags_url":"https://api.github.com/repos/dmryutov/space-invaders/tags","blobs_url":"https://api.github.com/repos/dmryutov/space-invaders/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmryutov/space-invaders/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmryutov/space-invaders/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmryutov/space-invaders/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmryutov/space-invaders/statuses/{sha}","languages_url":"https://api.github.com/repos/dmryutov/space-invaders/languages","stargazers_url":"https://api.github.com/repos/dmryutov/space-invaders/stargazers","contributors_url":"https://api.github.com/repos/dmryutov/space-invaders/contributors","subscribers_url":"https://api.github.com/repos/dmryutov/space-invaders/subscribers","subscription_url":"https://api.github.com/repos/dmryutov/space-invaders/subscription","commits_url":"https://api.github.com/repos/dmryutov/space-invaders/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmryutov/space-invaders/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmryutov/space-invaders/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmryutov/space-invaders/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmryutov/space-invaders/contents/{+path}","compare_url":"https://api.github.com/repos/dmryutov/space-invaders/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmryutov/space-invaders/merges","archive_url":"https://api.github.com/repos/dmryutov/space-invaders/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmryutov/space-invaders/downloads","issues_url":"https://api.github.com/repos/dmryutov/space-invaders/issues{/number}","pulls_url":"https://api.github.com/repos/dmryutov/space-invaders/pulls{/number}","milestones_url":"https://api.github.com/repos/dmryutov/space-invaders/milestones{/number}","notifications_url":"https://api.github.com/repos/dmryutov/space-invaders/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmryutov/space-invaders/labels{/name}","releases_url":"https://api.github.com/repos/dmryutov/space-invaders/releases{/id}","deployments_url":"https://api.github.com/repos/dmryutov/space-invaders/deployments","created_at":"2016-09-20T13:52:50Z","updated_at":"2016-09-24T14:22:27Z","pushed_at":"2016-09-26T16:36:59Z","git_url":"git://github.com/dmryutov/space-invaders.git","ssh_url":"git@github.com:dmryutov/space-invaders.git","clone_url":"https://github.com/dmryutov/space-invaders.git","svn_url":"https://github.com/dmryutov/space-invaders","homepage":null,"size":22,"stargazers_count":1,"watchers_count":1,"language":"C++","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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmryutov/space-invaders/pulls/2"},"html":{"href":"https://github.com/dmryutov/space-invaders/pull/2"},"issue":{"href":"https://api.github.com/repos/dmryutov/space-invaders/issues/2"},"comments":{"href":"https://api.github.com/repos/dmryutov/space-invaders/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/dmryutov/space-invaders/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/dmryutov/space-invaders/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmryutov/space-invaders/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/dmryutov/space-invaders/statuses/e1914d69e6574b60971b63e3eebcbc3aeb51c8c6"}}}}
{"actor":{"display_login":"rokuz"}}