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/List.html
    CHANGED
    
    | @@ -158,7 +158,7 @@ | |
| 158 158 |  | 
| 159 159 |  | 
| 160 160 | 
             
              <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
         | 
| 161 | 
            -
              <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>
         | 
| 161 | 
            +
              <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>
         | 
| 162 162 |  | 
| 163 163 |  | 
| 164 164 |  | 
| @@ -452,10 +452,10 @@ | |
| 452 452 | 
             
                  <pre class="lines">
         | 
| 453 453 |  | 
| 454 454 |  | 
| 455 | 
            -
             | 
| 455 | 
            +
            912</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 912</span>
         | 
| 459 459 |  | 
| 460 460 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 461 461 | 
             
                </td>
         | 
| @@ -514,12 +514,12 @@ | |
| 514 514 | 
             
                  <pre class="lines">
         | 
| 515 515 |  | 
| 516 516 |  | 
| 517 | 
            -
             | 
| 518 | 
            -
             | 
| 519 | 
            -
             | 
| 517 | 
            +
            958
         | 
| 518 | 
            +
            959
         | 
| 519 | 
            +
            960</pre>
         | 
| 520 520 | 
             
                </td>
         | 
| 521 521 | 
             
                <td>
         | 
| 522 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 522 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 958</span>
         | 
| 523 523 |  | 
| 524 524 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_items_margin'>items_margin</span>
         | 
| 525 525 | 
             
              <span class='ivar'>@items_margin</span>
         | 
| @@ -600,10 +600,10 @@ | |
| 600 600 | 
             
                  <pre class="lines">
         | 
| 601 601 |  | 
| 602 602 |  | 
| 603 | 
            -
             | 
| 603 | 
            +
            920</pre>
         | 
| 604 604 | 
             
                </td>
         | 
| 605 605 | 
             
                <td>
         | 
| 606 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 606 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 920</span>
         | 
| 607 607 |  | 
| 608 608 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_add_item'>add_item</span><span class='lparen'>(</span><span class='id identifier rubyid_widget'>widget</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 609 609 | 
             
                </td>
         | 
| @@ -655,10 +655,10 @@ | |
| 655 655 | 
             
                  <pre class="lines">
         | 
| 656 656 |  | 
| 657 657 |  | 
| 658 | 
            -
             | 
| 658 | 
            +
            940</pre>
         | 
| 659 659 | 
             
                </td>
         | 
| 660 660 | 
             
                <td>
         | 
| 661 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 661 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 940</span>
         | 
| 662 662 |  | 
| 663 663 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_clear_items'>clear_items</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 664 664 | 
             
                </td>
         | 
| @@ -730,10 +730,10 @@ | |
| 730 730 | 
             
                  <pre class="lines">
         | 
| 731 731 |  | 
| 732 732 |  | 
| 733 | 
            -
             | 
| 733 | 
            +
            936</pre>
         | 
| 734 734 | 
             
                </td>
         | 
| 735 735 | 
             
                <td>
         | 
| 736 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 736 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 936</span>
         | 
| 737 737 |  | 
| 738 738 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_delete_item'>delete_item</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 739 739 | 
             
                </td>
         | 
| @@ -821,10 +821,10 @@ | |
| 821 821 | 
             
                  <pre class="lines">
         | 
| 822 822 |  | 
| 823 823 |  | 
| 824 | 
            -
             | 
| 824 | 
            +
            926</pre>
         | 
| 825 825 | 
             
                </td>
         | 
| 826 826 | 
             
                <td>
         | 
| 827 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 827 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 926</span>
         | 
| 828 828 |  | 
| 829 829 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_insert_item'>insert_item</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_widget'>widget</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 830 830 | 
             
                </td>
         | 
| @@ -896,10 +896,10 @@ | |
| 896 896 | 
             
                  <pre class="lines">
         | 
| 897 897 |  | 
| 898 898 |  | 
| 899 | 
            -
             | 
| 899 | 
            +
            931</pre>
         | 
| 900 900 | 
             
                </td>
         | 
| 901 901 | 
             
                <td>
         | 
| 902 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 902 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 931</span>
         | 
| 903 903 |  | 
| 904 904 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_item_at'>item_at</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 905 905 | 
             
                </td>
         | 
| @@ -970,10 +970,10 @@ of the selection as the argument.</p> | |
| 970 970 | 
             
                  <pre class="lines">
         | 
