{"action":"created","issue":{"url":"https://api.github.com/repos/ReiHatano/DragonQ/issues/4","labels_url":"https://api.github.com/repos/ReiHatano/DragonQ/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ReiHatano/DragonQ/issues/4/comments","events_url":"https://api.github.com/repos/ReiHatano/DragonQ/issues/4/events","html_url":"https://github.com/ReiHatano/DragonQ/issues/4","id":115383573,"number":4,"title":"factory methodを作る","user":{"login":"m-kai","id":30083,"avatar_url":"https://avatars.githubusercontent.com/u/30083?v=3","gravatar_id":"","url":"https://api.github.com/users/m-kai","html_url":"https://github.com/m-kai","followers_url":"https://api.github.com/users/m-kai/followers","following_url":"https://api.github.com/users/m-kai/following{/other_user}","gists_url":"https://api.github.com/users/m-kai/gists{/gist_id}","starred_url":"https://api.github.com/users/m-kai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-kai/subscriptions","organizations_url":"https://api.github.com/users/m-kai/orgs","repos_url":"https://api.github.com/users/m-kai/repos","events_url":"https://api.github.com/users/m-kai/events{/privacy}","received_events_url":"https://api.github.com/users/m-kai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ReiHatano/DragonQ/labels/%E8%AA%B2%E9%A1%8C","name":"課題","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T21:54:21Z","updated_at":"2015-11-06T08:17:29Z","closed_at":null,"body":"Characterクラスのstaticメソッドとして\r\n\r\n- public static ICharactor createOrtega()\r\n- public static ICharactor createZohma()\r\n\r\nを作成し、その中でnewするようにする。\r\n\r\nちなみに、このようなデザインパターンをFactory Methodと呼ぶ。"},"comment":{"url":"https://api.github.com/repos/ReiHatano/DragonQ/issues/comments/154341739","html_url":"https://github.com/ReiHatano/DragonQ/issues/4#issuecomment-154341739","issue_url":"https://api.github.com/repos/ReiHatano/DragonQ/issues/4","id":154341739,"user":{"login":"m-kai","id":30083,"avatar_url":"https://avatars.githubusercontent.com/u/30083?v=3","gravatar_id":"","url":"https://api.github.com/users/m-kai","html_url":"https://github.com/m-kai","followers_url":"https://api.github.com/users/m-kai/followers","following_url":"https://api.github.com/users/m-kai/following{/other_user}","gists_url":"https://api.github.com/users/m-kai/gists{/gist_id}","starred_url":"https://api.github.com/users/m-kai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-kai/subscriptions","organizations_url":"https://api.github.com/users/m-kai/orgs","repos_url":"https://api.github.com/users/m-kai/repos","events_url":"https://api.github.com/users/m-kai/events{/privacy}","received_events_url":"https://api.github.com/users/m-kai/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T08:17:29Z","updated_at":"2015-11-06T08:17:29Z","body":"githubの使い方がてら書いてみました。\r\n\r\nissueはスレッド型掲示板のように使える機能なので、こんな感じで会話が可能です。\r\n\r\nソースは１ステップずつ丁寧にフローを追っていくと分かるようになりますよ。\r\n\r\nそういえばデバッガの使い方を伝授したらよかったかなぁ……"}}