GitHub PullRequestEvent at 2014-03-03 22:09:32
Repository: Troll-Hunter
Actor: scmx
Payload: {"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/pulls/14","id":13136162,"html_url":"https://github.com/CrazyDave1/Troll-Hunter/pull/14","diff_url":"https://github.com/CrazyDave1/Troll-Hunter/pull/14.diff","patch_url":"https://github.com/CrazyDave1/Troll-Hunter/pull/14.patch","issue_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/issues/14","number":14,"state":"open","title":"Add constructor for Troll object","user":{"login":"scmx","id":603846,"avatar_url":"https://avatars.githubusercontent.com/u/603846","gravatar_id":"9239c3f07d45b3c2c106e33eee51c37e","url":"https://api.github.com/users/scmx","html_url":"https://github.com/scmx","followers_url":"https://api.github.com/users/scmx/followers","following_url":"https://api.github.com/users/scmx/following{/other_user}","gists_url":"https://api.github.com/users/scmx/gists{/gist_id}","starred_url":"https://api.github.com/users/scmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scmx/subscriptions","organizations_url":"https://api.github.com/users/scmx/orgs","repos_url":"https://api.github.com/users/scmx/repos","events_url":"https://api.github.com/users/scmx/events{/privacy}","received_events_url":"https://api.github.com/users/scmx/received_events","type":"User","site_admin":false},"body":"Lägger till en konstruktor för Troll.\r\nFör varje ny instans kan man välja varthän den ska hamna och vilket\r\nmaxHp den ska ha. Jag skapar en ny instans när ett troll dör och skickar\r\nmed vad det förra trollet hade för maxHp * 2 när det nya skapas.\r\ndelay() metoden behöver lagas, se issue #13.\r\nSkapade en variabel för positionen av trollSpawn.","created_at":"2014-03-03T22:09:32Z","updated_at":"2014-03-03T22:09:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/pulls/14/commits","review_comments_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/pulls/14/comments","review_comment_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/issues/14/comments","statuses_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/statuses/8fb36ee472891ce96b4e682884c8b38b67a1aac5","head":{"label":"scmx:troll-constructor","ref":"troll-constructor","sha":"8fb36ee472891ce96b4e682884c8b38b67a1aac5","user":{"login":"scmx","id":603846,"avatar_url":"https://avatars.githubusercontent.com/u/603846","gravatar_id":"9239c3f07d45b3c2c106e33eee51c37e","url":"https://api.github.com/users/scmx","html_url":"https://github.com/scmx","followers_url":"https://api.github.com/users/scmx/followers","following_url":"https://api.github.com/users/scmx/following{/other_user}","gists_url":"https://api.github.com/users/scmx/gists{/gist_id}","starred_url":"https://api.github.com/users/scmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scmx/subscriptions","organizations_url":"https://api.github.com/users/scmx/orgs","repos_url":"https://api.github.com/users/scmx/repos","events_url":"https://api.github.com/users/scmx/events{/privacy}","received_events_url":"https://api.github.com/users/scmx/received_events","type":"User","site_admin":false},"repo":{"id":17333975,"name":"Troll-Hunter","full_name":"scmx/Troll-Hunter","owner":{"login":"scmx","id":603846,"avatar_url":"https://avatars.githubusercontent.com/u/603846","gravatar_id":"9239c3f07d45b3c2c106e33eee51c37e","url":"https://api.github.com/users/scmx","html_url":"https://github.com/scmx","followers_url":"https://api.github.com/users/scmx/followers","following_url":"https://api.github.com/users/scmx/following{/other_user}","gists_url":"https://api.github.com/users/scmx/gists{/gist_id}","starred_url":"https://api.github.com/users/scmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scmx/subscriptions","organizations_url":"https://api.github.com/users/scmx/orgs","repos_url":"https://api.github.com/users/scmx/repos","events_url":"https://api.github.com/users/scmx/events{/privacy}","received_events_url":"https://api.github.com/users/scmx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scmx/Troll-Hunter","description":null,"fork":true,"url":"https://api.github.com/repos/scmx/Troll-Hunter","forks_url":"https://api.github.com/repos/scmx/Troll-Hunter/forks","keys_url":"https://api.github.com/repos/scmx/Troll-Hunter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scmx/Troll-Hunter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scmx/Troll-Hunter/teams","hooks_url":"https://api.github.com/repos/scmx/Troll-Hunter/hooks","issue_events_url":"https://api.github.com/repos/scmx/Troll-Hunter/issues/events{/number}","events_url":"https://api.github.com/repos/scmx/Troll-Hunter/events","assignees_url":"https://api.github.com/repos/scmx/Troll-Hunter/assignees{/user}","branches_url":"https://api.github.com/repos/scmx/Troll-Hunter/branches{/branch}","tags_url":"https://api.github.com/repos/scmx/Troll-Hunter/tags","blobs_url":"https://api.github.com/repos/scmx/Troll-Hunter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scmx/Troll-Hunter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scmx/Troll-Hunter/git/refs{/sha}","trees_url":"https://api.github.com/repos/scmx/Troll-Hunter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scmx/Troll-Hunter/statuses/{sha}","languages_url":"https://api.github.com/repos/scmx/Troll-Hunter/languages","stargazers_url":"https://api.github.com/repos/scmx/Troll-Hunter/stargazers","contributors_url":"https://api.github.com/repos/scmx/Troll-Hunter/contributors","subscribers_url":"https://api.github.com/repos/scmx/Troll-Hunter/subscribers","subscription_url":"https://api.github.com/repos/scmx/Troll-Hunter/subscription","commits_url":"https://api.github.com/repos/scmx/Troll-Hunter/commits{/sha}","git_commits_url":"https://api.github.com/repos/scmx/Troll-Hunter/git/commits{/sha}","comments_url":"https://api.github.com/repos/scmx/Troll-Hunter/comments{/number}","issue_comment_url":"https://api.github.com/repos/scmx/Troll-Hunter/issues/comments/{number}","contents_url":"https://api.github.com/repos/scmx/Troll-Hunter/contents/{+path}","compare_url":"https://api.github.com/repos/scmx/Troll-Hunter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scmx/Troll-Hunter/merges","archive_url":"https://api.github.com/repos/scmx/Troll-Hunter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scmx/Troll-Hunter/downloads","issues_url":"https://api.github.com/repos/scmx/Troll-Hunter/issues{/number}","pulls_url":"https://api.github.com/repos/scmx/Troll-Hunter/pulls{/number}","milestones_url":"https://api.github.com/repos/scmx/Troll-Hunter/milestones{/number}","notifications_url":"https://api.github.com/repos/scmx/Troll-Hunter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scmx/Troll-Hunter/labels{/name}","releases_url":"https://api.github.com/repos/scmx/Troll-Hunter/releases{/id}","created_at":"2014-03-02T08:24:26Z","updated_at":"2014-03-03T22:09:32Z","pushed_at":"2014-03-03T22:09:16Z","git_url":"git://github.com/scmx/Troll-Hunter.git","ssh_url":"git@github.com:scmx/Troll-Hunter.git","clone_url":"https://github.com/scmx/Troll-Hunter.git","svn_url":"https://github.com/scmx/Troll-Hunter","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"CrazyDave1:master","ref":"master","sha":"a2df26f60208555632d13ec8a6dfd7894876b348","user":{"login":"CrazyDave1","id":6639420,"avatar_url":"https://avatars.githubusercontent.com/u/6639420","gravatar_id":"2f5526b62552e2ce30d19e896b68f04d","url":"https://api.github.com/users/CrazyDave1","html_url":"https://github.com/CrazyDave1","followers_url":"https://api.github.com/users/CrazyDave1/followers","following_url":"https://api.github.com/users/CrazyDave1/following{/other_user}","gists_url":"https://api.github.com/users/CrazyDave1/gists{/gist_id}","starred_url":"https://api.github.com/users/CrazyDave1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrazyDave1/subscriptions","organizations_url":"https://api.github.com/users/CrazyDave1/orgs","repos_url":"https://api.github.com/users/CrazyDave1/repos","events_url":"https://api.github.com/users/CrazyDave1/events{/privacy}","received_events_url":"https://api.github.com/users/CrazyDave1/received_events","type":"User","site_admin":false},"repo":{"id":17289556,"name":"Troll-Hunter","full_name":"CrazyDave1/Troll-Hunter","owner":{"login":"CrazyDave1","id":6639420,"avatar_url":"https://avatars.githubusercontent.com/u/6639420","gravatar_id":"2f5526b62552e2ce30d19e896b68f04d","url":"https://api.github.com/users/CrazyDave1","html_url":"https://github.com/CrazyDave1","followers_url":"https://api.github.com/users/CrazyDave1/followers","following_url":"https://api.github.com/users/CrazyDave1/following{/other_user}","gists_url":"https://api.github.com/users/CrazyDave1/gists{/gist_id}","starred_url":"https://api.github.com/users/CrazyDave1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrazyDave1/subscriptions","organizations_url":"https://api.github.com/users/CrazyDave1/orgs","repos_url":"https://api.github.com/users/CrazyDave1/repos","events_url":"https://api.github.com/users/CrazyDave1/events{/privacy}","received_events_url":"https://api.github.com/users/CrazyDave1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CrazyDave1/Troll-Hunter","description":null,"fork":false,"url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter","forks_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/forks","keys_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/teams","hooks_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/hooks","issue_events_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/issues/events{/number}","events_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/events","assignees_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/assignees{/user}","branches_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/branches{/branch}","tags_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/tags","blobs_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/git/refs{/sha}","trees_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/statuses/{sha}","languages_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/languages","stargazers_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/stargazers","contributors_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/contributors","subscribers_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/subscribers","subscription_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/subscription","commits_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/commits{/sha}","git_commits_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/git/commits{/sha}","comments_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/comments{/number}","issue_comment_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/issues/comments/{number}","contents_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/contents/{+path}","compare_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/merges","archive_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/downloads","issues_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/issues{/number}","pulls_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/pulls{/number}","milestones_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/milestones{/number}","notifications_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/labels{/name}","releases_url":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/releases{/id}","created_at":"2014-02-28T15:05:35Z","updated_at":"2014-03-03T15:18:25Z","pushed_at":"2014-03-03T15:18:25Z","git_url":"git://github.com/CrazyDave1/Troll-Hunter.git","ssh_url":"git@github.com:CrazyDave1/Troll-Hunter.git","clone_url":"https://github.com/CrazyDave1/Troll-Hunter.git","svn_url":"https://github.com/CrazyDave1/Troll-Hunter","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":4,"mirror_url":null,"open_issues_count":6,"forks":4,"open_issues":6,"watchers":0,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/pulls/14"},"html":{"href":"https://github.com/CrazyDave1/Troll-Hunter/pull/14"},"issue":{"href":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/issues/14"},"comments":{"href":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/CrazyDave1/Troll-Hunter/statuses/8fb36ee472891ce96b4e682884c8b38b67a1aac5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":36,"deletions":19,"changed_files":3}}