{"action":"created","comment":{"url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/comments/193575138","pull_request_review_id":126562040,"id":193575138,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzU3NTEzOA==","diff_hunk":"@@ -0,0 +1,40 @@\n+#pragma once\n+#include <vector>\n+#include \"Unit.h\"\n+#include \"GridCell.h\"\n+#include \"CellPath.h\"\n+#include \"GridCell.h\"\n+#include <map>\n+#include <queue>\n+/**\n+Map class. Holds a Matrix of GridCells and all of the units. Should be initialized at the start of each chapter.\n+*/\n+using PathMap = std::map<GridCell*, std::pair<int, GridCell*>>;\n+using PathQueue = std::priority_queue<std::pair<int, GridCell*>>;\n+class Map {","path":"Project1/Map.h","position":14,"original_position":14,"commit_id":"9819e5431e2d46a57ddce518d6f76dd82ad70c12","original_commit_id":"9819e5431e2d46a57ddce518d6f76dd82ad70c12","user":{"login":"SilensAngelusNex","id":14279636,"node_id":"MDQ6VXNlcjE0Mjc5NjM2","avatar_url":"https://avatars2.githubusercontent.com/u/14279636?v=4","gravatar_id":"","url":"https://api.github.com/users/SilensAngelusNex","html_url":"https://github.com/SilensAngelusNex","followers_url":"https://api.github.com/users/SilensAngelusNex/followers","following_url":"https://api.github.com/users/SilensAngelusNex/following{/other_user}","gists_url":"https://api.github.com/users/SilensAngelusNex/gists{/gist_id}","starred_url":"https://api.github.com/users/SilensAngelusNex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilensAngelusNex/subscriptions","organizations_url":"https://api.github.com/users/SilensAngelusNex/orgs","repos_url":"https://api.github.com/users/SilensAngelusNex/repos","events_url":"https://api.github.com/users/SilensAngelusNex/events{/privacy}","received_events_url":"https://api.github.com/users/SilensAngelusNex/received_events","type":"User","site_admin":false},"body":"I think this should be decomposed into at least 2, probably 3, classes. I'll talk to you about this one.","created_at":"2018-06-06T22:10:43Z","updated_at":"2018-06-06T22:16:43Z","html_url":"https://github.com/SilensAngelusNex/FireEmblem/pull/6#discussion_r193575138","pull_request_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/6","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/comments/193575138"},"html":{"href":"https://github.com/SilensAngelusNex/FireEmblem/pull/6#discussion_r193575138"},"pull_request":{"href":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/6","id":193099206,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzMDk5MjA2","html_url":"https://github.com/SilensAngelusNex/FireEmblem/pull/6","diff_url":"https://github.com/SilensAngelusNex/FireEmblem/pull/6.diff","patch_url":"https://github.com/SilensAngelusNex/FireEmblem/pull/6.patch","issue_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/issues/6","number":6,"state":"open","locked":false,"title":"Mapcreation","user":{"login":"dwatchguard","id":10075987,"node_id":"MDQ6VXNlcjEwMDc1OTg3","avatar_url":"https://avatars0.githubusercontent.com/u/10075987?v=4","gravatar_id":"","url":"https://api.github.com/users/dwatchguard","html_url":"https://github.com/dwatchguard","followers_url":"https://api.github.com/users/dwatchguard/followers","following_url":"https://api.github.com/users/dwatchguard/following{/other_user}","gists_url":"https://api.github.com/users/dwatchguard/gists{/gist_id}","starred_url":"https://api.github.com/users/dwatchguard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwatchguard/subscriptions","organizations_url":"https://api.github.com/users/dwatchguard/orgs","repos_url":"https://api.github.com/users/dwatchguard/repos","events_url":"https://api.github.com/users/dwatchguard/events{/privacy}","received_events_url":"https://api.github.com/users/dwatchguard/received_events","type":"User","site_admin":false},"body":"Creates a Map that can be used to move Units around the Map. Has Methods for finding possible movement paths for a Unit, as well as where it can attack.","created_at":"2018-06-06T18:20:57Z","updated_at":"2018-06-06T22:16:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e40242be4dbd643c95e2bf5380142b262a1b6b39","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/6/commits","review_comments_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/6/comments","review_comment_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/issues/6/comments","statuses_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/statuses/9819e5431e2d46a57ddce518d6f76dd82ad70c12","head":{"label":"SilensAngelusNex:mapcreation","ref":"mapcreation","sha":"9819e5431e2d46a57ddce518d6f76dd82ad70c12","user":{"login":"SilensAngelusNex","id":14279636,"node_id":"MDQ6VXNlcjE0Mjc5NjM2","avatar_url":"https://avatars2.githubusercontent.com/u/14279636?v=4","gravatar_id":"","url":"https://api.github.com/users/SilensAngelusNex","html_url":"https://github.com/SilensAngelusNex","followers_url":"https://api.github.com/users/SilensAngelusNex/followers","following_url":"https://api.github.com/users/SilensAngelusNex/following{/other_user}","gists_url":"https://api.github.com/users/SilensAngelusNex/gists{/gist_id}","starred_url":"https://api.github.com/users/SilensAngelusNex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilensAngelusNex/subscriptions","organizations_url":"https://api.github.com/users/SilensAngelusNex/orgs","repos_url":"https://api.github.com/users/SilensAngelusNex/repos","events_url":"https://api.github.com/users/SilensAngelusNex/events{/privacy}","received_events_url":"https://api.github.com/users/SilensAngelusNex/received_events","type":"User","site_admin":false},"repo":{"id":134773134,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ3NzMxMzQ=","name":"FireEmblem","full_name":"SilensAngelusNex/FireEmblem","owner":{"login":"SilensAngelusNex","id":14279636,"node_id":"MDQ6VXNlcjE0Mjc5NjM2","avatar_url":"https://avatars2.githubusercontent.com/u/14279636?v=4","gravatar_id":"","url":"https://api.github.com/users/SilensAngelusNex","html_url":"https://github.com/SilensAngelusNex","followers_url":"https://api.github.com/users/SilensAngelusNex/followers","following_url":"https://api.github.com/users/SilensAngelusNex/following{/other_user}","gists_url":"https://api.github.com/users/SilensAngelusNex/gists{/gist_id}","starred_url":"https://api.github.com/users/SilensAngelusNex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilensAngelusNex/subscriptions","organizations_url":"https://api.github.com/users/SilensAngelusNex/orgs","repos_url":"https://api.github.com/users/SilensAngelusNex/repos","events_url":"https://api.github.com/users/SilensAngelusNex/events{/privacy}","received_events_url":"https://api.github.com/users/SilensAngelusNex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SilensAngelusNex/FireEmblem","description":null,"fork":false,"url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem","forks_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/forks","keys_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/teams","hooks_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/hooks","issue_events_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/issues/events{/number}","events_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/events","assignees_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/assignees{/user}","branches_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/branches{/branch}","tags_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/tags","blobs_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/git/refs{/sha}","trees_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/statuses/{sha}","languages_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/languages","stargazers_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/stargazers","contributors_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/contributors","subscribers_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/subscribers","subscription_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/subscription","commits_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/commits{/sha}","git_commits_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/git/commits{/sha}","comments_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/comments{/number}","issue_comment_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/issues/comments{/number}","contents_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/contents/{+path}","compare_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/merges","archive_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/downloads","issues_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/issues{/number}","pulls_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls{/number}","milestones_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/milestones{/number}","notifications_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/labels{/name}","releases_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/releases{/id}","deployments_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/deployments","created_at":"2018-05-24T22:00:42Z","updated_at":"2018-05-29T03:28:26Z","pushed_at":"2018-06-06T21:58:10Z","git_url":"git://github.com/SilensAngelusNex/FireEmblem.git","ssh_url":"git@github.com:SilensAngelusNex/FireEmblem.git","clone_url":"https://github.com/SilensAngelusNex/FireEmblem.git","svn_url":"https://github.com/SilensAngelusNex/FireEmblem","homepage":null,"size":148,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"SilensAngelusNex:master","ref":"master","sha":"8ba8fc3901f875958128f2e733037c76babef9a7","user":{"login":"SilensAngelusNex","id":14279636,"node_id":"MDQ6VXNlcjE0Mjc5NjM2","avatar_url":"https://avatars2.githubusercontent.com/u/14279636?v=4","gravatar_id":"","url":"https://api.github.com/users/SilensAngelusNex","html_url":"https://github.com/SilensAngelusNex","followers_url":"https://api.github.com/users/SilensAngelusNex/followers","following_url":"https://api.github.com/users/SilensAngelusNex/following{/other_user}","gists_url":"https://api.github.com/users/SilensAngelusNex/gists{/gist_id}","starred_url":"https://api.github.com/users/SilensAngelusNex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilensAngelusNex/subscriptions","organizations_url":"https://api.github.com/users/SilensAngelusNex/orgs","repos_url":"https://api.github.com/users/SilensAngelusNex/repos","events_url":"https://api.github.com/users/SilensAngelusNex/events{/privacy}","received_events_url":"https://api.github.com/users/SilensAngelusNex/received_events","type":"User","site_admin":false},"repo":{"id":134773134,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ3NzMxMzQ=","name":"FireEmblem","full_name":"SilensAngelusNex/FireEmblem","owner":{"login":"SilensAngelusNex","id":14279636,"node_id":"MDQ6VXNlcjE0Mjc5NjM2","avatar_url":"https://avatars2.githubusercontent.com/u/14279636?v=4","gravatar_id":"","url":"https://api.github.com/users/SilensAngelusNex","html_url":"https://github.com/SilensAngelusNex","followers_url":"https://api.github.com/users/SilensAngelusNex/followers","following_url":"https://api.github.com/users/SilensAngelusNex/following{/other_user}","gists_url":"https://api.github.com/users/SilensAngelusNex/gists{/gist_id}","starred_url":"https://api.github.com/users/SilensAngelusNex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilensAngelusNex/subscriptions","organizations_url":"https://api.github.com/users/SilensAngelusNex/orgs","repos_url":"https://api.github.com/users/SilensAngelusNex/repos","events_url":"https://api.github.com/users/SilensAngelusNex/events{/privacy}","received_events_url":"https://api.github.com/users/SilensAngelusNex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SilensAngelusNex/FireEmblem","description":null,"fork":false,"url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem","forks_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/forks","keys_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/teams","hooks_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/hooks","issue_events_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/issues/events{/number}","events_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/events","assignees_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/assignees{/user}","branches_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/branches{/branch}","tags_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/tags","blobs_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/git/refs{/sha}","trees_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/statuses/{sha}","languages_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/languages","stargazers_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/stargazers","contributors_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/contributors","subscribers_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/subscribers","subscription_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/subscription","commits_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/commits{/sha}","git_commits_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/git/commits{/sha}","comments_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/comments{/number}","issue_comment_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/issues/comments{/number}","contents_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/contents/{+path}","compare_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/merges","archive_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/downloads","issues_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/issues{/number}","pulls_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls{/number}","milestones_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/milestones{/number}","notifications_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/labels{/name}","releases_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/releases{/id}","deployments_url":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/deployments","created_at":"2018-05-24T22:00:42Z","updated_at":"2018-05-29T03:28:26Z","pushed_at":"2018-06-06T21:58:10Z","git_url":"git://github.com/SilensAngelusNex/FireEmblem.git","ssh_url":"git@github.com:SilensAngelusNex/FireEmblem.git","clone_url":"https://github.com/SilensAngelusNex/FireEmblem.git","svn_url":"https://github.com/SilensAngelusNex/FireEmblem","homepage":null,"size":148,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/6"},"html":{"href":"https://github.com/SilensAngelusNex/FireEmblem/pull/6"},"issue":{"href":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/issues/6"},"comments":{"href":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/SilensAngelusNex/FireEmblem/statuses/9819e5431e2d46a57ddce518d6f76dd82ad70c12"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"SilensAngelusNex"}}