motion-game 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/build/android/armeabi/libmotion-cocos.a +0 -0
- data/build/android/motion-cocos.jar +0 -0
- data/build/android/x86/libmotion-cocos.a +0 -0
- data/build/ios/libmotion-cocos.a +0 -0
- data/build/tvos/libmotion-cocos.a +0 -0
- data/doc/MG/Application.html +2 -2
- data/doc/MG/Audio.html +2 -2
- data/doc/MG/Button.html +25 -25
- data/doc/MG/Color.html +18 -18
- data/doc/MG/Director.html +2 -2
- data/doc/MG/Draw.html +12 -12
- data/doc/MG/Events/Acceleration.html +2 -2
- data/doc/MG/Events/Touch.html +2 -2
- data/doc/MG/Events.html +2 -2
- data/doc/MG/File.html +2 -2
- data/doc/MG/Layout.html +17 -17
- data/doc/MG/List.html +23 -23
- data/doc/MG/Menu.html +455 -0
- data/doc/MG/Node.html +56 -56
- data/doc/MG/Parallax.html +4 -4
- data/doc/MG/Particle.html +48 -48
- data/doc/MG/Point.html +14 -14
- data/doc/MG/Scene.html +2 -2
- data/doc/MG/Scroll.html +17 -17
- data/doc/MG/Size.html +18 -18
- data/doc/MG/Slider.html +9 -9
- data/doc/MG/Sprite.html +60 -60
- data/doc/MG/Text.html +33 -33
- data/doc/MG/Web.html +17 -17
- data/doc/MG/Widget.html +101 -12
- data/doc/MG.html +3 -3
- data/doc/_index.html +9 -2
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +28 -2
- data/doc/index.html +28 -2
- data/doc/method_list.html +142 -118
- data/doc/top-level-namespace.html +2 -2
- data/lib/motion-game/android.rb +4 -3
- metadata +4 -3
    
        data/doc/MG/Text.html
    CHANGED
    
    | @@ -306,7 +306,7 @@ | |
| 306 306 |  | 
| 307 307 |  | 
| 308 308 | 
             
              <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
         | 
| 309 | 
            -
              <p class="inherited"><span class='object_link'><a href="Widget.html#enabled%3F-instance_method" title="MG::Widget#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="Widget.html#highlighted%3F-instance_method" title="MG::Widget#highlighted? (method)">#highlighted?</a></span></p>
         | 
| 309 | 
            +
              <p class="inherited"><span class='object_link'><a href="Widget.html#enabled%3F-instance_method" title="MG::Widget#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="Widget.html#highlighted%3F-instance_method" title="MG::Widget#highlighted? (method)">#highlighted?</a></span>, <span class='object_link'><a href="Widget.html#touch_enabled%3F-instance_method" title="MG::Widget#touch_enabled? (method)">#touch_enabled?</a></span></p>
         | 
| 310 310 |  | 
| 311 311 |  | 
| 312 312 |  | 
| @@ -460,10 +460,10 @@ | |
| 460 460 | 
             
                  <pre class="lines">
         | 
| 461 461 |  | 
| 462 462 |  | 
| 463 | 
            -
             | 
| 463 | 
            +
            786</pre>
         | 
| 464 464 | 
             
                </td>
         | 
| 465 465 | 
             
                <td>
         | 
| 466 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 466 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 786</span>
         | 
| 467 467 |  | 
| 468 468 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_font'>font</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_font_size'>font_size</span><span class='op'>=</span><span class='int'>0</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 469 469 | 
             
                </td>
         | 
| @@ -522,12 +522,12 @@ | |
| 522 522 | 
             
                  <pre class="lines">
         | 
| 523 523 |  | 
| 524 524 |  | 
| 525 | 
            -
             | 
| 526 | 
            -
             | 
| 527 | 
            -
             | 
| 525 | 
            +
            804
         | 
| 526 | 
            +
            805
         | 
| 527 | 
            +
            806</pre>
         | 
| 528 528 | 
             
                </td>
         | 
| 529 529 | 
             
                <td>
         | 
| 530 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 530 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 804</span>
         | 
| 531 531 |  | 
| 532 532 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_area_size'>area_size</span>
         | 
| 533 533 | 
             
              <span class='ivar'>@area_size</span>
         | 