| 971 971 |  | 
| 972 972 |  | 
| 973 | 
            -
             | 
| 973 | 
            +
            949</pre>
         | 
| 974 974 | 
             
                </td>
         | 
| 975 975 | 
             
                <td>
         | 
| 976 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 976 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 949</span>
         | 
| 977 977 |  | 
| 978 978 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_on_selection'>on_selection</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 979 979 | 
             
                </td>
         | 
| @@ -1025,10 +1025,10 @@ of the selection as the argument.</p> | |
| 1025 1025 | 
             
                  <pre class="lines">
         | 
| 1026 1026 |  | 
| 1027 1027 |  | 
| 1028 | 
            -
             | 
| 1028 | 
            +
            952</pre>
         | 
| 1029 1029 | 
             
                </td>
         | 
| 1030 1030 | 
             
                <td>
         | 
| 1031 | 
            -
                  <pre class="code"><span class="info file"># File 'motion-game', line  | 
| 1031 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 952</span>
         | 
| 1032 1032 |  | 
| 1033 1033 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_selected_item'>selected_item</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 1034 1034 | 
             
                </td>
         | 
| @@ -1041,9 +1041,9 @@ of the selection as the argument.</p> | |
| 1041 1041 | 
             
            </div>
         | 
| 1042 1042 |  | 
| 1043 1043 | 
             
                <div id="footer">
         | 
| 1044 | 
            -
              Generated on Wed  | 
| 1044 | 
            +
              Generated on Wed Aug 31 17:59:08 2016 by
         | 
