{"action":"created","comment":{"url":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/comments/89252934","pull_request_review_id":9799707,"id":89252934,"diff_hunk":"@@ -0,0 +1,61 @@\n+#ifndef _ENTITY_H\n+#define _ENTITY_H\n+\n+#include <vector>\n+#include <string>\n+#include \"image.h\"\n+#include \"game.h\"\n+\n+namespace entityNS\n+{\n+\tenum ABILITY_TYPE { TRAVEL_WATER, TRAVEL_LAVA, TRAVEL_WALL, BURNS_PLAYER, SHOOTS_FIRE };\n+}\n+\n+struct EntityData {\n+\tfloat health;\n+\tfloat damage;\n+\tint atkRange;\n+\tint moveRange;\n+\tstd::vector<int> levels;\n+\tstd::vector<entityNS::ABILITY_TYPE> abilities;","path":"src/entity.h","position":20,"original_position":20,"commit_id":"622b247795f1fab230ab006e79325eaff8acfdf3","original_commit_id":"622b247795f1fab230ab006e79325eaff8acfdf3","user":{"login":"chesterhow","id":9312956,"avatar_url":"https://avatars.githubusercontent.com/u/9312956?v=3","gravatar_id":"","url":"https://api.github.com/users/chesterhow","html_url":"https://github.com/chesterhow","followers_url":"https://api.github.com/users/chesterhow/followers","following_url":"https://api.github.com/users/chesterhow/following{/other_user}","gists_url":"https://api.github.com/users/chesterhow/gists{/gist_id}","starred_url":"https://api.github.com/users/chesterhow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chesterhow/subscriptions","organizations_url":"https://api.github.com/users/chesterhow/orgs","repos_url":"https://api.github.com/users/chesterhow/repos","events_url":"https://api.github.com/users/chesterhow/events{/privacy}","received_events_url":"https://api.github.com/users/chesterhow/received_events","type":"User","site_admin":false},"body":"Add a variable for moves?","created_at":"2016-11-23T03:38:23Z","updated_at":"2016-11-23T03:38:39Z","html_url":"https://github.com/CIA-hideout/three-chances/pull/4#discussion_r89252934","pull_request_url":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/comments/89252934"},"html":{"href":"https://github.com/CIA-hideout/three-chances/pull/4#discussion_r89252934"},"pull_request":{"href":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/4","id":94940004,"html_url":"https://github.com/CIA-hideout/three-chances/pull/4","diff_url":"https://github.com/CIA-hideout/three-chances/pull/4.diff","patch_url":"https://github.com/CIA-hideout/three-chances/pull/4.patch","issue_url":"https://api.github.com/repos/CIA-hideout/three-chances/issues/4","number":4,"state":"open","locked":false,"title":"Implement basic structure for entity class","user":{"login":"ivantjh","id":12914099,"avatar_url":"https://avatars.githubusercontent.com/u/12914099?v=3","gravatar_id":"","url":"https://api.github.com/users/ivantjh","html_url":"https://github.com/ivantjh","followers_url":"https://api.github.com/users/ivantjh/followers","following_url":"https://api.github.com/users/ivantjh/following{/other_user}","gists_url":"https://api.github.com/users/ivantjh/gists{/gist_id}","starred_url":"https://api.github.com/users/ivantjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivantjh/subscriptions","organizations_url":"https://api.github.com/users/ivantjh/orgs","repos_url":"https://api.github.com/users/ivantjh/repos","events_url":"https://api.github.com/users/ivantjh/events{/privacy}","received_events_url":"https://api.github.com/users/ivantjh/received_events","type":"User","site_admin":false},"body":"@chesterhow @JxJoker Help me check if this makes sense. I will make player class inherit from this and move all the logic to player class.","created_at":"2016-11-23T03:24:40Z","updated_at":"2016-11-23T03:38:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1511aaa1124ffed9f5fc5fc422de5baf8e1a1cc7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/4/commits","review_comments_url":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/4/comments","review_comment_url":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CIA-hideout/three-chances/issues/4/comments","statuses_url":"https://api.github.com/repos/CIA-hideout/three-chances/statuses/622b247795f1fab230ab006e79325eaff8acfdf3","head":{"label":"CIA-hideout:player-class","ref":"player-class","sha":"622b247795f1fab230ab006e79325eaff8acfdf3","user":{"login":"CIA-hideout","id":20726130,"avatar_url":"https://avatars.githubusercontent.com/u/20726130?v=3","gravatar_id":"","url":"https://api.github.com/users/CIA-hideout","html_url":"https://github.com/CIA-hideout","followers_url":"https://api.github.com/users/CIA-hideout/followers","following_url":"https://api.github.com/users/CIA-hideout/following{/other_user}","gists_url":"https://api.github.com/users/CIA-hideout/gists{/gist_id}","starred_url":"https://api.github.com/users/CIA-hideout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CIA-hideout/subscriptions","organizations_url":"https://api.github.com/users/CIA-hideout/orgs","repos_url":"https://api.github.com/users/CIA-hideout/repos","events_url":"https://api.github.com/users/CIA-hideout/events{/privacy}","received_events_url":"https://api.github.com/users/CIA-hideout/received_events","type":"Organization","site_admin":false},"repo":{"id":74335843,"name":"three-chances","full_name":"CIA-hideout/three-chances","owner":{"login":"CIA-hideout","id":20726130,"avatar_url":"https://avatars.githubusercontent.com/u/20726130?v=3","gravatar_id":"","url":"https://api.github.com/users/CIA-hideout","html_url":"https://github.com/CIA-hideout","followers_url":"https://api.github.com/users/CIA-hideout/followers","following_url":"https://api.github.com/users/CIA-hideout/following{/other_user}","gists_url":"https://api.github.com/users/CIA-hideout/gists{/gist_id}","starred_url":"https://api.github.com/users/CIA-hideout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CIA-hideout/subscriptions","organizations_url":"https://api.github.com/users/CIA-hideout/orgs","repos_url":"https://api.github.com/users/CIA-hideout/repos","events_url":"https://api.github.com/users/CIA-hideout/events{/privacy}","received_events_url":"https://api.github.com/users/CIA-hideout/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CIA-hideout/three-chances","description":"A fun DirectX 2D game","fork":false,"url":"https://api.github.com/repos/CIA-hideout/three-chances","forks_url":"https://api.github.com/repos/CIA-hideout/three-chances/forks","keys_url":"https://api.github.com/repos/CIA-hideout/three-chances/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CIA-hideout/three-chances/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CIA-hideout/three-chances/teams","hooks_url":"https://api.github.com/repos/CIA-hideout/three-chances/hooks","issue_events_url":"https://api.github.com/repos/CIA-hideout/three-chances/issues/events{/number}","events_url":"https://api.github.com/repos/CIA-hideout/three-chances/events","assignees_url":"https://api.github.com/repos/CIA-hideout/three-chances/assignees{/user}","branches_url":"https://api.github.com/repos/CIA-hideout/three-chances/branches{/branch}","tags_url":"https://api.github.com/repos/CIA-hideout/three-chances/tags","blobs_url":"https://api.github.com/repos/CIA-hideout/three-chances/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CIA-hideout/three-chances/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CIA-hideout/three-chances/git/refs{/sha}","trees_url":"https://api.github.com/repos/CIA-hideout/three-chances/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CIA-hideout/three-chances/statuses/{sha}","languages_url":"https://api.github.com/repos/CIA-hideout/three-chances/languages","stargazers_url":"https://api.github.com/repos/CIA-hideout/three-chances/stargazers","contributors_url":"https://api.github.com/repos/CIA-hideout/three-chances/contributors","subscribers_url":"https://api.github.com/repos/CIA-hideout/three-chances/subscribers","subscription_url":"https://api.github.com/repos/CIA-hideout/three-chances/subscription","commits_url":"https://api.github.com/repos/CIA-hideout/three-chances/commits{/sha}","git_commits_url":"https://api.github.com/repos/CIA-hideout/three-chances/git/commits{/sha}","comments_url":"https://api.github.com/repos/CIA-hideout/three-chances/comments{/number}","issue_comment_url":"https://api.github.com/repos/CIA-hideout/three-chances/issues/comments{/number}","contents_url":"https://api.github.com/repos/CIA-hideout/three-chances/contents/{+path}","compare_url":"https://api.github.com/repos/CIA-hideout/three-chances/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CIA-hideout/three-chances/merges","archive_url":"https://api.github.com/repos/CIA-hideout/three-chances/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CIA-hideout/three-chances/downloads","issues_url":"https://api.github.com/repos/CIA-hideout/three-chances/issues{/number}","pulls_url":"https://api.github.com/repos/CIA-hideout/three-chances/pulls{/number}","milestones_url":"https://api.github.com/repos/CIA-hideout/three-chances/milestones{/number}","notifications_url":"https://api.github.com/repos/CIA-hideout/three-chances/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CIA-hideout/three-chances/labels{/name}","releases_url":"https://api.github.com/repos/CIA-hideout/three-chances/releases{/id}","deployments_url":"https://api.github.com/repos/CIA-hideout/three-chances/deployments","created_at":"2016-11-21T07:06:03Z","updated_at":"2016-11-21T07:54:34Z","pushed_at":"2016-11-23T03:32:32Z","git_url":"git://github.com/CIA-hideout/three-chances.git","ssh_url":"git@github.com:CIA-hideout/three-chances.git","clone_url":"https://github.com/CIA-hideout/three-chances.git","svn_url":"https://github.com/CIA-hideout/three-chances","homepage":null,"size":275,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"CIA-hideout:master","ref":"master","sha":"2763b64269944e399bb1348d9c2328fa8c9197e7","user":{"login":"CIA-hideout","id":20726130,"avatar_url":"https://avatars.githubusercontent.com/u/20726130?v=3","gravatar_id":"","url":"https://api.github.com/users/CIA-hideout","html_url":"https://github.com/CIA-hideout","followers_url":"https://api.github.com/users/CIA-hideout/followers","following_url":"https://api.github.com/users/CIA-hideout/following{/other_user}","gists_url":"https://api.github.com/users/CIA-hideout/gists{/gist_id}","starred_url":"https://api.github.com/users/CIA-hideout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CIA-hideout/subscriptions","organizations_url":"https://api.github.com/users/CIA-hideout/orgs","repos_url":"https://api.github.com/users/CIA-hideout/repos","events_url":"https://api.github.com/users/CIA-hideout/events{/privacy}","received_events_url":"https://api.github.com/users/CIA-hideout/received_events","type":"Organization","site_admin":false},"repo":{"id":74335843,"name":"three-chances","full_name":"CIA-hideout/three-chances","owner":{"login":"CIA-hideout","id":20726130,"avatar_url":"https://avatars.githubusercontent.com/u/20726130?v=3","gravatar_id":"","url":"https://api.github.com/users/CIA-hideout","html_url":"https://github.com/CIA-hideout","followers_url":"https://api.github.com/users/CIA-hideout/followers","following_url":"https://api.github.com/users/CIA-hideout/following{/other_user}","gists_url":"https://api.github.com/users/CIA-hideout/gists{/gist_id}","starred_url":"https://api.github.com/users/CIA-hideout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CIA-hideout/subscriptions","organizations_url":"https://api.github.com/users/CIA-hideout/orgs","repos_url":"https://api.github.com/users/CIA-hideout/repos","events_url":"https://api.github.com/users/CIA-hideout/events{/privacy}","received_events_url":"https://api.github.com/users/CIA-hideout/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CIA-hideout/three-chances","description":"A fun DirectX 2D game","fork":false,"url":"https://api.github.com/repos/CIA-hideout/three-chances","forks_url":"https://api.github.com/repos/CIA-hideout/three-chances/forks","keys_url":"https://api.github.com/repos/CIA-hideout/three-chances/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CIA-hideout/three-chances/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CIA-hideout/three-chances/teams","hooks_url":"https://api.github.com/repos/CIA-hideout/three-chances/hooks","issue_events_url":"https://api.github.com/repos/CIA-hideout/three-chances/issues/events{/number}","events_url":"https://api.github.com/repos/CIA-hideout/three-chances/events","assignees_url":"https://api.github.com/repos/CIA-hideout/three-chances/assignees{/user}","branches_url":"https://api.github.com/repos/CIA-hideout/three-chances/branches{/branch}","tags_url":"https://api.github.com/repos/CIA-hideout/three-chances/tags","blobs_url":"https://api.github.com/repos/CIA-hideout/three-chances/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CIA-hideout/three-chances/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CIA-hideout/three-chances/git/refs{/sha}","trees_url":"https://api.github.com/repos/CIA-hideout/three-chances/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CIA-hideout/three-chances/statuses/{sha}","languages_url":"https://api.github.com/repos/CIA-hideout/three-chances/languages","stargazers_url":"https://api.github.com/repos/CIA-hideout/three-chances/stargazers","contributors_url":"https://api.github.com/repos/CIA-hideout/three-chances/contributors","subscribers_url":"https://api.github.com/repos/CIA-hideout/three-chances/subscribers","subscription_url":"https://api.github.com/repos/CIA-hideout/three-chances/subscription","commits_url":"https://api.github.com/repos/CIA-hideout/three-chances/commits{/sha}","git_commits_url":"https://api.github.com/repos/CIA-hideout/three-chances/git/commits{/sha}","comments_url":"https://api.github.com/repos/CIA-hideout/three-chances/comments{/number}","issue_comment_url":"https://api.github.com/repos/CIA-hideout/three-chances/issues/comments{/number}","contents_url":"https://api.github.com/repos/CIA-hideout/three-chances/contents/{+path}","compare_url":"https://api.github.com/repos/CIA-hideout/three-chances/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CIA-hideout/three-chances/merges","archive_url":"https://api.github.com/repos/CIA-hideout/three-chances/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CIA-hideout/three-chances/downloads","issues_url":"https://api.github.com/repos/CIA-hideout/three-chances/issues{/number}","pulls_url":"https://api.github.com/repos/CIA-hideout/three-chances/pulls{/number}","milestones_url":"https://api.github.com/repos/CIA-hideout/three-chances/milestones{/number}","notifications_url":"https://api.github.com/repos/CIA-hideout/three-chances/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CIA-hideout/three-chances/labels{/name}","releases_url":"https://api.github.com/repos/CIA-hideout/three-chances/releases{/id}","deployments_url":"https://api.github.com/repos/CIA-hideout/three-chances/deployments","created_at":"2016-11-21T07:06:03Z","updated_at":"2016-11-21T07:54:34Z","pushed_at":"2016-11-23T03:32:32Z","git_url":"git://github.com/CIA-hideout/three-chances.git","ssh_url":"git@github.com:CIA-hideout/three-chances.git","clone_url":"https://github.com/CIA-hideout/three-chances.git","svn_url":"https://github.com/CIA-hideout/three-chances","homepage":null,"size":275,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/4"},"html":{"href":"https://github.com/CIA-hideout/three-chances/pull/4"},"issue":{"href":"https://api.github.com/repos/CIA-hideout/three-chances/issues/4"},"comments":{"href":"https://api.github.com/repos/CIA-hideout/three-chances/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CIA-hideout/three-chances/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/CIA-hideout/three-chances/statuses/622b247795f1fab230ab006e79325eaff8acfdf3"}}}}
{"actor":{"display_login":"chesterhow"}}