| @@ -583,12 +583,12 @@ | |
| 583 583 | 
             
                  <pre class="lines">
         | 
| 584 584 |  | 
| 585 585 |  | 
| 586 | 
            -
             | 
| 587 | 
            -
             | 
| 588 | 
            -
             | 
| 586 | 
            +
            798
         | 
| 587 | 
            +
            799
         | 
| 588 | 
            +
            800</pre>
         | 
| 589 589 | 
             
                </td>
         | 
| 590 590 | 
             
                <td>
         | 
| 591 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 591 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 798</span>
         | 
| 592 592 |  | 
| 593 593 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_font'>font</span>
         | 
| 594 594 | 
             
              <span class='ivar'>@font</span>
         | 
| @@ -644,12 +644,12 @@ | |
| 644 644 | 
             
                  <pre class="lines">
         | 
| 645 645 |  | 
| 646 646 |  | 
| 647 | 
            -
             | 
| 648 | 
            -
             | 
| 649 | 
            -
             | 
| 647 | 
            +
            801
         | 
| 648 | 
            +
            802
         | 
| 649 | 
            +
            803</pre>
         | 
| 650 650 | 
             
                </td>
         | 
| 651 651 | 
             
                <td>
         | 
| 652 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 652 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 801</span>
         | 
| 653 653 |  | 
| 654 654 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_font_size'>font_size</span>
         | 
| 655 655 | 
             
              <span class='ivar'>@font_size</span>
         | 
| @@ -705,12 +705,12 @@ | |
| 705 705 | 
             
                  <pre class="lines">
         | 
| 706 706 |  | 
| 707 707 |  | 
| 708 | 
            -
             | 
| 709 | 
            -
             | 
| 710 | 
            -
             | 
| 708 | 
            +
            810
         | 
| 709 | 
            +
            811
         | 
| 710 | 
            +
            812</pre>
         | 
| 711 711 | 
             
                </td>
         | 
| 712 712 | 
             
                <td>
         | 
| 713 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 713 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 810</span>
         | 
| 714 714 |  | 
| 715 715 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_horizontal_align'>horizontal_align</span>
         | 
| 716 716 | 
             
              <span class='ivar'>@horizontal_align</span>
         | 
| @@ -766,12 +766,12 @@ | |
| 766 766 | 
             
                  <pre class="lines">
         | 
| 767 767 |  | 
| 768 768 |  | 
| 769 | 
            -
             | 
| 770 | 
            -
             | 
| 771 | 
            -
             | 
| 769 | 
            +
            792
         | 
| 770 | 
            +
            793
         | 
| 771 | 
            +
            794</pre>
         | 
| 772 772 | 
             
                </td>
         | 
| 773 773 | 
             
                <td>
         | 
| 774 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 774 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 792</span>
         | 
| 775 775 |  | 
| 776 776 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_text'>text</span>
         | 
| 777 777 | 
             
              <span class='ivar'>@text</span>
         | 
| @@ -827,12 +827,12 @@ | |
| 827 827 | 
             
                  <pre class="lines">
         | 
| 828 828 |  | 
| 829 829 |  | 
| 830 | 
            -
             | 
| 831 | 
            -
             | 
| 832 | 
            -
             | 
| 830 | 
            +
            795
         | 
| 831 | 
            +
            796
         | 
| 832 | 
            +
            797</pre>
         | 
| 833 833 | 
             
                </td>
         | 
| 834 834 | 
             
                <td>
         | 
| 835 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 835 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 795</span>
         | 
| 836 836 |  | 
| 837 837 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_text_color'>text_color</span>
         | 
| 838 838 | 
             
              <span class='ivar'>@text_color</span>
         | 
| @@ -888,12 +888,12 @@ | |
| 888 888 | 
             
                  <pre class="lines">
         | 
| 889 889 |  | 
| 890 890 |  | 
| 891 | 
            -
             | 
| 892 | 
            -
             | 
| 893 | 
            -
             | 
| 891 | 
            +
            807
         | 
| 892 | 
            +
            808
         | 
| 893 | 
            +
            809</pre>
         | 
| 894 894 | 
             
                </td>
         | 
| 895 895 | 
             
                <td>
         | 
| 896 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 896 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 807</span>
         | 
| 897 897 |  | 
| 898 898 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_vertical_align'>vertical_align</span>
         | 
