{"action":"created","comment":{"url":"https://api.github.com/repos/Dezorganizacja/bridge/pulls/comments/28201504","id":28201504,"diff_hunk":"@@ -1,10 +1,110 @@\n package com.dezorganizacja.bridge.view.graphical;\n \n+import com.dezorganizacja.bridge.presenter.MainPresenter;\n+import javafx.animation.PathTransition;\n+import javafx.animation.Timeline;\n import javafx.event.ActionEvent;\n+import javafx.geometry.Insets;\n+import javafx.scene.control.Label;\n+import javafx.scene.layout.*;\n+import javafx.scene.paint.Color;\n+import javafx.scene.shape.*;\n+import javafx.scene.text.Font;\n+import javafx.util.Duration;\n+\n+import static java.lang.Thread.sleep;\n \n public class CreditsController extends Controller {\n \n+    public AnchorPane creditsPane;\n+\n     public void closeCredits(ActionEvent actionEvent) {\n         presenter.setState(\"main\");\n     }\n+\n+    @Override\n+    public void init(MainPresenter presenter) {\n+        super.init(presenter);\n+\n+        creditsPane.setBackground(new Background(new BackgroundFill(Color.BLACK, CornerRadii.EMPTY, Insets.EMPTY)));\n+\n+        int duration = 10000;\n+\n+        VBox myCreditsBox = new VBox();\n+        myCreditsBox.getChildren().add((new CreditsNodeController()).setCodePieceLabel(\"OPs\").addAuthor(\"Grzegorz Świrski\").addAuthor(\"Marek Rusinowski\").accept());","path":"src/main/java/com/dezorganizacja/bridge/view/graphical/CreditsController.java","position":34,"original_position":34,"commit_id":"83cc332b9cd97552eef665b24106df0fc44b5242","original_commit_id":"83cc332b9cd97552eef665b24106df0fc44b5242","user":{"login":"Larhard","id":4514187,"avatar_url":"https://avatars.githubusercontent.com/u/4514187?v=3","gravatar_id":"","url":"https://api.github.com/users/Larhard","html_url":"https://github.com/Larhard","followers_url":"https://api.github.com/users/Larhard/followers","following_url":"https://api.github.com/users/Larhard/following{/other_user}","gists_url":"https://api.github.com/users/Larhard/gists{/gist_id}","starred_url":"https://api.github.com/users/Larhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Larhard/subscriptions","organizations_url":"https://api.github.com/users/Larhard/orgs","repos_url":"https://api.github.com/users/Larhard/repos","events_url":"https://api.github.com/users/Larhard/events{/privacy}","received_events_url":"https://api.github.com/users/Larhard/received_events","type":"User","site_admin":false},"body":"Creditsy to jest zwykły VBox, który się przewija, można po prostu zaincludować fxmla wypełnionego danymi i go przewinąć. Dużo łatwiej by się go edytowało a w dodatku bez grzebania w kodzie","created_at":"2015-04-12T07:49:39Z","updated_at":"2015-04-12T07:49:39Z","html_url":"https://github.com/Dezorganizacja/bridge/pull/8#discussion_r28201504","pull_request_url":"https://api.github.com/repos/Dezorganizacja/bridge/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/Dezorganizacja/bridge/pulls/comments/28201504"},"html":{"href":"https://github.com/Dezorganizacja/bridge/pull/8#discussion_r28201504"},"pull_request":{"href":"https://api.github.com/repos/Dezorganizacja/bridge/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/Dezorganizacja/bridge/pulls/8","id":32801326,"html_url":"https://github.com/Dezorganizacja/bridge/pull/8","diff_url":"https://github.com/Dezorganizacja/bridge/pull/8.diff","patch_url":"https://github.com/Dezorganizacja/bridge/pull/8.patch","issue_url":"https://api.github.com/repos/Dezorganizacja/bridge/issues/8","number":8,"state":"open","locked":false,"title":"Simple Credits","user":{"login":"MuchomorGrabarz","id":7428273,"avatar_url":"https://avatars.githubusercontent.com/u/7428273?v=3","gravatar_id":"","url":"https://api.github.com/users/MuchomorGrabarz","html_url":"https://github.com/MuchomorGrabarz","followers_url":"https://api.github.com/users/MuchomorGrabarz/followers","following_url":"https://api.github.com/users/MuchomorGrabarz/following{/other_user}","gists_url":"https://api.github.com/users/MuchomorGrabarz/gists{/gist_id}","starred_url":"https://api.github.com/users/MuchomorGrabarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MuchomorGrabarz/subscriptions","organizations_url":"https://api.github.com/users/MuchomorGrabarz/orgs","repos_url":"https://api.github.com/users/MuchomorGrabarz/repos","events_url":"https://api.github.com/users/MuchomorGrabarz/events{/privacy}","received_events_url":"https://api.github.com/users/MuchomorGrabarz/received_events","type":"User","site_admin":false},"body":"Czyli wrzucam tutaj jakiej proste napisy.\r\nChyba za bardzo nie trzeba tego opisywać.","created_at":"2015-04-07T20:18:52Z","updated_at":"2015-04-12T07:49:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59aa9ed691e8ce9a1da5f960e6201647a3846df6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Dezorganizacja/bridge/pulls/8/commits","review_comments_url":"https://api.github.com/repos/Dezorganizacja/bridge/pulls/8/comments","review_comment_url":"https://api.github.com/repos/Dezorganizacja/bridge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Dezorganizacja/bridge/issues/8/comments","statuses_url":"https://api.github.com/repos/Dezorganizacja/bridge/statuses/83cc332b9cd97552eef665b24106df0fc44b5242","head":{"label":"Dezorganizacja:SimpleCredits","ref":"SimpleCredits","sha":"83cc332b9cd97552eef665b24106df0fc44b5242","user":{"login":"Dezorganizacja","id":11190204,"avatar_url":"https://avatars.githubusercontent.com/u/11190204?v=3","gravatar_id":"","url":"https://api.github.com/users/Dezorganizacja","html_url":"https://github.com/Dezorganizacja","followers_url":"https://api.github.com/users/Dezorganizacja/followers","following_url":"https://api.github.com/users/Dezorganizacja/following{/other_user}","gists_url":"https://api.github.com/users/Dezorganizacja/gists{/gist_id}","starred_url":"https://api.github.com/users/Dezorganizacja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dezorganizacja/subscriptions","organizations_url":"https://api.github.com/users/Dezorganizacja/orgs","repos_url":"https://api.github.com/users/Dezorganizacja/repos","events_url":"https://api.github.com/users/Dezorganizacja/events{/privacy}","received_events_url":"https://api.github.com/users/Dezorganizacja/received_events","type":"Organization","site_admin":false},"repo":{"id":31808769,"name":"bridge","full_name":"Dezorganizacja/bridge","owner":{"login":"Dezorganizacja","id":11190204,"avatar_url":"https://avatars.githubusercontent.com/u/11190204?v=3","gravatar_id":"","url":"https://api.github.com/users/Dezorganizacja","html_url":"https://github.com/Dezorganizacja","followers_url":"https://api.github.com/users/Dezorganizacja/followers","following_url":"https://api.github.com/users/Dezorganizacja/following{/other_user}","gists_url":"https://api.github.com/users/Dezorganizacja/gists{/gist_id}","starred_url":"https://api.github.com/users/Dezorganizacja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dezorganizacja/subscriptions","organizations_url":"https://api.github.com/users/Dezorganizacja/orgs","repos_url":"https://api.github.com/users/Dezorganizacja/repos","events_url":"https://api.github.com/users/Dezorganizacja/events{/privacy}","received_events_url":"https://api.github.com/users/Dezorganizacja/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Dezorganizacja/bridge","description":"","fork":false,"url":"https://api.github.com/repos/Dezorganizacja/bridge","forks_url":"https://api.github.com/repos/Dezorganizacja/bridge/forks","keys_url":"https://api.github.com/repos/Dezorganizacja/bridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dezorganizacja/bridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dezorganizacja/bridge/teams","hooks_url":"https://api.github.com/repos/Dezorganizacja/bridge/hooks","issue_events_url":"https://api.github.com/repos/Dezorganizacja/bridge/issues/events{/number}","events_url":"https://api.github.com/repos/Dezorganizacja/bridge/events","assignees_url":"https://api.github.com/repos/Dezorganizacja/bridge/assignees{/user}","branches_url":"https://api.github.com/repos/Dezorganizacja/bridge/branches{/branch}","tags_url":"https://api.github.com/repos/Dezorganizacja/bridge/tags","blobs_url":"https://api.github.com/repos/Dezorganizacja/bridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dezorganizacja/bridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dezorganizacja/bridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dezorganizacja/bridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dezorganizacja/bridge/statuses/{sha}","languages_url":"https://api.github.com/repos/Dezorganizacja/bridge/languages","stargazers_url":"https://api.github.com/repos/Dezorganizacja/bridge/stargazers","contributors_url":"https://api.github.com/repos/Dezorganizacja/bridge/contributors","subscribers_url":"https://api.github.com/repos/Dezorganizacja/bridge/subscribers","subscription_url":"https://api.github.com/repos/Dezorganizacja/bridge/subscription","commits_url":"https://api.github.com/repos/Dezorganizacja/bridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dezorganizacja/bridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dezorganizacja/bridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dezorganizacja/bridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dezorganizacja/bridge/contents/{+path}","compare_url":"https://api.github.com/repos/Dezorganizacja/bridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dezorganizacja/bridge/merges","archive_url":"https://api.github.com/repos/Dezorganizacja/bridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dezorganizacja/bridge/downloads","issues_url":"https://api.github.com/repos/Dezorganizacja/bridge/issues{/number}","pulls_url":"https://api.github.com/repos/Dezorganizacja/bridge/pulls{/number}","milestones_url":"https://api.github.com/repos/Dezorganizacja/bridge/milestones{/number}","notifications_url":"https://api.github.com/repos/Dezorganizacja/bridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dezorganizacja/bridge/labels{/name}","releases_url":"https://api.github.com/repos/Dezorganizacja/bridge/releases{/id}","created_at":"2015-03-07T10:34:04Z","updated_at":"2015-04-07T19:04:03Z","pushed_at":"2015-04-07T20:18:53Z","git_url":"git://github.com/Dezorganizacja/bridge.git","ssh_url":"git@github.com:Dezorganizacja/bridge.git","clone_url":"https://github.com/Dezorganizacja/bridge.git","svn_url":"https://github.com/Dezorganizacja/bridge","homepage":null,"size":356,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"Dezorganizacja:master","ref":"master","sha":"e381d0d3f0b1d3411476e499774507330fbd5b1e","user":{"login":"Dezorganizacja","id":11190204,"avatar_url":"https://avatars.githubusercontent.com/u/11190204?v=3","gravatar_id":"","url":"https://api.github.com/users/Dezorganizacja","html_url":"https://github.com/Dezorganizacja","followers_url":"https://api.github.com/users/Dezorganizacja/followers","following_url":"https://api.github.com/users/Dezorganizacja/following{/other_user}","gists_url":"https://api.github.com/users/Dezorganizacja/gists{/gist_id}","starred_url":"https://api.github.com/users/Dezorganizacja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dezorganizacja/subscriptions","organizations_url":"https://api.github.com/users/Dezorganizacja/orgs","repos_url":"https://api.github.com/users/Dezorganizacja/repos","events_url":"https://api.github.com/users/Dezorganizacja/events{/privacy}","received_events_url":"https://api.github.com/users/Dezorganizacja/received_events","type":"Organization","site_admin":false},"repo":{"id":31808769,"name":"bridge","full_name":"Dezorganizacja/bridge","owner":{"login":"Dezorganizacja","id":11190204,"avatar_url":"https://avatars.githubusercontent.com/u/11190204?v=3","gravatar_id":"","url":"https://api.github.com/users/Dezorganizacja","html_url":"https://github.com/Dezorganizacja","followers_url":"https://api.github.com/users/Dezorganizacja/followers","following_url":"https://api.github.com/users/Dezorganizacja/following{/other_user}","gists_url":"https://api.github.com/users/Dezorganizacja/gists{/gist_id}","starred_url":"https://api.github.com/users/Dezorganizacja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dezorganizacja/subscriptions","organizations_url":"https://api.github.com/users/Dezorganizacja/orgs","repos_url":"https://api.github.com/users/Dezorganizacja/repos","events_url":"https://api.github.com/users/Dezorganizacja/events{/privacy}","received_events_url":"https://api.github.com/users/Dezorganizacja/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Dezorganizacja/bridge","description":"","fork":false,"url":"https://api.github.com/repos/Dezorganizacja/bridge","forks_url":"https://api.github.com/repos/Dezorganizacja/bridge/forks","keys_url":"https://api.github.com/repos/Dezorganizacja/bridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dezorganizacja/bridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dezorganizacja/bridge/teams","hooks_url":"https://api.github.com/repos/Dezorganizacja/bridge/hooks","issue_events_url":"https://api.github.com/repos/Dezorganizacja/bridge/issues/events{/number}","events_url":"https://api.github.com/repos/Dezorganizacja/bridge/events","assignees_url":"https://api.github.com/repos/Dezorganizacja/bridge/assignees{/user}","branches_url":"https://api.github.com/repos/Dezorganizacja/bridge/branches{/branch}","tags_url":"https://api.github.com/repos/Dezorganizacja/bridge/tags","blobs_url":"https://api.github.com/repos/Dezorganizacja/bridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dezorganizacja/bridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dezorganizacja/bridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dezorganizacja/bridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dezorganizacja/bridge/statuses/{sha}","languages_url":"https://api.github.com/repos/Dezorganizacja/bridge/languages","stargazers_url":"https://api.github.com/repos/Dezorganizacja/bridge/stargazers","contributors_url":"https://api.github.com/repos/Dezorganizacja/bridge/contributors","subscribers_url":"https://api.github.com/repos/Dezorganizacja/bridge/subscribers","subscription_url":"https://api.github.com/repos/Dezorganizacja/bridge/subscription","commits_url":"https://api.github.com/repos/Dezorganizacja/bridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dezorganizacja/bridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dezorganizacja/bridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dezorganizacja/bridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dezorganizacja/bridge/contents/{+path}","compare_url":"https://api.github.com/repos/Dezorganizacja/bridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dezorganizacja/bridge/merges","archive_url":"https://api.github.com/repos/Dezorganizacja/bridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dezorganizacja/bridge/downloads","issues_url":"https://api.github.com/repos/Dezorganizacja/bridge/issues{/number}","pulls_url":"https://api.github.com/repos/Dezorganizacja/bridge/pulls{/number}","milestones_url":"https://api.github.com/repos/Dezorganizacja/bridge/milestones{/number}","notifications_url":"https://api.github.com/repos/Dezorganizacja/bridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dezorganizacja/bridge/labels{/name}","releases_url":"https://api.github.com/repos/Dezorganizacja/bridge/releases{/id}","created_at":"2015-03-07T10:34:04Z","updated_at":"2015-04-07T19:04:03Z","pushed_at":"2015-04-07T20:18:53Z","git_url":"git://github.com/Dezorganizacja/bridge.git","ssh_url":"git@github.com:Dezorganizacja/bridge.git","clone_url":"https://github.com/Dezorganizacja/bridge.git","svn_url":"https://github.com/Dezorganizacja/bridge","homepage":null,"size":356,"stargazers_count":0,"watchers_count":0,"language":"Java","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/Dezorganizacja/bridge/pulls/8"},"html":{"href":"https://github.com/Dezorganizacja/bridge/pull/8"},"issue":{"href":"https://api.github.com/repos/Dezorganizacja/bridge/issues/8"},"comments":{"href":"https://api.github.com/repos/Dezorganizacja/bridge/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/Dezorganizacja/bridge/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/Dezorganizacja/bridge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Dezorganizacja/bridge/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/Dezorganizacja/bridge/statuses/83cc332b9cd97552eef665b24106df0fc44b5242"}}}}