{"action":"created","comment":{"url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/comments/40169384","id":40169384,"diff_hunk":"@@ -0,0 +1,56 @@\n+package bomb;\n+\n+import android.graphics.Canvas;\n+import android.graphics.Color;\n+import android.graphics.Paint;\n+\n+import java.util.LinkedList;\n+import java.util.List;\n+import jet.FriendJet;\n+import jet.JetAnimation;\n+\n+/**\n+ * Created by Ruiqian on 9/20/2015.\n+ */\n+public class KamikazeBomb extends Bomb{\n+\n+    private List<FriendJet> mFriendJets;\n+    public KamikazeBomb(float x, float y,Paint p){\n+        super(x,y,0,p);\n+        mFriendJets = new LinkedList<>();\n+        generateFriendJets();\n+\n+    }\n+\n+    public List<FriendJet> getFriendJets(){\n+        return mFriendJets;\n+    }\n+    @Override\n+    public void tick(){\n+        if(mFriendJets != null){\n+            for(FriendJet friendJet : mFriendJets){\n+                friendJet.tick();\n+            }\n+        }\n+    }\n+\n+    @Override\n+    public void draw(Canvas canvas){\n+        if(mFriendJets != null){\n+            for(FriendJet friendJet : mFriendJets){\n+                friendJet.draw(canvas);\n+            }\n+        }\n+    }\n+\n+    private void generateFriendJets(){","path":"app/src/main/java/bomb/KamikazeBomb.java","position":46,"original_position":46,"commit_id":"e2cb6b66c3ab7b7694bbf87438be96323047548b","original_commit_id":"e2cb6b66c3ab7b7694bbf87438be96323047548b","user":{"login":"yihuaqi","id":9041606,"avatar_url":"https://avatars.githubusercontent.com/u/9041606?v=3","gravatar_id":"","url":"https://api.github.com/users/yihuaqi","html_url":"https://github.com/yihuaqi","followers_url":"https://api.github.com/users/yihuaqi/followers","following_url":"https://api.github.com/users/yihuaqi/following{/other_user}","gists_url":"https://api.github.com/users/yihuaqi/gists{/gist_id}","starred_url":"https://api.github.com/users/yihuaqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihuaqi/subscriptions","organizations_url":"https://api.github.com/users/yihuaqi/orgs","repos_url":"https://api.github.com/users/yihuaqi/repos","events_url":"https://api.github.com/users/yihuaqi/events{/privacy}","received_events_url":"https://api.github.com/users/yihuaqi/received_events","type":"User","site_admin":false},"body":"FriendJets should be put into CollisionEngine","created_at":"2015-09-23T03:57:24Z","updated_at":"2015-09-23T03:57:24Z","html_url":"https://github.com/SteinsGateFFF/shooting-star/pull/33#discussion_r40169384","pull_request_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/comments/40169384"},"html":{"href":"https://github.com/SteinsGateFFF/shooting-star/pull/33#discussion_r40169384"},"pull_request":{"href":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/33","id":45740430,"html_url":"https://github.com/SteinsGateFFF/shooting-star/pull/33","diff_url":"https://github.com/SteinsGateFFF/shooting-star/pull/33.diff","patch_url":"https://github.com/SteinsGateFFF/shooting-star/pull/33.patch","issue_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/issues/33","number":33,"state":"open","locked":false,"title":"created bombs","user":{"login":"Jelly-Yu","id":3588334,"avatar_url":"https://avatars.githubusercontent.com/u/3588334?v=3","gravatar_id":"","url":"https://api.github.com/users/Jelly-Yu","html_url":"https://github.com/Jelly-Yu","followers_url":"https://api.github.com/users/Jelly-Yu/followers","following_url":"https://api.github.com/users/Jelly-Yu/following{/other_user}","gists_url":"https://api.github.com/users/Jelly-Yu/gists{/gist_id}","starred_url":"https://api.github.com/users/Jelly-Yu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jelly-Yu/subscriptions","organizations_url":"https://api.github.com/users/Jelly-Yu/orgs","repos_url":"https://api.github.com/users/Jelly-Yu/repos","events_url":"https://api.github.com/users/Jelly-Yu/events{/privacy}","received_events_url":"https://api.github.com/users/Jelly-Yu/received_events","type":"User","site_admin":false},"body":"Features described in doc were not fully implemented, will be improved later.\r\n@yihuaqi ","created_at":"2015-09-23T03:16:16Z","updated_at":"2015-09-23T03:57:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b77b350a4f3ec0839c79d15c06b4795a553c1262","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/33/commits","review_comments_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/33/comments","review_comment_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/issues/33/comments","statuses_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/statuses/e2cb6b66c3ab7b7694bbf87438be96323047548b","head":{"label":"Jelly-Yu:create-bomb","ref":"create-bomb","sha":"e2cb6b66c3ab7b7694bbf87438be96323047548b","user":{"login":"Jelly-Yu","id":3588334,"avatar_url":"https://avatars.githubusercontent.com/u/3588334?v=3","gravatar_id":"","url":"https://api.github.com/users/Jelly-Yu","html_url":"https://github.com/Jelly-Yu","followers_url":"https://api.github.com/users/Jelly-Yu/followers","following_url":"https://api.github.com/users/Jelly-Yu/following{/other_user}","gists_url":"https://api.github.com/users/Jelly-Yu/gists{/gist_id}","starred_url":"https://api.github.com/users/Jelly-Yu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jelly-Yu/subscriptions","organizations_url":"https://api.github.com/users/Jelly-Yu/orgs","repos_url":"https://api.github.com/users/Jelly-Yu/repos","events_url":"https://api.github.com/users/Jelly-Yu/events{/privacy}","received_events_url":"https://api.github.com/users/Jelly-Yu/received_events","type":"User","site_admin":false},"repo":{"id":41338531,"name":"shooting-star","full_name":"Jelly-Yu/shooting-star","owner":{"login":"Jelly-Yu","id":3588334,"avatar_url":"https://avatars.githubusercontent.com/u/3588334?v=3","gravatar_id":"","url":"https://api.github.com/users/Jelly-Yu","html_url":"https://github.com/Jelly-Yu","followers_url":"https://api.github.com/users/Jelly-Yu/followers","following_url":"https://api.github.com/users/Jelly-Yu/following{/other_user}","gists_url":"https://api.github.com/users/Jelly-Yu/gists{/gist_id}","starred_url":"https://api.github.com/users/Jelly-Yu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jelly-Yu/subscriptions","organizations_url":"https://api.github.com/users/Jelly-Yu/orgs","repos_url":"https://api.github.com/users/Jelly-Yu/repos","events_url":"https://api.github.com/users/Jelly-Yu/events{/privacy}","received_events_url":"https://api.github.com/users/Jelly-Yu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jelly-Yu/shooting-star","description":"This is a very interesting and funny shooting game.","fork":true,"url":"https://api.github.com/repos/Jelly-Yu/shooting-star","forks_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/forks","keys_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/teams","hooks_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/hooks","issue_events_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/issues/events{/number}","events_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/events","assignees_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/assignees{/user}","branches_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/branches{/branch}","tags_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/tags","blobs_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/statuses/{sha}","languages_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/languages","stargazers_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/stargazers","contributors_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/contributors","subscribers_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/subscribers","subscription_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/subscription","commits_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/contents/{+path}","compare_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/merges","archive_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/downloads","issues_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/issues{/number}","pulls_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/pulls{/number}","milestones_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/milestones{/number}","notifications_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/labels{/name}","releases_url":"https://api.github.com/repos/Jelly-Yu/shooting-star/releases{/id}","created_at":"2015-08-25T02:34:41Z","updated_at":"2015-08-25T02:34:41Z","pushed_at":"2015-09-23T03:13:12Z","git_url":"git://github.com/Jelly-Yu/shooting-star.git","ssh_url":"git@github.com:Jelly-Yu/shooting-star.git","clone_url":"https://github.com/Jelly-Yu/shooting-star.git","svn_url":"https://github.com/Jelly-Yu/shooting-star","homepage":null,"size":43849,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"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":"SteinsGateFFF:master","ref":"master","sha":"2abbb6538178cdcfaa29fe7bfba1e8cd92553ec6","user":{"login":"SteinsGateFFF","id":13899662,"avatar_url":"https://avatars.githubusercontent.com/u/13899662?v=3","gravatar_id":"","url":"https://api.github.com/users/SteinsGateFFF","html_url":"https://github.com/SteinsGateFFF","followers_url":"https://api.github.com/users/SteinsGateFFF/followers","following_url":"https://api.github.com/users/SteinsGateFFF/following{/other_user}","gists_url":"https://api.github.com/users/SteinsGateFFF/gists{/gist_id}","starred_url":"https://api.github.com/users/SteinsGateFFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteinsGateFFF/subscriptions","organizations_url":"https://api.github.com/users/SteinsGateFFF/orgs","repos_url":"https://api.github.com/users/SteinsGateFFF/repos","events_url":"https://api.github.com/users/SteinsGateFFF/events{/privacy}","received_events_url":"https://api.github.com/users/SteinsGateFFF/received_events","type":"Organization","site_admin":false},"repo":{"id":41141925,"name":"shooting-star","full_name":"SteinsGateFFF/shooting-star","owner":{"login":"SteinsGateFFF","id":13899662,"avatar_url":"https://avatars.githubusercontent.com/u/13899662?v=3","gravatar_id":"","url":"https://api.github.com/users/SteinsGateFFF","html_url":"https://github.com/SteinsGateFFF","followers_url":"https://api.github.com/users/SteinsGateFFF/followers","following_url":"https://api.github.com/users/SteinsGateFFF/following{/other_user}","gists_url":"https://api.github.com/users/SteinsGateFFF/gists{/gist_id}","starred_url":"https://api.github.com/users/SteinsGateFFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteinsGateFFF/subscriptions","organizations_url":"https://api.github.com/users/SteinsGateFFF/orgs","repos_url":"https://api.github.com/users/SteinsGateFFF/repos","events_url":"https://api.github.com/users/SteinsGateFFF/events{/privacy}","received_events_url":"https://api.github.com/users/SteinsGateFFF/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SteinsGateFFF/shooting-star","description":"This is a very interesting and funny shooting game.","fork":true,"url":"https://api.github.com/repos/SteinsGateFFF/shooting-star","forks_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/forks","keys_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/teams","hooks_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/hooks","issue_events_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/issues/events{/number}","events_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/events","assignees_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/assignees{/user}","branches_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/branches{/branch}","tags_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/tags","blobs_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/git/refs{/sha}","trees_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/statuses/{sha}","languages_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/languages","stargazers_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/stargazers","contributors_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/contributors","subscribers_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/subscribers","subscription_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/subscription","commits_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/commits{/sha}","git_commits_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/git/commits{/sha}","comments_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/comments{/number}","issue_comment_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/issues/comments{/number}","contents_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/contents/{+path}","compare_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/merges","archive_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/downloads","issues_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/issues{/number}","pulls_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls{/number}","milestones_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/milestones{/number}","notifications_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/labels{/name}","releases_url":"https://api.github.com/repos/SteinsGateFFF/shooting-star/releases{/id}","created_at":"2015-08-21T07:28:56Z","updated_at":"2015-08-25T04:00:26Z","pushed_at":"2015-09-23T03:16:16Z","git_url":"git://github.com/SteinsGateFFF/shooting-star.git","ssh_url":"git@github.com:SteinsGateFFF/shooting-star.git","clone_url":"https://github.com/SteinsGateFFF/shooting-star.git","svn_url":"https://github.com/SteinsGateFFF/shooting-star","homepage":null,"size":43852,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/33"},"html":{"href":"https://github.com/SteinsGateFFF/shooting-star/pull/33"},"issue":{"href":"https://api.github.com/repos/SteinsGateFFF/shooting-star/issues/33"},"comments":{"href":"https://api.github.com/repos/SteinsGateFFF/shooting-star/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SteinsGateFFF/shooting-star/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/SteinsGateFFF/shooting-star/statuses/e2cb6b66c3ab7b7694bbf87438be96323047548b"}}}}