| 899 899 | 
             
              <span class='ivar'>@vertical_align</span>
         | 
| @@ -909,9 +909,9 @@ | |
| 909 909 | 
             
            </div>
         | 
| 910 910 |  | 
| 911 911 | 
             
                <div id="footer">
         | 
| 912 | 
            -
              Generated on Wed  | 
| 912 | 
            +
              Generated on Wed Aug 31 17:59:08 2016 by
         | 
| 913 913 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 914 | 
            -
              0.8.7.6 (ruby-2. | 
| 914 | 
            +
              0.8.7.6 (ruby-2.3.1).
         | 
| 915 915 | 
             
            </div>
         | 
| 916 916 |  | 
| 917 917 | 
             
              </body>
         | 
    
        data/doc/MG/Web.html
    CHANGED
    
    | @@ -112,7 +112,7 @@ | |
| 112 112 | 
             
              <h2>Instance Attribute Summary</h2>
         | 
| 113 113 |  | 
| 114 114 | 
             
              <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
         | 
| 115 | 
            -
              <p class="inherited"><span class='object_link'><a href="Widget.html#enabled%3F-instance_method" title="MG::Widget#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="Widget.html#highlighted%3F-instance_method" title="MG::Widget#highlighted? (method)">#highlighted?</a></span></p>
         | 
| 115 | 
            +
              <p class="inherited"><span class='object_link'><a href="Widget.html#enabled%3F-instance_method" title="MG::Widget#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="Widget.html#highlighted%3F-instance_method" title="MG::Widget#highlighted? (method)">#highlighted?</a></span>, <span class='object_link'><a href="Widget.html#touch_enabled%3F-instance_method" title="MG::Widget#touch_enabled? (method)">#touch_enabled?</a></span></p>
         | 
| 116 116 |  | 
| 117 117 |  | 
| 118 118 |  | 
| @@ -370,10 +370,10 @@ | |
| 370 370 | 
             
                  <pre class="lines">
         | 
| 371 371 |  | 
| 372 372 |  | 
| 373 | 
            -
             | 
| 373 | 
            +
            967</pre>
         | 
| 374 374 | 
             
                </td>
         | 
| 375 375 | 
             
                <td>
         | 
| 376 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 376 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 967</span>
         | 
| 377 377 |  | 
| 378 378 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 379 379 | 
             
                </td>
         | 
| @@ -452,10 +452,10 @@ | |
| 452 452 | 
             
                  <pre class="lines">
         | 
| 453 453 |  | 
| 454 454 |  | 
| 455 | 
            -
             | 
| 455 | 
            +
            1002</pre>
         | 
| 456 456 | 
             
                </td>
         | 
| 457 457 | 
             
                <td>
         | 
| 458 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 458 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 1002</span>
         | 
| 459 459 |  | 
| 460 460 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_evaluate'>evaluate</span><span class='lparen'>(</span><span class='id identifier rubyid_expr'>expr</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 461 461 | 
             
                </td>
         | 
| @@ -527,10 +527,10 @@ | |
| 527 527 | 
             
                  <pre class="lines">
         | 
| 528 528 |  | 
| 529 529 |  | 
| 530 | 
            -
             | 
| 530 | 
            +
            986</pre>
         | 
| 531 531 | 
             
                </td>
         | 
| 532 532 | 
             
                <td>
         | 
| 533 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 533 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 986</span>
         | 
| 534 534 |  | 
| 535 535 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_load_file'>load_file</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 536 536 | 
             
                </td>
         | 
| @@ -618,10 +618,10 @@ | |
| 618 618 | 
             
                  <pre class="lines">
         | 
| 619 619 |  | 
| 620 620 |  | 
| 621 | 
            -
             | 
| 621 | 
            +
            976</pre>
         | 
| 622 622 | 
             
                </td>
         | 
| 623 623 | 
             
                <td>
         | 
| 624 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 624 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 976</span>
         | 
| 625 625 |  | 
| 626 626 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_load_html'>load_html</span><span class='lparen'>(</span><span class='id identifier rubyid_str'>str</span><span class='comma'>,</span> <span class='id identifier rubyid_baseurl'>baseurl</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 627 627 | 
             
                </td>
         | 
| @@ -693,10 +693,10 @@ | |
| 693 693 | 
             
                  <pre class="lines">
         | 
| 694 694 |  | 
| 695 695 |  | 
| 696 | 
            -
             | 
| 696 | 
            +
            981</pre>
         | 
| 697 697 | 
             
                </td>
         | 
| 698 698 | 
             
                <td>
         | 
| 699 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 699 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 981</span>
         | 
| 700 700 |  | 
| 701 701 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_load_url'>load_url</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 702 702 | 
             
                </td>
         | 
| @@ -748,10 +748,10 @@ | |
| 748 748 | 
             
                  <pre class="lines">
         | 
| 749 749 |  | 
| 750 750 |  | 
| 751 | 
            -
             | 
| 751 | 
            +
            994</pre>
         | 
| 752 752 | 
             
                </td>
         | 
| 753 753 | 
             
                <td>
         | 
| 754 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 754 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 994</span>
         | 
| 755 755 |  | 
| 756 756 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_reload'>reload</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 757 757 | 
             
                </td>
         | 
| @@ -803,10 +803,10 @@ | |
| 803 803 | 
             
                  <pre class="lines">
         | 
| 804 804 |  | 
| 805 805 |  | 
| 806 | 
            -
             | 
| 806 | 
            +
            990</pre>
         | 
| 807 807 | 
             
                </td>
         | 
| 808 808 | 
             
                <td>
         | 
| 809 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 809 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 990</span>
         | 
| 810 810 |  | 
| 811 811 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_stop'>stop</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 812 812 | 
             
                </td>
         | 
| @@ -819,9 +819,9 @@ | |
| 819 819 | 
             
            </div>
         | 
| 820 820 |  | 
| 821 821 | 
             
                <div id="footer">
         | 
| 822 | 
            -
              Generated on Wed  | 
| 822 | 
            +
              Generated on Wed Aug 31 17:59:08 2016 by
         | 
| 823 823 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 824 | 
            -
              0.8.7.6 (ruby-2. | 
| 824 | 
            +
              0.8.7.6 (ruby-2.3.1).
         | 
| 825 825 | 
             
            </div>
         | 
| 826 826 |  | 
| 827 827 | 
             
              </body>
         | 
    
        data/doc/MG/Widget.html
    CHANGED
    
    | @@ -175,6 +175,33 @@ directly but use a subclass instead.</p> | |
| 175 175 | 
             
            <p>Whether the widget is highlighted.</p>
         | 
| 176 176 | 
             
            </div></span>
         | 
| 177 177 |  | 
| 178 | 
            +
            </li>
         | 
| 179 | 
            +
             | 
| 180 | 
            +
                
         | 
| 181 | 
            +
                  <li class="public ">
         | 
| 182 | 
            +
              <span class="summary_signature">
         | 
| 183 | 
            +
                
         | 
| 184 | 
            +
                  <a href="#touch_enabled%3F-instance_method" title="#touch_enabled? (instance method)">- (Boolean) <strong>touch_enabled?</strong> </a>
         | 
| 185 | 
            +
                
         | 
| 186 | 
            +
             | 
| 187 | 
            +
                
         | 
| 188 | 
            +
              </span>
         | 
| 189 | 
            +
              
         | 
| 190 | 
            +
              
         | 
| 191 | 
            +
              
         | 
| 192 | 
            +
                
         | 
| 193 | 
            +
                
         | 
| 194 | 
            +
              
         | 
| 195 | 
            +
              
         | 
| 196 | 
            +
              
         | 
| 197 | 
            +
              
         | 
| 198 | 
            +
              
         | 
| 199 | 
            +
             | 
| 200 | 
            +
              
         | 
| 201 | 
            +
                <span class="summary_desc"><div class='inline'>
         | 
| 202 | 
            +
            <p>Whether the widget is touch enabled.</p>
         | 
| 203 | 
            +
            </div></span>
         | 
| 204 | 
            +
              
         | 
| 178 205 | 
             
            </li>
         | 
| 179 206 |  | 
| 180 207 |  | 
| @@ -286,12 +313,12 @@ clicked. By default, a widget is enabled.</p> | |
| 286 313 | 
             
                  <pre class="lines">
         | 
| 287 314 |  | 
| 288 315 |  | 
| 289 | 
            -
             | 
| 290 | 
            -
             | 
| 291 | 
            -
             | 
| 316 | 
            +
            754
         | 
| 317 | 
            +
            755
         | 
| 318 | 
            +
            756</pre>
         | 
| 292 319 | 
             
                </td>
         | 
| 293 320 | 
             
                <td>
         | 
| 294 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 321 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 754</span>
         | 
| 295 322 |  | 
| 296 323 | 
             
            def enabled?
         | 
| 297 324 | 
             
              @enabled?
         | 
| @@ -347,12 +374,12 @@ end</pre> | |
| 347 374 | 
             
                  <pre class="lines">
         | 
| 348 375 |  | 
| 349 376 |  | 
| 350 | 
            -
             | 
| 351 | 
            -
             | 
| 352 | 
            -
             | 
| 377 | 
            +
            763
         | 
| 378 | 
            +
            764
         | 
| 379 | 
            +
            765</pre>
         | 
| 353 380 | 
             
                </td>
         | 
| 354 381 | 
             
                <td>
         | 
| 355 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 382 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 763</span>
         | 
| 356 383 |  | 
| 357 384 | 
             
            def highlighted?
         | 
| 358 385 | 
             
              @highlighted?
         | 
| @@ -362,6 +389,68 @@ end</pre> | |
| 362 389 | 
             
            </table>
         | 
| 363 390 | 
             
            </div>
         | 
| 364 391 |  | 
| 392 | 
            +
                  
         | 
| 393 | 
            +
                  <span id="touch_enabled?=-instance_method"></span>
         | 
| 394 | 
            +
                  <div class="method_details ">
         | 
| 395 | 
            +
              <h3 class="signature " id="touch_enabled?-instance_method">
         | 
| 396 | 
            +
              
         | 
| 397 | 
            +
                - (<tt>Boolean</tt>) <strong>touch_enabled?</strong> 
         | 
| 398 | 
            +
              
         | 
| 399 | 
            +
             | 
| 400 | 
            +
              
         | 
| 401 | 
            +
             | 
| 402 | 
            +
              
         | 
| 403 | 
            +
            </h3><div class="docstring">
         | 
| 404 | 
            +
              <div class="discussion">
         | 
| 405 | 
            +
                
         | 
| 406 | 
            +
            <p>Whether the widget is touch enabled. When touch enabled, a widget supports
         | 
| 407 | 
            +
            on_touch. By default, a widget is not touch enabled.</p>
         | 
| 408 | 
            +
             | 
| 409 | 
            +
             | 
| 410 | 
            +
              </div>
         | 
| 411 | 
            +
            </div>
         | 
| 412 | 
            +
            <div class="tags">
         | 
| 413 | 
            +
              
         | 
| 414 | 
            +
            <p class="tag_title">Returns:</p>
         | 
| 415 | 
            +
            <ul class="return">
         | 
| 416 | 
            +
              
         | 
| 417 | 
            +
                <li>
         | 
| 418 | 
            +
                  
         | 
| 419 | 
            +
                  
         | 
| 420 | 
            +
                    <span class='type'>(<tt>Boolean</tt>)</span>
         | 
| 421 | 
            +
                  
         | 
| 422 | 
            +
                  
         | 
| 423 | 
            +
                  
         | 
| 424 | 
            +
                    —
         | 
| 425 | 
            +
                    <div class='inline'>
         | 
| 426 | 
            +
            <p>whether the widget is touch enabled.</p>
         | 
| 427 | 
            +
            </div>
         | 
| 428 | 
            +
                  
         | 
| 429 | 
            +
                </li>
         | 
| 430 | 
            +
              
         | 
| 431 | 
            +
            </ul>
         | 
| 432 | 
            +
             | 
| 433 | 
            +
            </div><table class="source_code">
         | 
| 434 | 
            +
              <tr>
         | 
| 435 | 
            +
                <td>
         | 
| 436 | 
            +
                  <pre class="lines">
         | 
| 437 | 
            +
             | 
| 438 | 
            +
             | 
| 439 | 
            +
            759
         | 
| 440 | 
            +
            760
         | 
| 441 | 
            +
            761</pre>
         | 
| 442 | 
            +
                </td>
         | 
| 443 | 
            +
                <td>
         | 
| 444 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 759</span>
         | 
| 445 | 
            +
             | 
| 446 | 
            +
            def touch_enabled?
         | 
| 447 | 
            +
              @touch_enabled?
         | 
| 448 | 
            +
            end</pre>
         | 
| 449 | 
            +
                </td>
         | 
| 450 | 
            +
              </tr>
         | 
| 451 | 
            +
            </table>
         | 
| 452 | 
            +
            </div>
         | 
| 453 | 
            +
                
         | 
| 365 454 | 
             
              </div>
         | 
| 366 455 |  | 
| 367 456 |  | 
| @@ -435,10 +524,10 @@ widget.</p> | |
| 435 524 | 
             
                  <pre class="lines">
         | 
| 436 525 |  | 
| 437 526 |  | 
| 438 | 
            -
             | 
| 527 | 
            +
            774</pre>
         | 
| 439 528 | 
             
                </td>
         | 
| 440 529 | 
             
                <td>
         | 
| 441 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 530 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 774</span>
         | 
| 442 531 |  | 
| 443 532 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_on_touch'>on_touch</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 444 533 | 
             
                </td>
         | 
| @@ -451,9 +540,9 @@ widget.</p> | |
| 451 540 | 
             
            </div>
         | 
| 452 541 |  | 
| 453 542 | 
             
                <div id="footer">
         | 
| 454 | 
            -
              Generated on Wed  | 
| 543 | 
            +
              Generated on Wed Aug 31 17:59:08 2016 by
         | 
| 455 544 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 456 | 
            -
              0.8.7.6 (ruby-2. | 
| 545 | 
            +
              0.8.7.6 (ruby-2.3.1).
         | 
| 457 546 | 
             
            </div>
         | 
| 458 547 |  | 
| 459 548 | 
             
              </body>
         | 
    
        data/doc/MG.html
    CHANGED
    
    | @@ -104,7 +104,7 @@ under that module.</p> | |
| 104 104 |  | 
| 105 105 |  | 
| 106 106 |  | 
| 107 | 
            -
                  <strong class="classes">Classes:</strong> <span class='object_link'><a href="MG/Application.html" title="MG::Application (class)">Application</a></span>, <span class='object_link'><a href="MG/Audio.html" title="MG::Audio (class)">Audio</a></span>, <span class='object_link'><a href="MG/Button.html" title="MG::Button (class)">Button</a></span>, <span class='object_link'><a href="MG/Color.html" title="MG::Color (class)">Color</a></span>, <span class='object_link'><a href="MG/Director.html" title="MG::Director (class)">Director</a></span>, <span class='object_link'><a href="MG/Draw.html" title="MG::Draw (class)">Draw</a></span>, <span class='object_link'><a href="MG/File.html" title="MG::File (class)">File</a></span>, <span class='object_link'><a href="MG/Layout.html" title="MG::Layout (class)">Layout</a></span>, <span class='object_link'><a href="MG/List.html" title="MG::List (class)">List</a></span>, <span class='object_link'><a href="MG/Node.html" title="MG::Node (class)">Node</a></span>, <span class='object_link'><a href="MG/Parallax.html" title="MG::Parallax (class)">Parallax</a></span>, <span class='object_link'><a href="MG/Particle.html" title="MG::Particle (class)">Particle</a></span>, <span class='object_link'><a href="MG/Point.html" title="MG::Point (class)">Point</a></span>, <span class='object_link'><a href="MG/Scene.html" title="MG::Scene (class)">Scene</a></span>, <span class='object_link'><a href="MG/Scroll.html" title="MG::Scroll (class)">Scroll</a></span>, <span class='object_link'><a href="MG/Size.html" title="MG::Size (class)">Size</a></span>, <span class='object_link'><a href="MG/Slider.html" title="MG::Slider (class)">Slider</a></span>, <span class='object_link'><a href="MG/Sprite.html" title="MG::Sprite (class)">Sprite</a></span>, <span class='object_link'><a href="MG/Text.html" title="MG::Text (class)">Text</a></span>, <span class='object_link'><a href="MG/Web.html" title="MG::Web (class)">Web</a></span>, <span class='object_link'><a href="MG/Widget.html" title="MG::Widget (class)">Widget</a></span>
         | 
| 107 | 
            +
                  <strong class="classes">Classes:</strong> <span class='object_link'><a href="MG/Application.html" title="MG::Application (class)">Application</a></span>, <span class='object_link'><a href="MG/Audio.html" title="MG::Audio (class)">Audio</a></span>, <span class='object_link'><a href="MG/Button.html" title="MG::Button (class)">Button</a></span>, <span class='object_link'><a href="MG/Color.html" title="MG::Color (class)">Color</a></span>, <span class='object_link'><a href="MG/Director.html" title="MG::Director (class)">Director</a></span>, <span class='object_link'><a href="MG/Draw.html" title="MG::Draw (class)">Draw</a></span>, <span class='object_link'><a href="MG/File.html" title="MG::File (class)">File</a></span>, <span class='object_link'><a href="MG/Layout.html" title="MG::Layout (class)">Layout</a></span>, <span class='object_link'><a href="MG/List.html" title="MG::List (class)">List</a></span>, <span class='object_link'><a href="MG/Menu.html" title="MG::Menu (class)">Menu</a></span>, <span class='object_link'><a href="MG/Node.html" title="MG::Node (class)">Node</a></span>, <span class='object_link'><a href="MG/Parallax.html" title="MG::Parallax (class)">Parallax</a></span>, <span class='object_link'><a href="MG/Particle.html" title="MG::Particle (class)">Particle</a></span>, <span class='object_link'><a href="MG/Point.html" title="MG::Point (class)">Point</a></span>, <span class='object_link'><a href="MG/Scene.html" title="MG::Scene (class)">Scene</a></span>, <span class='object_link'><a href="MG/Scroll.html" title="MG::Scroll (class)">Scroll</a></span>, <span class='object_link'><a href="MG/Size.html" title="MG::Size (class)">Size</a></span>, <span class='object_link'><a href="MG/Slider.html" title="MG::Slider (class)">Slider</a></span>, <span class='object_link'><a href="MG/Sprite.html" title="MG::Sprite (class)">Sprite</a></span>, <span class='object_link'><a href="MG/Text.html" title="MG::Text (class)">Text</a></span>, <span class='object_link'><a href="MG/Web.html" title="MG::Web (class)">Web</a></span>, <span class='object_link'><a href="MG/Widget.html" title="MG::Widget (class)">Widget</a></span>
         | 
| 108 108 |  | 
| 109 109 |  | 
| 110 110 | 
             
            </p>
         | 
| @@ -120,9 +120,9 @@ under that module.</p> | |
| 120 120 | 
             
            </div>
         | 
| 121 121 |  | 
| 122 122 | 
             
                <div id="footer">
         | 
| 123 | 
            -
              Generated on Wed  | 
| 123 | 
            +
              Generated on Wed Aug 31 17:59:07 2016 by
         | 
| 124 124 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 125 | 
            -
              0.8.7.6 (ruby-2. | 
| 125 | 
            +
              0.8.7.6 (ruby-2.3.1).
         | 
| 126 126 | 
             
            </div>
         | 
| 127 127 |  | 
| 128 128 | 
             
              </body>
         | 
    
        data/doc/_index.html
    CHANGED
    
    | @@ -225,6 +225,13 @@ | |
| 225 225 |  | 
| 226 226 | 
             
                          </li>
         | 
| 227 227 |  | 
| 228 | 
            +
                          <li>
         | 
| 229 | 
            +
                            <span class='object_link'><a href="MG/Menu.html" title="MG::Menu (class)">Menu</a></span>
         | 
| 230 | 
            +
                            
         | 
| 231 | 
            +
                              <small>(MG)</small>
         | 
| 232 | 
            +
                            
         | 
| 233 | 
            +
                          </li>
         | 
| 234 | 
            +
                        
         | 
| 228 235 | 
             
                      </ul>
         | 
| 229 236 | 
             
                    </ul>
         | 
| 230 237 |  | 
| @@ -368,9 +375,9 @@ | |
| 368 375 | 
             
            </div>
         | 
| 369 376 |  | 
| 370 377 | 
             
                <div id="footer">
         | 
| 371 | 
            -
              Generated on Wed  | 
| 378 | 
            +
              Generated on Wed Aug 31 17:59:07 2016 by
         | 
| 372 379 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 373 | 
            -
              0.8.7.6 (ruby-2. | 
| 380 | 
            +
              0.8.7.6 (ruby-2.3.1).
         | 
| 374 381 | 
             
            </div>
         | 
| 375 382 |  | 
| 376 383 | 
             
              </body>
         |