{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/straker/kontra/pulls/11","id":137541636,"html_url":"https://github.com/straker/kontra/pull/11","diff_url":"https://github.com/straker/kontra/pull/11.diff","patch_url":"https://github.com/straker/kontra/pull/11.patch","issue_url":"https://api.github.com/repos/straker/kontra/issues/11","number":11,"state":"open","locked":false,"title":"Ability to play a animation a single time","user":{"login":"f0086","id":121972,"avatar_url":"https://avatars2.githubusercontent.com/u/121972?v=4","gravatar_id":"","url":"https://api.github.com/users/f0086","html_url":"https://github.com/f0086","followers_url":"https://api.github.com/users/f0086/followers","following_url":"https://api.github.com/users/f0086/following{/other_user}","gists_url":"https://api.github.com/users/f0086/gists{/gist_id}","starred_url":"https://api.github.com/users/f0086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f0086/subscriptions","organizations_url":"https://api.github.com/users/f0086/orgs","repos_url":"https://api.github.com/users/f0086/repos","events_url":"https://api.github.com/users/f0086/events{/privacy}","received_events_url":"https://api.github.com/users/f0086/received_events","type":"User","site_admin":false},"body":"I've renamed the ```playAnimation()``` into ```loopAnimation()``` and add a slightly different functionality to ```playAnimation()``` to play an animation just a single time. This makes the animation feature more useful for stuff like open a door.\r\n\r\nFurthermore I've done some code cleanup.","created_at":"2017-08-24T20:14:42Z","updated_at":"2017-08-24T20:14:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/straker/kontra/pulls/11/commits","review_comments_url":"https://api.github.com/repos/straker/kontra/pulls/11/comments","review_comment_url":"https://api.github.com/repos/straker/kontra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/straker/kontra/issues/11/comments","statuses_url":"https://api.github.com/repos/straker/kontra/statuses/6955f8f02e758d7de28709a082a6d31c2a90ea3d","head":{"label":"f0086:master","ref":"master","sha":"6955f8f02e758d7de28709a082a6d31c2a90ea3d","user":{"login":"f0086","id":121972,"avatar_url":"https://avatars2.githubusercontent.com/u/121972?v=4","gravatar_id":"","url":"https://api.github.com/users/f0086","html_url":"https://github.com/f0086","followers_url":"https://api.github.com/users/f0086/followers","following_url":"https://api.github.com/users/f0086/following{/other_user}","gists_url":"https://api.github.com/users/f0086/gists{/gist_id}","starred_url":"https://api.github.com/users/f0086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f0086/subscriptions","organizations_url":"https://api.github.com/users/f0086/orgs","repos_url":"https://api.github.com/users/f0086/repos","events_url":"https://api.github.com/users/f0086/events{/privacy}","received_events_url":"https://api.github.com/users/f0086/received_events","type":"User","site_admin":false},"repo":{"id":101331009,"name":"kontra","full_name":"f0086/kontra","owner":{"login":"f0086","id":121972,"avatar_url":"https://avatars2.githubusercontent.com/u/121972?v=4","gravatar_id":"","url":"https://api.github.com/users/f0086","html_url":"https://github.com/f0086","followers_url":"https://api.github.com/users/f0086/followers","following_url":"https://api.github.com/users/f0086/following{/other_user}","gists_url":"https://api.github.com/users/f0086/gists{/gist_id}","starred_url":"https://api.github.com/users/f0086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f0086/subscriptions","organizations_url":"https://api.github.com/users/f0086/orgs","repos_url":"https://api.github.com/users/f0086/repos","events_url":"https://api.github.com/users/f0086/events{/privacy}","received_events_url":"https://api.github.com/users/f0086/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/f0086/kontra","description":"A lightweight JavaScript gaming micro-library, optimized for js13kGames.","fork":true,"url":"https://api.github.com/repos/f0086/kontra","forks_url":"https://api.github.com/repos/f0086/kontra/forks","keys_url":"https://api.github.com/repos/f0086/kontra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/f0086/kontra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/f0086/kontra/teams","hooks_url":"https://api.github.com/repos/f0086/kontra/hooks","issue_events_url":"https://api.github.com/repos/f0086/kontra/issues/events{/number}","events_url":"https://api.github.com/repos/f0086/kontra/events","assignees_url":"https://api.github.com/repos/f0086/kontra/assignees{/user}","branches_url":"https://api.github.com/repos/f0086/kontra/branches{/branch}","tags_url":"https://api.github.com/repos/f0086/kontra/tags","blobs_url":"https://api.github.com/repos/f0086/kontra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/f0086/kontra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/f0086/kontra/git/refs{/sha}","trees_url":"https://api.github.com/repos/f0086/kontra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/f0086/kontra/statuses/{sha}","languages_url":"https://api.github.com/repos/f0086/kontra/languages","stargazers_url":"https://api.github.com/repos/f0086/kontra/stargazers","contributors_url":"https://api.github.com/repos/f0086/kontra/contributors","subscribers_url":"https://api.github.com/repos/f0086/kontra/subscribers","subscription_url":"https://api.github.com/repos/f0086/kontra/subscription","commits_url":"https://api.github.com/repos/f0086/kontra/commits{/sha}","git_commits_url":"https://api.github.com/repos/f0086/kontra/git/commits{/sha}","comments_url":"https://api.github.com/repos/f0086/kontra/comments{/number}","issue_comment_url":"https://api.github.com/repos/f0086/kontra/issues/comments{/number}","contents_url":"https://api.github.com/repos/f0086/kontra/contents/{+path}","compare_url":"https://api.github.com/repos/f0086/kontra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/f0086/kontra/merges","archive_url":"https://api.github.com/repos/f0086/kontra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/f0086/kontra/downloads","issues_url":"https://api.github.com/repos/f0086/kontra/issues{/number}","pulls_url":"https://api.github.com/repos/f0086/kontra/pulls{/number}","milestones_url":"https://api.github.com/repos/f0086/kontra/milestones{/number}","notifications_url":"https://api.github.com/repos/f0086/kontra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/f0086/kontra/labels{/name}","releases_url":"https://api.github.com/repos/f0086/kontra/releases{/id}","deployments_url":"https://api.github.com/repos/f0086/kontra/deployments","created_at":"2017-08-24T19:34:29Z","updated_at":"2017-08-24T19:34:31Z","pushed_at":"2017-08-24T20:09:17Z","git_url":"git://github.com/f0086/kontra.git","ssh_url":"git@github.com:f0086/kontra.git","clone_url":"https://github.com/f0086/kontra.git","svn_url":"https://github.com/f0086/kontra","homepage":"https://straker.github.io/kontra/","size":4694,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"straker:master","ref":"master","sha":"a9eb0cde7d42b938281644b007dd6ad6f76310b9","user":{"login":"straker","id":2433219,"avatar_url":"https://avatars3.githubusercontent.com/u/2433219?v=4","gravatar_id":"","url":"https://api.github.com/users/straker","html_url":"https://github.com/straker","followers_url":"https://api.github.com/users/straker/followers","following_url":"https://api.github.com/users/straker/following{/other_user}","gists_url":"https://api.github.com/users/straker/gists{/gist_id}","starred_url":"https://api.github.com/users/straker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/straker/subscriptions","organizations_url":"https://api.github.com/users/straker/orgs","repos_url":"https://api.github.com/users/straker/repos","events_url":"https://api.github.com/users/straker/events{/privacy}","received_events_url":"https://api.github.com/users/straker/received_events","type":"User","site_admin":false},"repo":{"id":31837372,"name":"kontra","full_name":"straker/kontra","owner":{"login":"straker","id":2433219,"avatar_url":"https://avatars3.githubusercontent.com/u/2433219?v=4","gravatar_id":"","url":"https://api.github.com/users/straker","html_url":"https://github.com/straker","followers_url":"https://api.github.com/users/straker/followers","following_url":"https://api.github.com/users/straker/following{/other_user}","gists_url":"https://api.github.com/users/straker/gists{/gist_id}","starred_url":"https://api.github.com/users/straker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/straker/subscriptions","organizations_url":"https://api.github.com/users/straker/orgs","repos_url":"https://api.github.com/users/straker/repos","events_url":"https://api.github.com/users/straker/events{/privacy}","received_events_url":"https://api.github.com/users/straker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/straker/kontra","description":"A lightweight JavaScript gaming micro-library, optimized for js13kGames.","fork":false,"url":"https://api.github.com/repos/straker/kontra","forks_url":"https://api.github.com/repos/straker/kontra/forks","keys_url":"https://api.github.com/repos/straker/kontra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/straker/kontra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/straker/kontra/teams","hooks_url":"https://api.github.com/repos/straker/kontra/hooks","issue_events_url":"https://api.github.com/repos/straker/kontra/issues/events{/number}","events_url":"https://api.github.com/repos/straker/kontra/events","assignees_url":"https://api.github.com/repos/straker/kontra/assignees{/user}","branches_url":"https://api.github.com/repos/straker/kontra/branches{/branch}","tags_url":"https://api.github.com/repos/straker/kontra/tags","blobs_url":"https://api.github.com/repos/straker/kontra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/straker/kontra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/straker/kontra/git/refs{/sha}","trees_url":"https://api.github.com/repos/straker/kontra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/straker/kontra/statuses/{sha}","languages_url":"https://api.github.com/repos/straker/kontra/languages","stargazers_url":"https://api.github.com/repos/straker/kontra/stargazers","contributors_url":"https://api.github.com/repos/straker/kontra/contributors","subscribers_url":"https://api.github.com/repos/straker/kontra/subscribers","subscription_url":"https://api.github.com/repos/straker/kontra/subscription","commits_url":"https://api.github.com/repos/straker/kontra/commits{/sha}","git_commits_url":"https://api.github.com/repos/straker/kontra/git/commits{/sha}","comments_url":"https://api.github.com/repos/straker/kontra/comments{/number}","issue_comment_url":"https://api.github.com/repos/straker/kontra/issues/comments{/number}","contents_url":"https://api.github.com/repos/straker/kontra/contents/{+path}","compare_url":"https://api.github.com/repos/straker/kontra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/straker/kontra/merges","archive_url":"https://api.github.com/repos/straker/kontra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/straker/kontra/downloads","issues_url":"https://api.github.com/repos/straker/kontra/issues{/number}","pulls_url":"https://api.github.com/repos/straker/kontra/pulls{/number}","milestones_url":"https://api.github.com/repos/straker/kontra/milestones{/number}","notifications_url":"https://api.github.com/repos/straker/kontra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/straker/kontra/labels{/name}","releases_url":"https://api.github.com/repos/straker/kontra/releases{/id}","deployments_url":"https://api.github.com/repos/straker/kontra/deployments","created_at":"2015-03-08T03:45:20Z","updated_at":"2017-08-22T18:32:14Z","pushed_at":"2017-08-16T04:54:52Z","git_url":"git://github.com/straker/kontra.git","ssh_url":"git@github.com:straker/kontra.git","clone_url":"https://github.com/straker/kontra.git","svn_url":"https://github.com/straker/kontra","homepage":"https://straker.github.io/kontra/","size":4694,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/straker/kontra/pulls/11"},"html":{"href":"https://github.com/straker/kontra/pull/11"},"issue":{"href":"https://api.github.com/repos/straker/kontra/issues/11"},"comments":{"href":"https://api.github.com/repos/straker/kontra/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/straker/kontra/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/straker/kontra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/straker/kontra/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/straker/kontra/statuses/6955f8f02e758d7de28709a082a6d31c2a90ea3d"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":30,"deletions":9,"changed_files":4}}
{"actor":{"display_login":"f0086"}}