{"id":2926,"date":"2020-05-12T13:36:37","date_gmt":"2020-05-12T04:36:37","guid":{"rendered":"http:\/\/taki-lab.site\/bocci\/?p=2926"},"modified":"2020-05-12T13:36:39","modified_gmt":"2020-05-12T04:36:39","slug":"%e3%80%90c%e3%80%91%e3%80%90%e3%83%94%e3%82%af%e3%83%ad%e3%82%b9%e3%80%91%e3%80%90altseed%e3%80%91%e6%95%b0%e5%ad%97%e5%85%a5%e5%8a%9b%e3%83%9e%e3%82%b9%e3%81%ab%e6%95%b0%e5%ad%97%e3%82%92%e5%85%a5","status":"publish","type":"post","link":"https:\/\/taki-lab.site\/bocci\/?p=2926","title":{"rendered":"\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u6570\u5b57\u5165\u529b\u30de\u30b9\u306b\u6570\u5b57\u3092\u5165\u529b\u3059\u308b"},"content":{"rendered":"\n<p>\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-\u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"m9r9mfE7ZZ\"><a href=\"https:\/\/taki-lab.site\/bocci\/?p=2909\">\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u6570\u5b57\u5165\u529b\u30de\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u6570\u5b57\u5165\u529b\u30de\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3002&#8221; &#8212; \u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\" src=\"https:\/\/taki-lab.site\/bocci\/?p=2909&#038;embed=true#?secret=AAKKJFlSAJ#?secret=m9r9mfE7ZZ\" data-secret=\"m9r9mfE7ZZ\" width=\"474\" height=\"267\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089\u3002(gitHub)<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/takishita2nd\/Picross\">https:\/\/github.com\/takishita2nd\/Picross<\/a><\/p>\n\n\n\n<p>\u524d\u56de\u8ffd\u52a0\u3057\u305f\u6570\u5b57\u5165\u529b\u30de\u30b9\u306b\u6570\u5b57\u3092\u5165\u529b\u3059\u308b\u51e6\u7406\u3092\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6570\u5b57\u5165\u529b\u306f\u30b5\u30a4\u30ba\u5909\u66f4\u30c0\u30a4\u30a2\u30ed\u30b0\u3068\u540c\u3058\u30d1\u30ec\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>            \/\/ \u30d1\u30ec\u30c3\u30c8\n            Palette palette = new Palette();\n            palette.SetEngine();\n            palette.Hide();\n<\/code><\/pre>\n\n\n\n<p>\u6570\u5b57\u5165\u529b\u30de\u30b9\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30d1\u30ec\u30c3\u30c8\u3092\u8868\u793a\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d1\u30ec\u30c3\u30c8\u8868\u793a\u4e2d\u306f\u3001\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u306e\u6240\u306b\u3042\u308b\u6570\u5b57\u30de\u30b9\u306e\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u8272\u3064\u304d\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u3001\u6570\u5b57\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u305d\u306e\u6570\u5b57\u304c\u6570\u5b57\u30de\u30b9\u306b\u5165\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d1\u30ec\u30c3\u30c8\u306e\u5916\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30d1\u30ec\u30c3\u30c8\u3092\u9589\u3058\u3001\u5165\u529b\u7d42\u4e86\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3092\u30b3\u30fc\u30c9\u306b\u66f8\u3044\u305f\u3089\u3053\u3046\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>            while (asd.Engine.DoEvents())\n            {\n                asd.Vector2DF pos = asd.Engine.Mouse.Position;\n                if (!dialog.IsShow())\n                {\n                    if (!palette.IsShow())\n                    {\n                        foreach (var rowList in rowNumberSquare)\n                        {\n                            foreach (var s in rowList)\n                            {\n                                s.UpdateTexture(pos);\n                            }\n                        }\n                        foreach (var colList in colNumberSquare)\n                        {\n                            foreach (var s in colList)\n                            {\n                                s.UpdateTexture(pos);\n                            }\n                        }\n                        foreach (Button button in buttons)\n                        {\n                            button.UpdateTexture(pos);\n                        }\n                    }\n                    else\n                    {\n                        palette.UpdateTexture(pos);\n                    }\n                }\n                else\n                {\n                    dialog.UpdateTexture(pos);\n                }\n\n                if (asd.Engine.Mouse.LeftButton.ButtonState == asd.ButtonState.Push)\n                {\n                    if (!dialog.IsShow())\n                    {\n                        if (!palette.IsShow())\n                        {\n                            int rowIndex;\n                            int colIndex;\n                            rowIndex = 0;\n                            foreach (var rowList in rowNumberSquare)\n                            {\n                                colIndex = -1;\n                                foreach (var s in rowList)\n                                {\n                                    if (s.IsClick(pos))\n                                    {\n                                        selectedNumberSquare = s;\n                                        selectedRowIndex = rowIndex;\n                                        selectedColIndex = colIndex;\n                                        palette.Show(pos);\n                                    }\n                                    colIndex--;\n                                }\n                                rowIndex++;\n                            }\n                            colIndex = 0;\n                            foreach (var colList in colNumberSquare)\n                            {\n                                rowIndex = -1;\n                                foreach (var s in colList)\n                                {\n                                    if (s.IsClick(pos))\n                                    {\n                                        selectedNumberSquare = s;\n                                        selectedRowIndex = rowIndex;\n                                        selectedColIndex = colIndex;\n                                        palette.Show(pos);\n                                    }\n                                    rowIndex--;\n                                }\n                                colIndex++;\n                            }\n                            foreach (Button button in buttons)\n                            {\n                                if (button.IsClick(pos))\n                                {\n                                    button.OnClick();\n                                }\n                            }\n                        }\n                        else\n                        {\n                            if (palette.IsClick(pos))\n                            {\n                                string v = palette.GetClickValue(pos);\n                                updateTextValue(selectedNumberSquare, v);\n                            }\n                            else\n                            {\n                                palette.Hide();\n                                if(selectedNumberSquare != null)\n                                {\n                                    if(selectedNumberSquare.GetStringValue() != string.Empty)\n                                    {\n                                        if (selectedRowIndex >= 0)\n                                        {\n                                            var square = new NumberSquare(selectedRowIndex, selectedColIndex - 1);\n                                            asd.Engine.AddObject2D(square.getBackTexture());\n                                            asd.Engine.AddObject2D(square.getTextObject());\n                                            rowNumberSquare&#91;selectedRowIndex].Add(square);\n                                        }\n                                        else if (selectedColIndex >= 0)\n                                        {\n                                            var square = new NumberSquare(selectedRowIndex - 1, selectedColIndex);\n                                            asd.Engine.AddObject2D(square.getBackTexture());\n                                            asd.Engine.AddObject2D(square.getTextObject());\n                                            colNumberSquare&#91;selectedColIndex].Add(square);\n                                        }\n                                    }\n                                }\n                            }\n                        }\n                    }\n                    else\n                    {\n                        dialog.OnClick(pos);\n                    }\n                }\n<\/code><\/pre>\n\n\n\n<p>\u5b9f\u884c\u7d50\u679c\u306f\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200512133136.mp4\"><\/video><\/figure>\n\n\n\n<p>\u6570\u5b57\u5165\u529b\u3092\u7d42\u3048\u308b\u3068\u3001\u3055\u3089\u306b\u5165\u529b\u30b9\u30da\u30fc\u30b9\u304c\u5897\u3048\u308b\u3088\u3046\u306b\u7d30\u5de5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001\u3053\u306e\u3042\u305f\u308a\u306e\u51e6\u7406\u306f\u5909\u66f4\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u3069\u3046\u3059\u308b\u306e\u304c\u826f\u3044\u306e\u304b\u306a\u30fc\u3068\u8a00\u3046\u306e\u3092\u672a\u3060\u306b\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/\/blog.with2.net\/link\/?2023426:1010\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/03a6eee54039f74ded0b8f7548b1868f.png?w=474\" alt=\"\" title=\"\u30d1\u30bd\u30b3\u30f3\u30e9\u30f3\u30ad\u30f3\u30b0\"\/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 \u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089\u3002(gitHub) https:\/\/github.com\/takishita2nd\/Picross \u524d\u56de\u8ffd\u52a0\u3057\u305f\u6570\u5b57\u5165\u529b\u30de\u30b9\u306b\u6570\u5b57\u3092\u5165\u529b\u3059\u308b\u51e6\u7406\u3092\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059\u3002 \u6570\u5b57\u5165\u529b\u306f\u30b5 &hellip; <a href=\"https:\/\/taki-lab.site\/bocci\/?p=2926\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u6570\u5b57\u5165\u529b\u30de\u30b9\u306b\u6570\u5b57\u3092\u5165\u529b\u3059\u308b<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[174,3],"tags":[184,137,189],"class_list":["post-2926","post","type-post","status-publish","format-standard","hentry","category-c","category-3","tag-altseed","tag-c","tag-189"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8SDbY-Lc","jetpack-related-posts":[{"id":2894,"url":"https:\/\/taki-lab.site\/bocci\/?p=2894","url_meta":{"origin":2926,"position":0},"title":"\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u30d1\u30ec\u30c3\u30c8\u304b\u3089\u6570\u5b57\u3092\u5165\u529b\u3059\u308b","author":"taki","date":"2020\u5e745\u67089\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2869 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2715,"url":"https:\/\/taki-lab.site\/bocci\/?p=2715","url_meta":{"origin":2926,"position":1},"title":"\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u30d1\u30ec\u30c3\u30c8\u304b\u3089\u6570\u5b57\u3092\u5165\u529b\u3059\u308b","author":"taki","date":"2020\u5e744\u670821\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2708 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2909,"url":"https:\/\/taki-lab.site\/bocci\/?p=2909","url_meta":{"origin":2926,"position":2},"title":"\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u6570\u5b57\u5165\u529b\u30de\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3002","author":"taki","date":"2020\u5e745\u670811\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2903 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":2903,"url":"https:\/\/taki-lab.site\/bocci\/?p=2903","url_meta":{"origin":2926,"position":3},"title":"\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u5b9f\u969b\u306b\u30b5\u30a4\u30ba\u3092\u5909\u66f4\u3059\u308b","author":"taki","date":"2020\u5e745\u670810\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2894 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2669,"url":"https:\/\/taki-lab.site\/bocci\/?p=2669","url_meta":{"origin":2926,"position":4},"title":"\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011UI\u3092\u8003\u3048\u308b\u3002","author":"taki","date":"2020\u5e744\u670813\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2661 W\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/squares_sample1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/squares_sample1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/squares_sample1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2688,"url":"https:\/\/taki-lab.site\/bocci\/?p=2688","url_meta":{"origin":2926,"position":5},"title":"\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u30d1\u30ec\u30c3\u30c8\u306e\u8868\u793a\u3001\u975e\u8868\u793a","author":"taki","date":"2020\u5e744\u670816\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2682 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/palette.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2926"}],"version-history":[{"count":1,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2926\/revisions"}],"predecessor-version":[{"id":2928,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2926\/revisions\/2928"}],"wp:attachment":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}