{"action":"created","comment":{"url":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/comments/83011794","pull_request_review_id":3879502,"id":83011794,"diff_hunk":"@@ -0,0 +1,33 @@\n+#pragma once\n+\n+#include \"GameEntity.h\"\n+#include \"Movable.h\"\n+#include \"BulletManager.h\"\n+\n+class GameEntityWithWeapon: public GameEntity, public Movable\n+{\n+public:\n+  GameEntityWithWeapon() = default;\n+  GameEntityWithWeapon(std::string const & name)\n+    : GameEntity(name)\n+  {}\n+  GameEntityWithWeapon(Point2D const & position,\n+                       std::string const & name,\n+                       uint const & rate,\n+                       uint const & health)\n+    : GameEntity(position,name),\n+      m_rate(rate),\n+      m_health(health)\n+  {}\n+  virtual ~GameEntityWithWeapon();\n+  uint GetRate() const;\n+  uint GetHealth() const;\n+  BulletManager GetBulletManager() const;","path":"src/GameEntityWithWeapon.h","position":25,"original_position":25,"commit_id":"c36af9ef8c29cf61d8ec4a26c8aa2bdcf1d095dd","original_commit_id":"c36af9ef8c29cf61d8ec4a26c8aa2bdcf1d095dd","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":"BulletManager **const &** GetBulletManager() const;","created_at":"2016-10-12T14:04:35Z","updated_at":"2016-10-12T14:04:35Z","html_url":"https://github.com/Chepik/SpaceInvaders/pull/3#discussion_r83011794","pull_request_url":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/comments/83011794"},"html":{"href":"https://github.com/Chepik/SpaceInvaders/pull/3#discussion_r83011794"},"pull_request":{"href":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/3","id":89020697,"html_url":"https://github.com/Chepik/SpaceInvaders/pull/3","diff_url":"https://github.com/Chepik/SpaceInvaders/pull/3.diff","patch_url":"https://github.com/Chepik/SpaceInvaders/pull/3.patch","issue_url":"https://api.github.com/repos/Chepik/SpaceInvaders/issues/3","number":3,"state":"open","locked":false,"title":"Third assignments","user":{"login":"Chepik","id":22317093,"avatar_url":"https://avatars.githubusercontent.com/u/22317093?v=3","gravatar_id":"","url":"https://api.github.com/users/Chepik","html_url":"https://github.com/Chepik","followers_url":"https://api.github.com/users/Chepik/followers","following_url":"https://api.github.com/users/Chepik/following{/other_user}","gists_url":"https://api.github.com/users/Chepik/gists{/gist_id}","starred_url":"https://api.github.com/users/Chepik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chepik/subscriptions","organizations_url":"https://api.github.com/users/Chepik/orgs","repos_url":"https://api.github.com/users/Chepik/repos","events_url":"https://api.github.com/users/Chepik/events{/privacy}","received_events_url":"https://api.github.com/users/Chepik/received_events","type":"User","site_admin":false},"body":"Added a Movable, GameEntity, GameEntityWithWeapon, Alien, SpaceShip,Obstacle, Bullet and BulletManager classes.\r\nAdded tests for these classes.","created_at":"2016-10-12T13:56:40Z","updated_at":"2016-10-12T14:04:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6cb9a01629c8a1e07886230b7329b834e4717dc1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Chepik/SpaceInvaders/issues/3/comments","statuses_url":"https://api.github.com/repos/Chepik/SpaceInvaders/statuses/c36af9ef8c29cf61d8ec4a26c8aa2bdcf1d095dd","head":{"label":"Chepik:task3","ref":"task3","sha":"c36af9ef8c29cf61d8ec4a26c8aa2bdcf1d095dd","user":{"login":"Chepik","id":22317093,"avatar_url":"https://avatars.githubusercontent.com/u/22317093?v=3","gravatar_id":"","url":"https://api.github.com/users/Chepik","html_url":"https://github.com/Chepik","followers_url":"https://api.github.com/users/Chepik/followers","following_url":"https://api.github.com/users/Chepik/following{/other_user}","gists_url":"https://api.github.com/users/Chepik/gists{/gist_id}","starred_url":"https://api.github.com/users/Chepik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chepik/subscriptions","organizations_url":"https://api.github.com/users/Chepik/orgs","repos_url":"https://api.github.com/users/Chepik/repos","events_url":"https://api.github.com/users/Chepik/events{/privacy}","received_events_url":"https://api.github.com/users/Chepik/received_events","type":"User","site_admin":false},"repo":{"id":68699769,"name":"SpaceInvaders","full_name":"Chepik/SpaceInvaders","owner":{"login":"Chepik","id":22317093,"avatar_url":"https://avatars.githubusercontent.com/u/22317093?v=3","gravatar_id":"","url":"https://api.github.com/users/Chepik","html_url":"https://github.com/Chepik","followers_url":"https://api.github.com/users/Chepik/followers","following_url":"https://api.github.com/users/Chepik/following{/other_user}","gists_url":"https://api.github.com/users/Chepik/gists{/gist_id}","starred_url":"https://api.github.com/users/Chepik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chepik/subscriptions","organizations_url":"https://api.github.com/users/Chepik/orgs","repos_url":"https://api.github.com/users/Chepik/repos","events_url":"https://api.github.com/users/Chepik/events{/privacy}","received_events_url":"https://api.github.com/users/Chepik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Chepik/SpaceInvaders","description":"course project, developers: Chepik Nadya and Vlasov Maksim, https://github.com/vmaks","fork":false,"url":"https://api.github.com/repos/Chepik/SpaceInvaders","forks_url":"https://api.github.com/repos/Chepik/SpaceInvaders/forks","keys_url":"https://api.github.com/repos/Chepik/SpaceInvaders/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chepik/SpaceInvaders/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chepik/SpaceInvaders/teams","hooks_url":"https://api.github.com/repos/Chepik/SpaceInvaders/hooks","issue_events_url":"https://api.github.com/repos/Chepik/SpaceInvaders/issues/events{/number}","events_url":"https://api.github.com/repos/Chepik/SpaceInvaders/events","assignees_url":"https://api.github.com/repos/Chepik/SpaceInvaders/assignees{/user}","branches_url":"https://api.github.com/repos/Chepik/SpaceInvaders/branches{/branch}","tags_url":"https://api.github.com/repos/Chepik/SpaceInvaders/tags","blobs_url":"https://api.github.com/repos/Chepik/SpaceInvaders/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chepik/SpaceInvaders/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chepik/SpaceInvaders/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chepik/SpaceInvaders/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chepik/SpaceInvaders/statuses/{sha}","languages_url":"https://api.github.com/repos/Chepik/SpaceInvaders/languages","stargazers_url":"https://api.github.com/repos/Chepik/SpaceInvaders/stargazers","contributors_url":"https://api.github.com/repos/Chepik/SpaceInvaders/contributors","subscribers_url":"https://api.github.com/repos/Chepik/SpaceInvaders/subscribers","subscription_url":"https://api.github.com/repos/Chepik/SpaceInvaders/subscription","commits_url":"https://api.github.com/repos/Chepik/SpaceInvaders/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chepik/SpaceInvaders/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chepik/SpaceInvaders/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chepik/SpaceInvaders/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chepik/SpaceInvaders/contents/{+path}","compare_url":"https://api.github.com/repos/Chepik/SpaceInvaders/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chepik/SpaceInvaders/merges","archive_url":"https://api.github.com/repos/Chepik/SpaceInvaders/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chepik/SpaceInvaders/downloads","issues_url":"https://api.github.com/repos/Chepik/SpaceInvaders/issues{/number}","pulls_url":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls{/number}","milestones_url":"https://api.github.com/repos/Chepik/SpaceInvaders/milestones{/number}","notifications_url":"https://api.github.com/repos/Chepik/SpaceInvaders/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chepik/SpaceInvaders/labels{/name}","releases_url":"https://api.github.com/repos/Chepik/SpaceInvaders/releases{/id}","deployments_url":"https://api.github.com/repos/Chepik/SpaceInvaders/deployments","created_at":"2016-09-20T10:10:31Z","updated_at":"2016-09-29T11:35:37Z","pushed_at":"2016-10-12T13:56:40Z","git_url":"git://github.com/Chepik/SpaceInvaders.git","ssh_url":"git@github.com:Chepik/SpaceInvaders.git","clone_url":"https://github.com/Chepik/SpaceInvaders.git","svn_url":"https://github.com/Chepik/SpaceInvaders","homepage":"","size":76,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"Chepik:master","ref":"master","sha":"6fb978973d0d7291d194b917f5747eafb4095c6b","user":{"login":"Chepik","id":22317093,"avatar_url":"https://avatars.githubusercontent.com/u/22317093?v=3","gravatar_id":"","url":"https://api.github.com/users/Chepik","html_url":"https://github.com/Chepik","followers_url":"https://api.github.com/users/Chepik/followers","following_url":"https://api.github.com/users/Chepik/following{/other_user}","gists_url":"https://api.github.com/users/Chepik/gists{/gist_id}","starred_url":"https://api.github.com/users/Chepik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chepik/subscriptions","organizations_url":"https://api.github.com/users/Chepik/orgs","repos_url":"https://api.github.com/users/Chepik/repos","events_url":"https://api.github.com/users/Chepik/events{/privacy}","received_events_url":"https://api.github.com/users/Chepik/received_events","type":"User","site_admin":false},"repo":{"id":68699769,"name":"SpaceInvaders","full_name":"Chepik/SpaceInvaders","owner":{"login":"Chepik","id":22317093,"avatar_url":"https://avatars.githubusercontent.com/u/22317093?v=3","gravatar_id":"","url":"https://api.github.com/users/Chepik","html_url":"https://github.com/Chepik","followers_url":"https://api.github.com/users/Chepik/followers","following_url":"https://api.github.com/users/Chepik/following{/other_user}","gists_url":"https://api.github.com/users/Chepik/gists{/gist_id}","starred_url":"https://api.github.com/users/Chepik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chepik/subscriptions","organizations_url":"https://api.github.com/users/Chepik/orgs","repos_url":"https://api.github.com/users/Chepik/repos","events_url":"https://api.github.com/users/Chepik/events{/privacy}","received_events_url":"https://api.github.com/users/Chepik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Chepik/SpaceInvaders","description":"course project, developers: Chepik Nadya and Vlasov Maksim, https://github.com/vmaks","fork":false,"url":"https://api.github.com/repos/Chepik/SpaceInvaders","forks_url":"https://api.github.com/repos/Chepik/SpaceInvaders/forks","keys_url":"https://api.github.com/repos/Chepik/SpaceInvaders/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chepik/SpaceInvaders/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chepik/SpaceInvaders/teams","hooks_url":"https://api.github.com/repos/Chepik/SpaceInvaders/hooks","issue_events_url":"https://api.github.com/repos/Chepik/SpaceInvaders/issues/events{/number}","events_url":"https://api.github.com/repos/Chepik/SpaceInvaders/events","assignees_url":"https://api.github.com/repos/Chepik/SpaceInvaders/assignees{/user}","branches_url":"https://api.github.com/repos/Chepik/SpaceInvaders/branches{/branch}","tags_url":"https://api.github.com/repos/Chepik/SpaceInvaders/tags","blobs_url":"https://api.github.com/repos/Chepik/SpaceInvaders/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chepik/SpaceInvaders/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chepik/SpaceInvaders/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chepik/SpaceInvaders/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chepik/SpaceInvaders/statuses/{sha}","languages_url":"https://api.github.com/repos/Chepik/SpaceInvaders/languages","stargazers_url":"https://api.github.com/repos/Chepik/SpaceInvaders/stargazers","contributors_url":"https://api.github.com/repos/Chepik/SpaceInvaders/contributors","subscribers_url":"https://api.github.com/repos/Chepik/SpaceInvaders/subscribers","subscription_url":"https://api.github.com/repos/Chepik/SpaceInvaders/subscription","commits_url":"https://api.github.com/repos/Chepik/SpaceInvaders/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chepik/SpaceInvaders/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chepik/SpaceInvaders/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chepik/SpaceInvaders/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chepik/SpaceInvaders/contents/{+path}","compare_url":"https://api.github.com/repos/Chepik/SpaceInvaders/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chepik/SpaceInvaders/merges","archive_url":"https://api.github.com/repos/Chepik/SpaceInvaders/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chepik/SpaceInvaders/downloads","issues_url":"https://api.github.com/repos/Chepik/SpaceInvaders/issues{/number}","pulls_url":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls{/number}","milestones_url":"https://api.github.com/repos/Chepik/SpaceInvaders/milestones{/number}","notifications_url":"https://api.github.com/repos/Chepik/SpaceInvaders/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chepik/SpaceInvaders/labels{/name}","releases_url":"https://api.github.com/repos/Chepik/SpaceInvaders/releases{/id}","deployments_url":"https://api.github.com/repos/Chepik/SpaceInvaders/deployments","created_at":"2016-09-20T10:10:31Z","updated_at":"2016-09-29T11:35:37Z","pushed_at":"2016-10-12T13:56:40Z","git_url":"git://github.com/Chepik/SpaceInvaders.git","ssh_url":"git@github.com:Chepik/SpaceInvaders.git","clone_url":"https://github.com/Chepik/SpaceInvaders.git","svn_url":"https://github.com/Chepik/SpaceInvaders","homepage":"","size":76,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/3"},"html":{"href":"https://github.com/Chepik/SpaceInvaders/pull/3"},"issue":{"href":"https://api.github.com/repos/Chepik/SpaceInvaders/issues/3"},"comments":{"href":"https://api.github.com/repos/Chepik/SpaceInvaders/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Chepik/SpaceInvaders/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Chepik/SpaceInvaders/statuses/c36af9ef8c29cf61d8ec4a26c8aa2bdcf1d095dd"}}}}
{"actor":{"display_login":"rokuz"}}