{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/pulls/4","id":27980867,"html_url":"https://github.com/KamikazePanthers/GGJ2015/pull/4","diff_url":"https://github.com/KamikazePanthers/GGJ2015/pull/4.diff","patch_url":"https://github.com/KamikazePanthers/GGJ2015/pull/4.patch","issue_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/issues/4","number":4,"state":"closed","locked":false,"title":"Enemy Patrol","user":{"login":"xeBuz","id":662916,"avatar_url":"https://avatars.githubusercontent.com/u/662916?v=3","gravatar_id":"","url":"https://api.github.com/users/xeBuz","html_url":"https://github.com/xeBuz","followers_url":"https://api.github.com/users/xeBuz/followers","following_url":"https://api.github.com/users/xeBuz/following{/other_user}","gists_url":"https://api.github.com/users/xeBuz/gists{/gist_id}","starred_url":"https://api.github.com/users/xeBuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeBuz/subscriptions","organizations_url":"https://api.github.com/users/xeBuz/orgs","repos_url":"https://api.github.com/users/xeBuz/repos","events_url":"https://api.github.com/users/xeBuz/events{/privacy}","received_events_url":"https://api.github.com/users/xeBuz/received_events","type":"User","site_admin":false},"body":"Usage:\r\n```javascript\r\n    var EnemyPatrol = require('../modules/enemies/patrol')\r\n    module.exports = function(game) {\r\n\r\n        var levelState = {};\r\n        patrol = new EnemyPatrol(game, 400, 130);\r\n        game.add.existing(patrol);\r\n    }\r\n    levelState.update = function () {\r\n       game.physics.arcade.collide(p, blockedLayer);\r\n   }\r\n```\r\n\r\nMove horizontally, changing slightly the speed","created_at":"2015-01-24T19:24:05Z","updated_at":"2015-01-24T19:29:48Z","closed_at":"2015-01-24T19:29:48Z","merged_at":"2015-01-24T19:29:48Z","merge_commit_sha":"867533cfdd1aa6580f48a04de02d89e8e465749d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/pulls/4/commits","review_comments_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/pulls/4/comments","review_comment_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/pulls/comments/{number}","comments_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/issues/4/comments","statuses_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/statuses/57e1b92640a2b7dff50ae49a22269a35a366b869","head":{"label":"KamikazePanthers:xebuz_enemypatrol","ref":"xebuz_enemypatrol","sha":"57e1b92640a2b7dff50ae49a22269a35a366b869","user":{"login":"KamikazePanthers","id":10678908,"avatar_url":"https://avatars.githubusercontent.com/u/10678908?v=3","gravatar_id":"","url":"https://api.github.com/users/KamikazePanthers","html_url":"https://github.com/KamikazePanthers","followers_url":"https://api.github.com/users/KamikazePanthers/followers","following_url":"https://api.github.com/users/KamikazePanthers/following{/other_user}","gists_url":"https://api.github.com/users/KamikazePanthers/gists{/gist_id}","starred_url":"https://api.github.com/users/KamikazePanthers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KamikazePanthers/subscriptions","organizations_url":"https://api.github.com/users/KamikazePanthers/orgs","repos_url":"https://api.github.com/users/KamikazePanthers/repos","events_url":"https://api.github.com/users/KamikazePanthers/events{/privacy}","received_events_url":"https://api.github.com/users/KamikazePanthers/received_events","type":"Organization","site_admin":false},"repo":{"id":29761709,"name":"GGJ2015","full_name":"KamikazePanthers/GGJ2015","owner":{"login":"KamikazePanthers","id":10678908,"avatar_url":"https://avatars.githubusercontent.com/u/10678908?v=3","gravatar_id":"","url":"https://api.github.com/users/KamikazePanthers","html_url":"https://github.com/KamikazePanthers","followers_url":"https://api.github.com/users/KamikazePanthers/followers","following_url":"https://api.github.com/users/KamikazePanthers/following{/other_user}","gists_url":"https://api.github.com/users/KamikazePanthers/gists{/gist_id}","starred_url":"https://api.github.com/users/KamikazePanthers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KamikazePanthers/subscriptions","organizations_url":"https://api.github.com/users/KamikazePanthers/orgs","repos_url":"https://api.github.com/users/KamikazePanthers/repos","events_url":"https://api.github.com/users/KamikazePanthers/events{/privacy}","received_events_url":"https://api.github.com/users/KamikazePanthers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KamikazePanthers/GGJ2015","description":"Much game, so programming, wow","fork":false,"url":"https://api.github.com/repos/KamikazePanthers/GGJ2015","forks_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/forks","keys_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/teams","hooks_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/hooks","issue_events_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/issues/events{/number}","events_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/events","assignees_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/assignees{/user}","branches_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/branches{/branch}","tags_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/tags","blobs_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/statuses/{sha}","languages_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/languages","stargazers_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/stargazers","contributors_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/contributors","subscribers_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/subscribers","subscription_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/subscription","commits_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/issues/comments/{number}","contents_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/contents/{+path}","compare_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/merges","archive_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/downloads","issues_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/issues{/number}","pulls_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/pulls{/number}","milestones_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/milestones{/number}","notifications_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/labels{/name}","releases_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/releases{/id}","created_at":"2015-01-24T01:46:23Z","updated_at":"2015-01-24T14:58:37Z","pushed_at":"2015-01-24T19:29:48Z","git_url":"git://github.com/KamikazePanthers/GGJ2015.git","ssh_url":"git@github.com:KamikazePanthers/GGJ2015.git","clone_url":"https://github.com/KamikazePanthers/GGJ2015.git","svn_url":"https://github.com/KamikazePanthers/GGJ2015","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"KamikazePanthers:master","ref":"master","sha":"64af044fc8b4b77274f8282abcb830ff26c53fe7","user":{"login":"KamikazePanthers","id":10678908,"avatar_url":"https://avatars.githubusercontent.com/u/10678908?v=3","gravatar_id":"","url":"https://api.github.com/users/KamikazePanthers","html_url":"https://github.com/KamikazePanthers","followers_url":"https://api.github.com/users/KamikazePanthers/followers","following_url":"https://api.github.com/users/KamikazePanthers/following{/other_user}","gists_url":"https://api.github.com/users/KamikazePanthers/gists{/gist_id}","starred_url":"https://api.github.com/users/KamikazePanthers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KamikazePanthers/subscriptions","organizations_url":"https://api.github.com/users/KamikazePanthers/orgs","repos_url":"https://api.github.com/users/KamikazePanthers/repos","events_url":"https://api.github.com/users/KamikazePanthers/events{/privacy}","received_events_url":"https://api.github.com/users/KamikazePanthers/received_events","type":"Organization","site_admin":false},"repo":{"id":29761709,"name":"GGJ2015","full_name":"KamikazePanthers/GGJ2015","owner":{"login":"KamikazePanthers","id":10678908,"avatar_url":"https://avatars.githubusercontent.com/u/10678908?v=3","gravatar_id":"","url":"https://api.github.com/users/KamikazePanthers","html_url":"https://github.com/KamikazePanthers","followers_url":"https://api.github.com/users/KamikazePanthers/followers","following_url":"https://api.github.com/users/KamikazePanthers/following{/other_user}","gists_url":"https://api.github.com/users/KamikazePanthers/gists{/gist_id}","starred_url":"https://api.github.com/users/KamikazePanthers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KamikazePanthers/subscriptions","organizations_url":"https://api.github.com/users/KamikazePanthers/orgs","repos_url":"https://api.github.com/users/KamikazePanthers/repos","events_url":"https://api.github.com/users/KamikazePanthers/events{/privacy}","received_events_url":"https://api.github.com/users/KamikazePanthers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KamikazePanthers/GGJ2015","description":"Much game, so programming, wow","fork":false,"url":"https://api.github.com/repos/KamikazePanthers/GGJ2015","forks_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/forks","keys_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/teams","hooks_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/hooks","issue_events_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/issues/events{/number}","events_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/events","assignees_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/assignees{/user}","branches_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/branches{/branch}","tags_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/tags","blobs_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/statuses/{sha}","languages_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/languages","stargazers_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/stargazers","contributors_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/contributors","subscribers_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/subscribers","subscription_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/subscription","commits_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/issues/comments/{number}","contents_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/contents/{+path}","compare_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/merges","archive_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/downloads","issues_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/issues{/number}","pulls_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/pulls{/number}","milestones_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/milestones{/number}","notifications_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/labels{/name}","releases_url":"https://api.github.com/repos/KamikazePanthers/GGJ2015/releases{/id}","created_at":"2015-01-24T01:46:23Z","updated_at":"2015-01-24T14:58:37Z","pushed_at":"2015-01-24T19:29:48Z","git_url":"git://github.com/KamikazePanthers/GGJ2015.git","ssh_url":"git@github.com:KamikazePanthers/GGJ2015.git","clone_url":"https://github.com/KamikazePanthers/GGJ2015.git","svn_url":"https://github.com/KamikazePanthers/GGJ2015","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KamikazePanthers/GGJ2015/pulls/4"},"html":{"href":"https://github.com/KamikazePanthers/GGJ2015/pull/4"},"issue":{"href":"https://api.github.com/repos/KamikazePanthers/GGJ2015/issues/4"},"comments":{"href":"https://api.github.com/repos/KamikazePanthers/GGJ2015/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/KamikazePanthers/GGJ2015/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/KamikazePanthers/GGJ2015/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/KamikazePanthers/GGJ2015/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/KamikazePanthers/GGJ2015/statuses/57e1b92640a2b7dff50ae49a22269a35a366b869"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"xeBuz","id":662916,"avatar_url":"https://avatars.githubusercontent.com/u/662916?v=3","gravatar_id":"","url":"https://api.github.com/users/xeBuz","html_url":"https://github.com/xeBuz","followers_url":"https://api.github.com/users/xeBuz/followers","following_url":"https://api.github.com/users/xeBuz/following{/other_user}","gists_url":"https://api.github.com/users/xeBuz/gists{/gist_id}","starred_url":"https://api.github.com/users/xeBuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeBuz/subscriptions","organizations_url":"https://api.github.com/users/xeBuz/orgs","repos_url":"https://api.github.com/users/xeBuz/repos","events_url":"https://api.github.com/users/xeBuz/events{/privacy}","received_events_url":"https://api.github.com/users/xeBuz/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":26,"deletions":0,"changed_files":3}}