{"action":"created","comment":{"url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/comments/91848279","pull_request_review_id":12360168,"id":91848279,"diff_hunk":"@@ -4,20 +4,44 @@\n  * @author kotani\n  */\n #include \"GameObjectManager.h\"\n+#include \"EnemyManager\\EnemyManager.h\"\n+#include \"FieldManager\\FieldManager.h\"\n+#include \"HouseManager\\HouseManager.h\"\n+#include \"HumanManager\\HumanManager.h\"\n+#include \"RoadManager\\RoadManager.h\"\n \n-\n-GameObjectManager::GameObjectManager()\n+GameObjectManager::GameObjectManager() :\n+m_pEnemyManager(new EnemyManager()),\n+m_pFieldManager(new FieldManager()),\n+m_pHouseManager(new HouseManager()),\n+m_pHumanManager(new HumanManager()),\n+m_pRoadManager(new RoadManager())\n {\n }\n \n GameObjectManager::~GameObjectManager()\n {\n+\tdelete m_pRoadManager;\n+\tdelete m_pHumanManager;\n+\tdelete m_pHouseManager;\n+\tdelete m_pFieldManager;\n+\tdelete m_pEnemyManager;\n }\n \n void GameObjectManager::Control()\n {\n+\tm_pRoadManager->Control();\n+\tm_pHumanManager->Control();\n+\tm_pHouseManager->Control();\n+\tm_pFieldManager->Control();\n+\tm_pEnemyManager->Control();","path":"src/KingdomCraft/KingdomCraft/Main/SceneManager/Scene/GameScene/ObjectManager/GamaObjectManager/GameObjectManager.cpp","position":36,"original_position":36,"commit_id":"95132f5613a68f8479897a1dcd505d9272169e6b","original_commit_id":"95132f5613a68f8479897a1dcd505d9272169e6b","user":{"login":"Moto0116","id":16873201,"avatar_url":"https://avatars.githubusercontent.com/u/16873201?v=3","gravatar_id":"","url":"https://api.github.com/users/Moto0116","html_url":"https://github.com/Moto0116","followers_url":"https://api.github.com/users/Moto0116/followers","following_url":"https://api.github.com/users/Moto0116/following{/other_user}","gists_url":"https://api.github.com/users/Moto0116/gists{/gist_id}","starred_url":"https://api.github.com/users/Moto0116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moto0116/subscriptions","organizations_url":"https://api.github.com/users/Moto0116/orgs","repos_url":"https://api.github.com/users/Moto0116/repos","events_url":"https://api.github.com/users/Moto0116/events{/privacy}","received_events_url":"https://api.github.com/users/Moto0116/received_events","type":"User","site_admin":false},"body":"ControlとかDrawを呼ぶ順番が生成と逆順なのは何か理由があるんですか？\r\n","created_at":"2016-12-11T05:50:20Z","updated_at":"2016-12-11T05:50:20Z","html_url":"https://github.com/KingdomCraft-1/KingdomCraft/pull/204#discussion_r91848279","pull_request_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/204","_links":{"self":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/comments/91848279"},"html":{"href":"https://github.com/KingdomCraft-1/KingdomCraft/pull/204#discussion_r91848279"},"pull_request":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/204"}}},"pull_request":{"url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/204","id":97317634,"html_url":"https://github.com/KingdomCraft-1/KingdomCraft/pull/204","diff_url":"https://github.com/KingdomCraft-1/KingdomCraft/pull/204.diff","patch_url":"https://github.com/KingdomCraft-1/KingdomCraft/pull/204.patch","issue_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/204","number":204,"state":"open","locked":false,"title":"GameObjectManagerクラスの設計と実装","user":{"login":"Keitaro0408","id":16873197,"avatar_url":"https://avatars.githubusercontent.com/u/16873197?v=3","gravatar_id":"","url":"https://api.github.com/users/Keitaro0408","html_url":"https://github.com/Keitaro0408","followers_url":"https://api.github.com/users/Keitaro0408/followers","following_url":"https://api.github.com/users/Keitaro0408/following{/other_user}","gists_url":"https://api.github.com/users/Keitaro0408/gists{/gist_id}","starred_url":"https://api.github.com/users/Keitaro0408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keitaro0408/subscriptions","organizations_url":"https://api.github.com/users/Keitaro0408/orgs","repos_url":"https://api.github.com/users/Keitaro0408/repos","events_url":"https://api.github.com/users/Keitaro0408/events{/privacy}","received_events_url":"https://api.github.com/users/Keitaro0408/received_events","type":"User","site_admin":false},"body":"GameObjectManager配下のクラスの追加をする\r\n\r\nissue #193","created_at":"2016-12-09T14:25:17Z","updated_at":"2016-12-11T05:50:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe9052031a4d51caa5e6987420c92970a6ea44e4","assignee":{"login":"Keitaro0408","id":16873197,"avatar_url":"https://avatars.githubusercontent.com/u/16873197?v=3","gravatar_id":"","url":"https://api.github.com/users/Keitaro0408","html_url":"https://github.com/Keitaro0408","followers_url":"https://api.github.com/users/Keitaro0408/followers","following_url":"https://api.github.com/users/Keitaro0408/following{/other_user}","gists_url":"https://api.github.com/users/Keitaro0408/gists{/gist_id}","starred_url":"https://api.github.com/users/Keitaro0408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keitaro0408/subscriptions","organizations_url":"https://api.github.com/users/Keitaro0408/orgs","repos_url":"https://api.github.com/users/Keitaro0408/repos","events_url":"https://api.github.com/users/Keitaro0408/events{/privacy}","received_events_url":"https://api.github.com/users/Keitaro0408/received_events","type":"User","site_admin":false},"assignees":[{"login":"Keitaro0408","id":16873197,"avatar_url":"https://avatars.githubusercontent.com/u/16873197?v=3","gravatar_id":"","url":"https://api.github.com/users/Keitaro0408","html_url":"https://github.com/Keitaro0408","followers_url":"https://api.github.com/users/Keitaro0408/followers","following_url":"https://api.github.com/users/Keitaro0408/following{/other_user}","gists_url":"https://api.github.com/users/Keitaro0408/gists{/gist_id}","starred_url":"https://api.github.com/users/Keitaro0408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keitaro0408/subscriptions","organizations_url":"https://api.github.com/users/Keitaro0408/orgs","repos_url":"https://api.github.com/users/Keitaro0408/repos","events_url":"https://api.github.com/users/Keitaro0408/events{/privacy}","received_events_url":"https://api.github.com/users/Keitaro0408/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/milestones/3","html_url":"https://github.com/KingdomCraft-1/KingdomCraft/milestone/3","labels_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/milestones/3/labels","id":2076809,"number":3,"title":"KingdomCraft/1月","description":"","creator":{"login":"Moto0116","id":16873201,"avatar_url":"https://avatars.githubusercontent.com/u/16873201?v=3","gravatar_id":"","url":"https://api.github.com/users/Moto0116","html_url":"https://github.com/Moto0116","followers_url":"https://api.github.com/users/Moto0116/followers","following_url":"https://api.github.com/users/Moto0116/following{/other_user}","gists_url":"https://api.github.com/users/Moto0116/gists{/gist_id}","starred_url":"https://api.github.com/users/Moto0116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moto0116/subscriptions","organizations_url":"https://api.github.com/users/Moto0116/orgs","repos_url":"https://api.github.com/users/Moto0116/repos","events_url":"https://api.github.com/users/Moto0116/events{/privacy}","received_events_url":"https://api.github.com/users/Moto0116/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":20,"state":"open","created_at":"2016-10-18T09:58:45Z","updated_at":"2016-12-10T07:14:37Z","due_on":"2017-01-01T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/204/commits","review_comments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/204/comments","review_comment_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/204/comments","statuses_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/statuses/95132f5613a68f8479897a1dcd505d9272169e6b","head":{"label":"KingdomCraft-1:enhancement/GameObjectManager","ref":"enhancement/GameObjectManager","sha":"95132f5613a68f8479897a1dcd505d9272169e6b","user":{"login":"KingdomCraft-1","id":22514487,"avatar_url":"https://avatars.githubusercontent.com/u/22514487?v=3","gravatar_id":"","url":"https://api.github.com/users/KingdomCraft-1","html_url":"https://github.com/KingdomCraft-1","followers_url":"https://api.github.com/users/KingdomCraft-1/followers","following_url":"https://api.github.com/users/KingdomCraft-1/following{/other_user}","gists_url":"https://api.github.com/users/KingdomCraft-1/gists{/gist_id}","starred_url":"https://api.github.com/users/KingdomCraft-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingdomCraft-1/subscriptions","organizations_url":"https://api.github.com/users/KingdomCraft-1/orgs","repos_url":"https://api.github.com/users/KingdomCraft-1/repos","events_url":"https://api.github.com/users/KingdomCraft-1/events{/privacy}","received_events_url":"https://api.github.com/users/KingdomCraft-1/received_events","type":"Organization","site_admin":false},"repo":{"id":69534454,"name":"KingdomCraft","full_name":"KingdomCraft-1/KingdomCraft","owner":{"login":"KingdomCraft-1","id":22514487,"avatar_url":"https://avatars.githubusercontent.com/u/22514487?v=3","gravatar_id":"","url":"https://api.github.com/users/KingdomCraft-1","html_url":"https://github.com/KingdomCraft-1","followers_url":"https://api.github.com/users/KingdomCraft-1/followers","following_url":"https://api.github.com/users/KingdomCraft-1/following{/other_user}","gists_url":"https://api.github.com/users/KingdomCraft-1/gists{/gist_id}","starred_url":"https://api.github.com/users/KingdomCraft-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingdomCraft-1/subscriptions","organizations_url":"https://api.github.com/users/KingdomCraft-1/orgs","repos_url":"https://api.github.com/users/KingdomCraft-1/repos","events_url":"https://api.github.com/users/KingdomCraft-1/events{/privacy}","received_events_url":"https://api.github.com/users/KingdomCraft-1/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KingdomCraft-1/KingdomCraft","description":"KigdomCraftのリポジトリ","fork":false,"url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft","forks_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/forks","keys_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/teams","hooks_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/hooks","issue_events_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/events{/number}","events_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/events","assignees_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/assignees{/user}","branches_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/branches{/branch}","tags_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/tags","blobs_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/refs{/sha}","trees_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/statuses/{sha}","languages_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/languages","stargazers_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/stargazers","contributors_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/contributors","subscribers_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/subscribers","subscription_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/subscription","commits_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/commits{/sha}","git_commits_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/commits{/sha}","comments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/comments{/number}","issue_comment_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/comments{/number}","contents_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/contents/{+path}","compare_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/merges","archive_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/downloads","issues_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues{/number}","pulls_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls{/number}","milestones_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/milestones{/number}","notifications_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/labels{/name}","releases_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/releases{/id}","deployments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/deployments","created_at":"2016-09-29T05:39:13Z","updated_at":"2016-11-29T08:15:52Z","pushed_at":"2016-12-11T01:14:44Z","git_url":"git://github.com/KingdomCraft-1/KingdomCraft.git","ssh_url":"git@github.com:KingdomCraft-1/KingdomCraft.git","clone_url":"https://github.com/KingdomCraft-1/KingdomCraft.git","svn_url":"https://github.com/KingdomCraft-1/KingdomCraft","homepage":"","size":3432,"stargazers_count":5,"watchers_count":5,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":5,"default_branch":"master"}},"base":{"label":"KingdomCraft-1:develop","ref":"develop","sha":"f0482c619c13bd59e78f1a905c10f9bf6d4ab674","user":{"login":"KingdomCraft-1","id":22514487,"avatar_url":"https://avatars.githubusercontent.com/u/22514487?v=3","gravatar_id":"","url":"https://api.github.com/users/KingdomCraft-1","html_url":"https://github.com/KingdomCraft-1","followers_url":"https://api.github.com/users/KingdomCraft-1/followers","following_url":"https://api.github.com/users/KingdomCraft-1/following{/other_user}","gists_url":"https://api.github.com/users/KingdomCraft-1/gists{/gist_id}","starred_url":"https://api.github.com/users/KingdomCraft-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingdomCraft-1/subscriptions","organizations_url":"https://api.github.com/users/KingdomCraft-1/orgs","repos_url":"https://api.github.com/users/KingdomCraft-1/repos","events_url":"https://api.github.com/users/KingdomCraft-1/events{/privacy}","received_events_url":"https://api.github.com/users/KingdomCraft-1/received_events","type":"Organization","site_admin":false},"repo":{"id":69534454,"name":"KingdomCraft","full_name":"KingdomCraft-1/KingdomCraft","owner":{"login":"KingdomCraft-1","id":22514487,"avatar_url":"https://avatars.githubusercontent.com/u/22514487?v=3","gravatar_id":"","url":"https://api.github.com/users/KingdomCraft-1","html_url":"https://github.com/KingdomCraft-1","followers_url":"https://api.github.com/users/KingdomCraft-1/followers","following_url":"https://api.github.com/users/KingdomCraft-1/following{/other_user}","gists_url":"https://api.github.com/users/KingdomCraft-1/gists{/gist_id}","starred_url":"https://api.github.com/users/KingdomCraft-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingdomCraft-1/subscriptions","organizations_url":"https://api.github.com/users/KingdomCraft-1/orgs","repos_url":"https://api.github.com/users/KingdomCraft-1/repos","events_url":"https://api.github.com/users/KingdomCraft-1/events{/privacy}","received_events_url":"https://api.github.com/users/KingdomCraft-1/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KingdomCraft-1/KingdomCraft","description":"KigdomCraftのリポジトリ","fork":false,"url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft","forks_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/forks","keys_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/teams","hooks_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/hooks","issue_events_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/events{/number}","events_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/events","assignees_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/assignees{/user}","branches_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/branches{/branch}","tags_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/tags","blobs_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/refs{/sha}","trees_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/statuses/{sha}","languages_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/languages","stargazers_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/stargazers","contributors_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/contributors","subscribers_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/subscribers","subscription_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/subscription","commits_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/commits{/sha}","git_commits_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/commits{/sha}","comments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/comments{/number}","issue_comment_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/comments{/number}","contents_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/contents/{+path}","compare_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/merges","archive_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/downloads","issues_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues{/number}","pulls_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls{/number}","milestones_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/milestones{/number}","notifications_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/labels{/name}","releases_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/releases{/id}","deployments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/deployments","created_at":"2016-09-29T05:39:13Z","updated_at":"2016-11-29T08:15:52Z","pushed_at":"2016-12-11T01:14:44Z","git_url":"git://github.com/KingdomCraft-1/KingdomCraft.git","ssh_url":"git@github.com:KingdomCraft-1/KingdomCraft.git","clone_url":"https://github.com/KingdomCraft-1/KingdomCraft.git","svn_url":"https://github.com/KingdomCraft-1/KingdomCraft","homepage":"","size":3432,"stargazers_count":5,"watchers_count":5,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/204"},"html":{"href":"https://github.com/KingdomCraft-1/KingdomCraft/pull/204"},"issue":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/204"},"comments":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/204/comments"},"review_comments":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/204/comments"},"review_comment":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/204/commits"},"statuses":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/statuses/95132f5613a68f8479897a1dcd505d9272169e6b"}}}}
{"actor":{"display_login":"Moto0116"}}