| 1045 1045 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 1046 | 
            -
              0.8.7.6 (ruby-2. | 
| 1046 | 
            +
              0.8.7.6 (ruby-2.3.1).
         | 
| 1047 1047 | 
             
            </div>
         | 
| 1048 1048 |  | 
| 1049 1049 | 
             
              </body>
         | 
    
        data/doc/MG/Menu.html
    ADDED
    
    | @@ -0,0 +1,455 @@ | |
| 1 | 
            +
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         | 
| 2 | 
            +
              "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         | 
| 3 | 
            +
            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
         | 
| 4 | 
            +
              <head>
         | 
| 5 | 
            +
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         | 
| 6 | 
            +
            <title>
         | 
| 7 | 
            +
              Class: MG::Menu
         | 
| 8 | 
            +
              
         | 
| 9 | 
            +
                — Documentation by YARD 0.8.7.6
         | 
| 10 | 
            +
              
         | 
| 11 | 
            +
            </title>
         | 
| 12 | 
            +
             | 
| 13 | 
            +
              <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            <script type="text/javascript" charset="utf-8">
         | 
| 18 | 
            +
              hasFrames = window.top.frames.main ? true : false;
         | 
| 19 | 
            +
              relpath = '../';
         | 
| 20 | 
            +
              framesUrl = "../frames.html#!MG/Menu.html";
         | 
| 21 | 
            +
            </script>
         | 
| 22 | 
            +
             | 
| 23 | 
            +
             | 
| 24 | 
            +
              <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
         | 
| 25 | 
            +
             | 
| 26 | 
            +
              <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
         | 
| 27 | 
            +
             | 
| 28 | 
            +
             | 
| 29 | 
            +
              </head>
         | 
| 30 | 
            +
              <body>
         | 
| 31 | 
            +
                <div id="header">
         | 
| 32 | 
            +
                  <div id="menu">
         | 
| 33 | 
            +
              
         | 
| 34 | 
            +
                <a href="../_index.html">Index (M)</a> »
         | 
| 35 | 
            +
                <span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
         | 
| 36 | 
            +
                 » 
         | 
| 37 | 
            +
                <span class="title">Menu</span>
         | 
| 38 | 
            +
              
         | 
| 39 | 
            +
             | 
| 40 | 
            +
              <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
         | 
| 41 | 
            +
            </div>
         | 
| 42 | 
            +
             | 
| 43 | 
            +
                  <div id="search">
         | 
| 44 | 
            +
              
         | 
| 45 | 
            +
                <a class="full_list_link" id="class_list_link"
         | 
| 46 | 
            +
                    href="../class_list.html">
         | 
| 47 | 
            +
                  Class List
         | 
| 48 | 
            +
                </a>
         | 
| 49 | 
            +
              
         | 
| 50 | 
            +
                <a class="full_list_link" id="method_list_link"
         | 
| 51 | 
            +
                    href="../method_list.html">
         | 
| 52 | 
            +
                  Method List
         | 
| 53 | 
            +
                </a>
         | 
| 54 | 
            +
              
         | 
| 55 | 
            +
                <a class="full_list_link" id="file_list_link"
         | 
| 56 | 
            +
                    href="../file_list.html">
         | 
| 57 | 
            +
                  File List
         | 
| 58 | 
            +
                </a>
         | 
| 59 | 
            +
              
         | 
| 60 | 
            +
            </div>
         | 
| 61 | 
            +
                  <div class="clear"></div>
         | 
| 62 | 
            +
                </div>
         | 
| 63 | 
            +
             | 
| 64 | 
            +
                <iframe id="search_frame"></iframe>
         | 
| 65 | 
            +
             | 
| 66 | 
            +
                <div id="content"><h1>Class: MG::Menu
         | 
| 67 | 
            +
              
         | 
| 68 | 
            +
              
         | 
| 69 | 
            +
              
         | 
| 70 | 
            +
            </h1>
         | 
| 71 | 
            +
             | 
| 72 | 
            +
            <dl class="box">
         | 
| 73 | 
            +
              
         | 
| 74 | 
            +
                <dt class="r1">Inherits:</dt>
         | 
| 75 | 
            +
                <dd class="r1">
         | 
| 76 | 
            +
                  <span class="inheritName">Object</span>
         | 
| 77 | 
            +
                  
         | 
| 78 | 
            +
                    <ul class="fullTree">
         | 
| 79 | 
            +
                      <li>Object</li>
         | 
| 80 | 
            +
                      
         | 
| 81 | 
            +
                        <li class="next">MG::Menu</li>
         | 
| 82 | 
            +
                      
         | 
| 83 | 
            +
                    </ul>
         | 
| 84 | 
            +
                    <a href="#" class="inheritanceTree">show all</a>
         | 
| 85 | 
            +
                  
         | 
| 86 | 
            +
                  </dd>
         | 
| 87 | 
            +
                
         | 
| 88 | 
            +
              
         | 
| 89 | 
            +
              
         | 
| 90 | 
            +
                
         | 
| 91 | 
            +
              
         | 
| 92 | 
            +
                
         | 
| 93 | 
            +
              
         | 
| 94 | 
            +
              
         | 
| 95 | 
            +
              
         | 
| 96 | 
            +
                <dt class="r2 last">Defined in:</dt>
         | 
| 97 | 
            +
                <dd class="r2 last">motion-game</dd>
         | 
| 98 | 
            +
              
         | 
| 99 | 
            +
            </dl>
         | 
| 100 | 
            +
            <div class="clear"></div>
         | 
| 101 | 
            +
             | 
| 102 | 
            +
            <h2>Overview</h2><div class="docstring">
         | 
| 103 | 
            +
              <div class="discussion">
         | 
| 104 | 
            +
                
         | 
| 105 | 
            +
            <p>A Menu is a way to navigate through game options. Menus often contain
         | 
| 106 | 
            +
            options like Play, Quit, Settings and About. This is usually in the form of
         | 
| 107 | 
            +
            buttons that are pressed.</p>
         | 
| 108 | 
            +
             | 
| 109 | 
            +
             | 
| 110 | 
            +
              </div>
         | 
| 111 | 
            +
            </div>
         | 
| 112 | 
            +
            <div class="tags">
         | 
| 113 | 
            +
              
         | 
| 114 | 
            +
             | 
| 115 | 
            +
            </div>
         | 
| 116 | 
            +
             | 
| 117 | 
            +
             | 
| 118 | 
            +
             | 
| 119 | 
            +
              <h2>Properties <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
         | 
| 120 | 
            +
              <ul class="summary">
         | 
| 121 | 
            +
                
         | 
| 122 | 
            +
                  <li class="public ">
         | 
| 123 | 
            +
              <span class="summary_signature">
         | 
| 124 | 
            +
                
         | 
| 125 | 
            +
                  <a href="#enabled%3F-instance_method" title="#enabled? (instance method)">- (Boolean) <strong>enabled?</strong> </a>
         | 
| 126 | 
            +
                
         | 
| 127 | 
            +
             | 
| 128 | 
            +
                
         | 
| 129 | 
            +
              </span>
         | 
| 130 | 
            +
              
         | 
| 131 | 
            +
              
         | 
| 132 | 
            +
              
         | 
| 133 | 
            +
                
         | 
| 134 | 
            +
                
         | 
| 135 | 
            +
              
         | 
| 136 | 
            +
              
         | 
| 137 | 
            +
              
         | 
| 138 | 
            +
              
         | 
| 139 | 
            +
              
         | 
| 140 | 
            +
             | 
| 141 | 
            +
              
         | 
| 142 | 
            +
                <span class="summary_desc"><div class='inline'>
         | 
| 143 | 
            +
            <p>Whether the menu is enabled.</p>
         | 
| 144 | 
            +
            </div></span>
         | 
| 145 | 
            +
              
         | 
| 146 | 
            +
            </li>
         | 
| 147 | 
            +
             | 
| 148 | 
            +
                
         | 
| 149 | 
            +
              </ul>
         | 
| 150 | 
            +
             | 
| 151 | 
            +
             | 
| 152 | 
            +
             | 
| 153 | 
            +
             | 
| 154 | 
            +
              
         | 
| 155 | 
            +
                <h2>
         | 
| 156 | 
            +
                  Miscellaneous
         | 
| 157 | 
            +
                  <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
         | 
| 158 | 
            +
                </h2>
         | 
| 159 | 
            +
             | 
| 160 | 
            +
                <ul class="summary">
         | 
| 161 | 
            +
                  
         | 
| 162 | 
            +
                    <li class="public ">
         | 
| 163 | 
            +
              <span class="summary_signature">
         | 
| 164 | 
            +
                
         | 
| 165 | 
            +
                  <a href="#menu_align_items_horizontally-instance_method" title="#menu_align_items_horizontally (instance method)">- (Menu) <strong>menu_align_items_horizontally</strong>(padding = null) </a>
         | 
| 166 | 
            +
                
         | 
| 167 | 
            +
             | 
| 168 | 
            +
                
         | 
| 169 | 
            +
              </span>
         | 
| 170 | 
            +
              
         | 
| 171 | 
            +
              
         | 
| 172 | 
            +
              
         | 
| 173 | 
            +
              
         | 
| 174 | 
            +
              
         | 
| 175 | 
            +
              
         | 
| 176 | 
            +
              
         | 
| 177 | 
            +
             | 
| 178 | 
            +
              
         | 
| 179 | 
            +
                <span class="summary_desc"><div class='inline'>
         | 
| 180 | 
            +
            <p>aligns menu items horizontally with padding (call after adding items via
         | 
| 181 | 
            +
            image_item).</p>
         | 
| 182 | 
            +
            </div></span>
         | 
| 183 | 
            +
              
         | 
| 184 | 
            +
            </li>
         | 
| 185 | 
            +
             | 
| 186 | 
            +
                  
         | 
| 187 | 
            +
                    <li class="public ">
         | 
| 188 | 
            +
              <span class="summary_signature">
         | 
| 189 | 
            +
                
         | 
| 190 | 
            +
                  <a href="#menu_align_items_vertically-instance_method" title="#menu_align_items_vertically (instance method)">- (Menu) <strong>menu_align_items_vertically</strong>(padding = null) </a>
         | 
| 191 | 
            +
                
         | 
| 192 | 
            +
             | 
| 193 | 
            +
                
         | 
| 194 | 
            +
              </span>
         | 
| 195 | 
            +
              
         | 
| 196 | 
            +
              
         | 
| 197 | 
            +
              
         | 
| 198 | 
            +
              
         | 
| 199 | 
            +
              
         | 
| 200 | 
            +
              
         | 
| 201 | 
            +
              
         | 
| 202 | 
            +
             | 
| 203 | 
            +
              
         | 
| 204 | 
            +
                <span class="summary_desc"><div class='inline'>
         | 
| 205 | 
            +
            <p>aligns menu items vertically with padding (call after adding items via
         | 
| 206 | 
            +
            image_item).</p>
         | 
| 207 | 
            +
            </div></span>
         | 
| 208 | 
            +
              
         | 
| 209 | 
            +
            </li>
         | 
| 210 | 
            +
             | 
| 211 | 
            +
                  
         | 
| 212 | 
            +
                </ul>
         | 
| 213 | 
            +
              
         | 
| 214 | 
            +
             | 
| 215 | 
            +
             | 
| 216 | 
            +
              <div id="instance_attr_details" class="attr_details">
         | 
| 217 | 
            +
                <h2>Instance Attribute Details</h2>
         | 
| 218 | 
            +
                
         | 
| 219 | 
            +
                  
         | 
| 220 | 
            +
                  <span id="enabled?=-instance_method"></span>
         | 
| 221 | 
            +
                  <div class="method_details first">
         | 
| 222 | 
            +
              <h3 class="signature first" id="enabled?-instance_method">
         | 
| 223 | 
            +
              
         | 
| 224 | 
            +
                - (<tt>Boolean</tt>) <strong>enabled?</strong> 
         | 
| 225 | 
            +
              
         | 
| 226 | 
            +
             | 
| 227 | 
            +
              
         | 
| 228 | 
            +
             | 
| 229 | 
            +
              
         | 
| 230 | 
            +
            </h3><div class="docstring">
         | 
| 231 | 
            +
              <div class="discussion">
         | 
| 232 | 
            +
                
         | 
| 233 | 
            +
            <p>Whether the menu is enabled. When enabled, a menu can be touched or
         | 
| 234 | 
            +
            clicked. By default, a menu is enabled.</p>
         | 
| 235 | 
            +
             | 
| 236 | 
            +
             | 
| 237 | 
            +
              </div>
         | 
| 238 | 
            +
            </div>
         | 
| 239 | 
            +
            <div class="tags">
         | 
| 240 | 
            +
              
         | 
| 241 | 
            +
            <p class="tag_title">Returns:</p>
         | 
| 242 | 
            +
            <ul class="return">
         | 
| 243 | 
            +
              
         | 
| 244 | 
            +
                <li>
         | 
| 245 | 
            +
                  
         | 
| 246 | 
            +
                  
         | 
| 247 | 
            +
                    <span class='type'>(<tt>Boolean</tt>)</span>
         | 
| 248 | 
            +
                  
         | 
| 249 | 
            +
                  
         | 
| 250 | 
            +
                  
         | 
| 251 | 
            +
                    —
         | 
| 252 | 
            +
                    <div class='inline'>
         | 
| 253 | 
            +
            <p>whether the menu is enabled.</p>
         | 
| 254 | 
            +
            </div>
         | 
| 255 | 
            +
                  
         | 
| 256 | 
            +
                </li>
         | 
| 257 | 
            +
              
         | 
| 258 | 
            +
            </ul>
         | 
| 259 | 
            +
             | 
| 260 | 
            +
            </div><table class="source_code">
         | 
| 261 | 
            +
              <tr>
         | 
| 262 | 
            +
                <td>
         | 
| 263 | 
            +
                  <pre class="lines">
         | 
| 264 | 
            +
             | 
| 265 | 
            +
             | 
| 266 | 
            +
            303
         | 
| 267 | 
            +
            304
         | 
| 268 | 
            +
            305</pre>
         | 
| 269 | 
            +
                </td>
         | 
| 270 | 
            +
                <td>
         | 
| 271 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 303</span>
         | 
| 272 | 
            +
             | 
| 273 | 
            +
            def enabled?
         | 
| 274 | 
            +
              @enabled?
         | 
| 275 | 
            +
            end</pre>
         | 
| 276 | 
            +
                </td>
         | 
| 277 | 
            +
              </tr>
         | 
| 278 | 
            +
            </table>
         | 
| 279 | 
            +
            </div>
         | 
| 280 | 
            +
                
         | 
| 281 | 
            +
              </div>
         | 
| 282 | 
            +
             | 
| 283 | 
            +
             | 
| 284 | 
            +
              <div id="instance_method_details" class="method_details_list">
         | 
| 285 | 
            +
                <h2>Instance Method Details</h2>
         | 
| 286 | 
            +
             | 
| 287 | 
            +
                
         | 
| 288 | 
            +
                  <div class="method_details first">
         | 
| 289 | 
            +
              <h3 class="signature first" id="menu_align_items_horizontally-instance_method">
         | 
| 290 | 
            +
              
         | 
| 291 | 
            +
                - (<tt><span class='object_link'><a href="" title="MG::Menu (class)">Menu</a></span></tt>) <strong>menu_align_items_horizontally</strong>(padding = null) 
         | 
| 292 | 
            +
              
         | 
| 293 | 
            +
             | 
| 294 | 
            +
              
         | 
| 295 | 
            +
             | 
| 296 | 
            +
              
         | 
| 297 | 
            +
            </h3><div class="docstring">
         | 
| 298 | 
            +
              <div class="discussion">
         | 
| 299 | 
            +
                
         | 
| 300 | 
            +
            <p>aligns menu items horizontally with padding (call after adding items via
         | 
| 301 | 
            +
            image_item)</p>
         | 
| 302 | 
            +
             | 
| 303 | 
            +
             | 
| 304 | 
            +
              </div>
         | 
| 305 | 
            +
            </div>
         | 
| 306 | 
            +
            <div class="tags">
         | 
| 307 | 
            +
              <p class="tag_title">Parameters:</p>
         | 
| 308 | 
            +
            <ul class="param">
         | 
| 309 | 
            +
              
         | 
| 310 | 
            +
                <li>
         | 
| 311 | 
            +
                  
         | 
| 312 | 
            +
                    <span class='name'>padding</span>
         | 
| 313 | 
            +
                  
         | 
| 314 | 
            +
                  
         | 
| 315 | 
            +
                    <span class='type'>(<tt>Float</tt>)</span>
         | 
| 316 | 
            +
                  
         | 
| 317 | 
            +
                  
         | 
| 318 | 
            +
                    <em class="default">(defaults to: <tt>null</tt>)</em>
         | 
| 319 | 
            +
                  
         | 
| 320 | 
            +
                  
         | 
| 321 | 
            +
                    —
         | 
| 322 | 
            +
                    <div class='inline'>
         | 
| 323 | 
            +
            <p>the amount of padding between the items.</p>
         | 
| 324 | 
            +
            </div>
         | 
| 325 | 
            +
                  
         | 
| 326 | 
            +
                </li>
         | 
| 327 | 
            +
              
         | 
| 328 | 
            +
            </ul>
         | 
| 329 | 
            +
             | 
| 330 | 
            +
            <p class="tag_title">Returns:</p>
         | 
| 331 | 
            +
            <ul class="return">
         | 
| 332 | 
            +
              
         | 
| 333 | 
            +
                <li>
         | 
| 334 | 
            +
                  
         | 
| 335 | 
            +
                  
         | 
| 336 | 
            +
                    <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Menu (class)">Menu</a></span></tt>)</span>
         | 
| 337 | 
            +
                  
         | 
| 338 | 
            +
                  
         | 
| 339 | 
            +
                  
         | 
| 340 | 
            +
                    —
         | 
| 341 | 
            +
                    <div class='inline'>
         | 
| 342 | 
            +
            <p>the receiver.</p>
         | 
| 343 | 
            +
            </div>
         | 
| 344 | 
            +
                  
         | 
| 345 | 
            +
                </li>
         | 
| 346 | 
            +
              
         | 
| 347 | 
            +
            </ul>
         | 
| 348 | 
            +
             | 
| 349 | 
            +
            </div><table class="source_code">
         | 
| 350 | 
            +
              <tr>
         | 
| 351 | 
            +
                <td>
         | 
| 352 | 
            +
                  <pre class="lines">
         | 
| 353 | 
            +
             | 
| 354 | 
            +
             | 
| 355 | 
            +
            295</pre>
         | 
| 356 | 
            +
                </td>
         | 
| 357 | 
            +
                <td>
         | 
| 358 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 295</span>
         | 
| 359 | 
            +
             | 
| 360 | 
            +
            <span class='kw'>def</span> <span class='id identifier rubyid_menu_align_items_horizontally'>menu_align_items_horizontally</span><span class='lparen'>(</span><span class='id identifier rubyid_padding'>padding</span><span class='op'>=</span><span class='id identifier rubyid_null'>null</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 361 | 
            +
                </td>
         | 
| 362 | 
            +
              </tr>
         | 
| 363 | 
            +
            </table>
         | 
| 364 | 
            +
            </div>
         | 
| 365 | 
            +
                
         | 
| 366 | 
            +
                  <div class="method_details ">
         | 
| 367 | 
            +
              <h3 class="signature " id="menu_align_items_vertically-instance_method">
         | 
| 368 | 
            +
              
         | 
| 369 | 
            +
                - (<tt><span class='object_link'><a href="" title="MG::Menu (class)">Menu</a></span></tt>) <strong>menu_align_items_vertically</strong>(padding = null) 
         | 
| 370 | 
            +
              
         | 
| 371 | 
            +
             | 
| 372 | 
            +
              
         | 
| 373 | 
            +
             | 
| 374 | 
            +
              
         | 
| 375 | 
            +
            </h3><div class="docstring">
         | 
| 376 | 
            +
              <div class="discussion">
         | 
| 377 | 
            +
                
         | 
| 378 | 
            +
            <p>aligns menu items vertically with padding (call after adding items via
         | 
| 379 | 
            +
            image_item)</p>
         | 
| 380 | 
            +
             | 
| 381 | 
            +
             | 
| 382 | 
            +
              </div>
         | 
| 383 | 
            +
            </div>
         | 
| 384 | 
            +
            <div class="tags">
         | 
| 385 | 
            +
              <p class="tag_title">Parameters:</p>
         | 
| 386 | 
            +
            <ul class="param">
         | 
| 387 | 
            +
              
         | 
| 388 | 
            +
                <li>
         | 
| 389 | 
            +
                  
         | 
| 390 | 
            +
                    <span class='name'>padding</span>
         | 
| 391 | 
            +
                  
         | 
| 392 | 
            +
                  
         | 
| 393 | 
            +
                    <span class='type'>(<tt>Float</tt>)</span>
         | 
| 394 | 
            +
                  
         | 
| 395 | 
            +
                  
         | 
| 396 | 
            +
                    <em class="default">(defaults to: <tt>null</tt>)</em>
         | 
| 397 | 
            +
                  
         | 
| 398 | 
            +
                  
         | 
| 399 | 
            +
                    —
         | 
| 400 | 
            +
                    <div class='inline'>
         | 
| 401 | 
            +
            <p>the amount of padding between the items.</p>
         | 
| 402 | 
            +
            </div>
         | 
| 403 | 
            +
                  
         | 
| 404 | 
            +
                </li>
         | 
| 405 | 
            +
              
         | 
| 406 | 
            +
            </ul>
         | 
| 407 | 
            +
             | 
| 408 | 
            +
            <p class="tag_title">Returns:</p>
         | 
| 409 | 
            +
            <ul class="return">
         | 
| 410 | 
            +
              
         | 
| 411 | 
            +
                <li>
         | 
| 412 | 
            +
                  
         | 
| 413 | 
            +
                  
         | 
| 414 | 
            +
                    <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Menu (class)">Menu</a></span></tt>)</span>
         | 
| 415 | 
            +
                  
         | 
| 416 | 
            +
                  
         | 
| 417 | 
            +
                  
         | 
| 418 | 
            +
                    —
         | 
| 419 | 
            +
                    <div class='inline'>
         | 
| 420 | 
            +
            <p>the receiver.</p>
         | 
| 421 | 
            +
            </div>
         | 
| 422 | 
            +
                  
         | 
| 423 | 
            +
                </li>
         | 
| 424 | 
            +
              
         | 
| 425 | 
            +
            </ul>
         | 
| 426 | 
            +
             | 
| 427 | 
            +
            </div><table class="source_code">
         | 
| 428 | 
            +
              <tr>
         | 
| 429 | 
            +
                <td>
         | 
| 430 | 
            +
                  <pre class="lines">
         | 
| 431 | 
            +
             | 
| 432 | 
            +
             | 
| 433 | 
            +
            289</pre>
         | 
| 434 | 
            +
                </td>
         | 
| 435 | 
            +
                <td>
         | 
| 436 | 
            +
                  <pre class="code"><span class="info file"># File 'motion-game', line 289</span>
         | 
| 437 | 
            +
             | 
| 438 | 
            +
            <span class='kw'>def</span> <span class='id identifier rubyid_menu_align_items_vertically'>menu_align_items_vertically</span><span class='lparen'>(</span><span class='id identifier rubyid_padding'>padding</span><span class='op'>=</span><span class='id identifier rubyid_null'>null</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
         | 
| 439 | 
            +
                </td>
         | 
| 440 | 
            +
              </tr>
         | 
| 441 | 
            +
            </table>
         | 
| 442 | 
            +
            </div>
         | 
| 443 | 
            +
                
         | 
| 444 | 
            +
              </div>
         | 
| 445 | 
            +
             | 
| 446 | 
            +
            </div>
         | 
| 447 | 
            +
             | 
| 448 | 
            +
                <div id="footer">
         | 
| 449 | 
            +
              Generated on Wed Aug 31 17:59:07 2016 by
         | 
| 450 | 
            +
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 451 | 
            +
              0.8.7.6 (ruby-2.3.1).
         | 
| 452 | 
            +
            </div>
         | 
| 453 | 
            +
             | 
| 454 | 
            +
              </body>
         | 
| 455 | 
            +
            </html>
         |