motion-game 1.1 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/build/android/armeabi/libmotion-cocos.a +0 -0
  3. data/build/android/motion-cocos.jar +0 -0
  4. data/build/android/x86/libmotion-cocos.a +0 -0
  5. data/build/ios/libmotion-cocos.a +0 -0
  6. data/build/tvos/libchipmunk.a +0 -0
  7. data/build/tvos/libcrypto.a +0 -0
  8. data/build/tvos/libcurl.a +0 -0
  9. data/build/tvos/libfreetype.a +0 -0
  10. data/build/tvos/libjpeg.a +0 -0
  11. data/build/tvos/libmotion-cocos.a +0 -0
  12. data/build/tvos/libpng.a +0 -0
  13. data/build/tvos/libssl.a +0 -0
  14. data/build/tvos/libtiff.a +0 -0
  15. data/build/tvos/libwebp.a +0 -0
  16. data/doc/MG.html +3 -3
  17. data/doc/MG/Application.html +8 -8
  18. data/doc/MG/Audio.html +2 -2
  19. data/doc/MG/Button.html +27 -27
  20. data/doc/MG/Color.html +28 -23
  21. data/doc/MG/Director.html +2 -2
  22. data/doc/MG/Draw.html +6 -6
  23. data/doc/MG/Events.html +2 -2
  24. data/doc/MG/Events/Acceleration.html +2 -2
  25. data/doc/MG/Events/Touch.html +2 -2
  26. data/doc/MG/File.html +216 -0
  27. data/doc/MG/Layout.html +16 -16
  28. data/doc/MG/List.html +22 -22
  29. data/doc/MG/Node.html +58 -57
  30. data/doc/MG/Parallax.html +4 -4
  31. data/doc/MG/Particle.html +48 -48
  32. data/doc/MG/Point.html +18 -16
  33. data/doc/MG/Scene.html +319 -28
  34. data/doc/MG/Scroll.html +16 -16
  35. data/doc/MG/Size.html +22 -20
  36. data/doc/MG/Slider.html +8 -8
  37. data/doc/MG/Sprite.html +60 -60
  38. data/doc/MG/Text.html +32 -32
  39. data/doc/MG/Web.html +16 -16
  40. data/doc/MG/Widget.html +12 -12
  41. data/doc/_index.html +20 -5
  42. data/doc/class_list.html +1 -1
  43. data/doc/file.README.html +63 -16
  44. data/doc/index.html +63 -16
  45. data/doc/method_list.html +104 -80
  46. data/doc/top-level-namespace.html +2 -2
  47. data/template/motion-game/files/config/tvos.rb.erb +1 -1
  48. metadata +55 -44
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a46476884bddd1205a59e75de57ee0af55365b52
4
- data.tar.gz: 13a4fed7b8a8f531e7fa0df5e73c1ad97403d1eb
3
+ metadata.gz: 469cdb048c9f7903cbaecd2c960bf5d7628ca6de
4
+ data.tar.gz: f4472c95ff4fa147b5eef50e2613079e5753803a
5
5
  SHA512:
6
- metadata.gz: 7a22d1bf6a9abf802cb404ce3db5fae578ba4b39ac75a4207cf1f32fd502cee6fc82ac004a2ac6533317a4312a8d8afdce20e4320d6fd0b9066c9f9c97727cdf
7
- data.tar.gz: 500ff67b8a897cdc30560755e68e059b6b6e7d5f106e6a6c17642e0031f31d06b25a637c90c430443de712f4fbccfde8514f7b67d832c856b74302f011153ed4
6
+ metadata.gz: 6ed24715701371dc473b706c6dba80e52be795caba9b37cfdaa4e83f0f8fd70cd4ef14b734a2b0dd3611ac2c51ca8302b3d72b234c18694d97d282db93e4302f
7
+ data.tar.gz: b60fbcf77ba09b3a5437fd7ec2a86d109a5eaefa65f9ebd2b9cf1f402ec9adb824b280e1b38923f419f3c4e50b7ea19e3e0404205c18123b40a5687ee4bfb070
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -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/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/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 Mon Sep 7 14:28:54 2015 by
123
+ Generated on Sun Feb 28 09:23:30 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.0.0).
125
+ 0.8.7.6 (ruby-2.2.3).
126
126
  </div>
127
127
 
128
128
  </body>
@@ -106,12 +106,12 @@
106
106
  project template with a <span class='object_link'><a href="#start-instance_method" title="MG::Application#start (method)">#start</a></span> method, in which you are responsible to
107
107
  create a scene and ask the director to run it:</p>
108
108
 
109
- <pre class="ruby"><span class="ruby-keyword">class</span> <span class="ruby-constant">Application</span> <span class="ruby-operator">&lt;</span> <span class="ruby-constant">MG</span><span class="ruby-operator">::</span><span class="ruby-constant">Application</span>
110
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">start</span>
111
- <span class="ruby-constant">MG</span><span class="ruby-operator">::</span><span class="ruby-constant">Director</span>.<span class="ruby-identifier">shared</span>.<span class="ruby-identifier">run</span>(<span class="ruby-constant">MyScene</span>.<span class="ruby-identifier">new</span>)
112
- <span class="ruby-keyword">end</span>
113
- <span class="ruby-keyword">end</span>
114
- </pre>
109
+ <pre class="code ruby"><code class="ruby"><span class='kw'>class</span> <span class='const'>Application</span> <span class='op'>&lt;</span> <span class='const'>MG</span><span class='op'>::</span><span class='const'>Application</span>
110
+ <span class='kw'>def</span> <span class='id identifier rubyid_start'>start</span>
111
+ <span class='const'>MG</span><span class='op'>::</span><span class='const'>Director</span><span class='period'>.</span><span class='id identifier rubyid_shared'>shared</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span><span class='const'>MyScene</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='rparen'>)</span>
112
+ <span class='kw'>end</span>
113
+ <span class='kw'>end</span>
114
+ </code></pre>
115
115
 
116
116
 
117
117
  </div>
@@ -323,9 +323,9 @@ implementation that will create the interface of your game.</p>
323
323
  </div>
324
324
 
325
325
  <div id="footer">
326
- Generated on Mon Sep 7 14:28:54 2015 by
326
+ Generated on Sun Feb 28 09:23:30 2016 by
327
327
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
328
- 0.8.7.6 (ruby-2.0.0).
328
+ 0.8.7.6 (ruby-2.2.3).
329
329
  </div>
330
330
 
331
331
  </body>
@@ -1040,9 +1040,9 @@ immediately plays it.</p>
1040
1040
  </div>
1041
1041
 
1042
1042
  <div id="footer">
1043
- Generated on Mon Sep 7 14:28:54 2015 by
1043
+ Generated on Sun Feb 28 09:23:30 2016 by
1044
1044
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1045
- 0.8.7.6 (ruby-2.0.0).
1045
+ 0.8.7.6 (ruby-2.2.3).
1046
1046
  </div>
1047
1047
 
1048
1048
  </body>
@@ -109,9 +109,9 @@
109
109
  <p>A button widget. The <span class='object_link'><a href="Widget.html#on_touch-instance_method" title="MG::Widget#on_touch (method)">Widget#on_touch</a></span> method can be used to set a callback when
110
110
  the button is activated. Example:</p>
111
111
 
112
- <pre class="ruby"><span class="ruby-identifier">button</span> = <span class="ruby-constant">Button</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&quot;Touch me!&quot;</span>)
113
- <span class="ruby-identifier">button</span>.<span class="ruby-identifier">on_touch</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">type</span><span class="ruby-operator">|</span> <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;touched!&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> :<span class="ruby-keyword">end</span> }
114
- </pre>
112
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_button'>button</span> <span class='op'>=</span> <span class='const'>Button</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Touch me!</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
113
+ <span class='id identifier rubyid_button'>button</span><span class='period'>.</span><span class='id identifier rubyid_on_touch'>on_touch</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_type'>type</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>touched!</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='symbol'>:end</span> <span class='rbrace'>}</span>
114
+ </code></pre>
115
115
 
116
116
 
117
117
  </div>
@@ -386,10 +386,10 @@ the button is activated. Example:</p>
386
386
  <pre class="lines">
387
387
 
388
388
 
389
- 744</pre>
389
+ 770</pre>
390
390
  </td>
391
391
  <td>
392
- <pre class="code"><span class="info file"># File 'motion-game', line 744</span>
392
+ <pre class="code"><span class="info file"># File 'motion-game', line 770</span>
393
393
 
394
394
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_title'>title</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
395
395
  </td>
@@ -448,12 +448,12 @@ the button is activated. Example:</p>
448
448
  <pre class="lines">
449
449
 
450
450
 
451
- 756
452
- 757
453
- 758</pre>
451
+ 782
452
+ 783
453
+ 784</pre>
454
454
  </td>
455
455
  <td>
456
- <pre class="code"><span class="info file"># File 'motion-game', line 756</span>
456
+ <pre class="code"><span class="info file"># File 'motion-game', line 782</span>
457
457
 
458
458
  <span class='kw'>def</span> <span class='id identifier rubyid_font'>font</span>
459
459
  <span class='ivar'>@font</span>
@@ -509,12 +509,12 @@ the button is activated. Example:</p>
509
509
  <pre class="lines">
510
510
 
511
511
 
512
- 759
513
- 760
514
- 761</pre>
512
+ 785
513
+ 786
514
+ 787</pre>
515
515
  </td>
516
516
  <td>
517
- <pre class="code"><span class="info file"># File 'motion-game', line 759</span>
517
+ <pre class="code"><span class="info file"># File 'motion-game', line 785</span>
518
518
 
519
519
  <span class='kw'>def</span> <span class='id identifier rubyid_font_size'>font_size</span>
520
520
  <span class='ivar'>@font_size</span>
@@ -570,12 +570,12 @@ the button is activated. Example:</p>
570
570
  <pre class="lines">
571
571
 
572
572
 
573
- 750
574
- 751
575
- 752</pre>
573
+ 776
574
+ 777
575
+ 778</pre>
576
576
  </td>
577
577
  <td>
578
- <pre class="code"><span class="info file"># File 'motion-game', line 750</span>
578
+ <pre class="code"><span class="info file"># File 'motion-game', line 776</span>
579
579
 
580
580
  <span class='kw'>def</span> <span class='id identifier rubyid_text'>text</span>
581
581
  <span class='ivar'>@text</span>
@@ -631,12 +631,12 @@ the button is activated. Example:</p>
631
631
  <pre class="lines">
632
632
 
633
633
 
634
- 753
635
- 754
636
- 755</pre>
634
+ 779
635
+ 780
636
+ 781</pre>
637
637
  </td>
638
638
  <td>
639
- <pre class="code"><span class="info file"># File 'motion-game', line 753</span>
639
+ <pre class="code"><span class="info file"># File 'motion-game', line 779</span>
640
640
 
641
641
  <span class='kw'>def</span> <span class='id identifier rubyid_text_color'>text_color</span>
642
642
  <span class='ivar'>@text_color</span>
@@ -692,12 +692,12 @@ the button is activated. Example:</p>
692
692
  <pre class="lines">
693
693
 
694
694
 
695
- 763
696
- 764
697
- 765</pre>
695
+ 789
696
+ 790
697
+ 791</pre>
698
698
  </td>
699
699
  <td>
700
- <pre class="code"><span class="info file"># File 'motion-game', line 763</span>
700
+ <pre class="code"><span class="info file"># File 'motion-game', line 789</span>
701
701
 
702
702
  <span class='kw'>def</span> <span class='id identifier rubyid_zoom_scale'>zoom_scale</span>
703
703
  <span class='ivar'>@zoom_scale</span>
@@ -713,9 +713,9 @@ the button is activated. Example:</p>
713
713
  </div>
714
714
 
715
715
  <div id="footer">
716
- Generated on Mon Sep 7 14:28:55 2015 by
716
+ Generated on Sun Feb 28 09:23:31 2016 by
717
717
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
718
- 0.8.7.6 (ruby-2.0.0).
718
+ 0.8.7.6 (ruby-2.2.3).
719
719
  </div>
720
720
 
721
721
  </body>
@@ -109,7 +109,8 @@
109
109
  (red-green-blue-alpha) can be passed instead, as a convenience shortcut.
110
110
  For example,</p>
111
111
 
112
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_color'>color</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='float'>0.2</span><span class='comma'>,</span> <span class='float'>0.3</span><span class='comma'>,</span> <span class='float'>0.4</span><span class='rbracket'>]</span></code></pre>
112
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_color'>color</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='float'>0.2</span><span class='comma'>,</span> <span class='float'>0.3</span><span class='comma'>,</span> <span class='float'>0.4</span><span class='rbracket'>]</span>
113
+ </code></pre>
113
114
 
114
115
  <p>is the same as</p>
115
116
 
@@ -117,23 +118,27 @@ For example,</p>
117
118
  <span class='id identifier rubyid_color'>color</span><span class='period'>.</span><span class='id identifier rubyid_red'>red</span> <span class='op'>=</span> <span class='float'>0.2</span>
118
119
  <span class='id identifier rubyid_color'>color</span><span class='period'>.</span><span class='id identifier rubyid_green'>green</span> <span class='op'>=</span> <span class='float'>0.3</span>
119
120
  <span class='id identifier rubyid_color'>color</span><span class='period'>.</span><span class='id identifier rubyid_blue'>blue</span> <span class='op'>=</span> <span class='float'>0.4</span>
120
- <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_color'>color</span> <span class='op'>=</span> <span class='id identifier rubyid_color'>color</span></code></pre>
121
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_color'>color</span> <span class='op'>=</span> <span class='id identifier rubyid_color'>color</span>
122
+ </code></pre>
121
123
 
122
124
  <p>Alternatively, a <code>Symbol</code> corresponding to a basic color name
123
125
  can be provided. For example,</p>
124
126
 
125
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_color'>color</span> <span class='op'>=</span> <span class='symbol'>:red</span></code></pre>
127
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_color'>color</span> <span class='op'>=</span> <span class='symbol'>:red</span>
128
+ </code></pre>
126
129
 
127
130
  <p>is the same as</p>
128
131
 
129
132
  <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_color'>color</span> <span class='op'>=</span> <span class='const'>MG</span><span class='op'>::</span><span class='const'>Color</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
130
133
  <span class='id identifier rubyid_color'>color</span><span class='period'>.</span><span class='id identifier rubyid_red'>red</span> <span class='op'>=</span> <span class='float'>1.0</span>
131
134
  <span class='id identifier rubyid_color'>color</span><span class='period'>.</span><span class='id identifier rubyid_green'>green</span> <span class='op'>=</span> <span class='id identifier rubyid_color'>color</span><span class='period'>.</span><span class='id identifier rubyid_blue'>blue</span> <span class='op'>=</span> <span class='int'>0</span>
132
- <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_color'>color</span> <span class='op'>=</span> <span class='id identifier rubyid_color'>color</span></code></pre>
135
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_color'>color</span> <span class='op'>=</span> <span class='id identifier rubyid_color'>color</span>
136
+ </code></pre>
133
137
 
134
138
  <p>Currently, the following symbols are supported: <code>:white</code>,
135
139
  <code>:black</code>, <code>:red</code>, <code>:green</code> and
136
- <code>:blue</code>.</p>
140
+ <code>:blue</code>. The <code>MG::Color.new</code> constructor will return
141
+ the black color.</p>
137
142
 
138
143
 
139
144
  </div>
@@ -312,12 +317,12 @@ can be provided. For example,</p>
312
317
  <pre class="lines">
313
318
 
314
319
 
315
- 668
316
- 669
317
- 670</pre>
320
+ 694
321
+ 695
322
+ 696</pre>
318
323
  </td>
319
324
  <td>
320
- <pre class="code"><span class="info file"># File 'motion-game', line 668</span>
325
+ <pre class="code"><span class="info file"># File 'motion-game', line 694</span>
321
326
 
322
327
  <span class='kw'>def</span> <span class='id identifier rubyid_alpha'>alpha</span>
323
328
  <span class='ivar'>@alpha</span>
@@ -374,12 +379,12 @@ can be provided. For example,</p>
374
379
  <pre class="lines">
375
380
 
376
381
 
377
- 665
378
- 666
379
- 667</pre>
382
+ 691
383
+ 692
384
+ 693</pre>
380
385
  </td>
381
386
  <td>
382
- <pre class="code"><span class="info file"># File 'motion-game', line 665</span>
387
+ <pre class="code"><span class="info file"># File 'motion-game', line 691</span>
383
388
 
384
389
  <span class='kw'>def</span> <span class='id identifier rubyid_blue'>blue</span>
385
390
  <span class='ivar'>@blue</span>
@@ -436,12 +441,12 @@ can be provided. For example,</p>
436
441
  <pre class="lines">
437
442
 
438
443
 
439
- 662
440
- 663
441
- 664</pre>
444
+ 688
445
+ 689
446
+ 690</pre>
442
447
  </td>
443
448
  <td>
444
- <pre class="code"><span class="info file"># File 'motion-game', line 662</span>
449
+ <pre class="code"><span class="info file"># File 'motion-game', line 688</span>
445
450
 
446
451
  <span class='kw'>def</span> <span class='id identifier rubyid_green'>green</span>
447
452
  <span class='ivar'>@green</span>
@@ -498,12 +503,12 @@ can be provided. For example,</p>
498
503
  <pre class="lines">
499
504
 
500
505
 
501
- 659
502
- 660
503
- 661</pre>
506
+ 685
507
+ 686
508
+ 687</pre>
504
509
  </td>
505
510
  <td>
506
- <pre class="code"><span class="info file"># File 'motion-game', line 659</span>
511
+ <pre class="code"><span class="info file"># File 'motion-game', line 685</span>
507
512
 
508
513
  <span class='kw'>def</span> <span class='id identifier rubyid_red'>red</span>
509
514
  <span class='ivar'>@red</span>
@@ -519,9 +524,9 @@ can be provided. For example,</p>
519
524
  </div>
520
525
 
521
526
  <div id="footer">
522
- Generated on Mon Sep 7 14:28:55 2015 by
527
+ Generated on Sun Feb 28 09:23:31 2016 by
523
528
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
524
- 0.8.7.6 (ruby-2.0.0).
529
+ 0.8.7.6 (ruby-2.2.3).
525
530
  </div>
526
531
 
527
532
  </body>
@@ -1131,9 +1131,9 @@ terminated.</p>
1131
1131
  </div>
1132
1132
 
1133
1133
  <div id="footer">
1134
- Generated on Mon Sep 7 14:28:54 2015 by
1134
+ Generated on Sun Feb 28 09:23:30 2016 by
1135
1135
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1136
- 0.8.7.6 (ruby-2.0.0).
1136
+ 0.8.7.6 (ruby-2.2.3).
1137
1137
  </div>
1138
1138
 
1139
1139
  </body>
@@ -287,10 +287,10 @@ color.</p>
287
287
  <pre class="lines">
288
288
 
289
289
 
290
- 371</pre>
290
+ 396</pre>
291
291
  </td>
292
292
  <td>
293
- <pre class="code"><span class="info file"># File 'motion-game', line 371</span>
293
+ <pre class="code"><span class="info file"># File 'motion-game', line 396</span>
294
294
 
295
295
  <span class='kw'>def</span> <span class='id identifier rubyid_dot'>dot</span><span class='lparen'>(</span><span class='id identifier rubyid_pos'>pos</span><span class='comma'>,</span> <span class='id identifier rubyid_radius'>radius</span><span class='comma'>,</span> <span class='id identifier rubyid_color'>color</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
296
296
  </td>
@@ -412,10 +412,10 @@ color.</p>
412
412
  <pre class="lines">
413
413
 
414
414
 
415
- 379</pre>
415
+ 404</pre>
416
416
  </td>
417
417
  <td>
418
- <pre class="code"><span class="info file"># File 'motion-game', line 379</span>
418
+ <pre class="code"><span class="info file"># File 'motion-game', line 404</span>
419
419
 
420
420
  <span class='kw'>def</span> <span class='id identifier rubyid_rect'>rect</span><span class='lparen'>(</span><span class='id identifier rubyid_origin'>origin</span><span class='comma'>,</span> <span class='id identifier rubyid_destination'>destination</span><span class='comma'>,</span> <span class='id identifier rubyid_color'>color</span><span class='comma'>,</span> <span class='id identifier rubyid_fill'>fill</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
421
421
  </td>
@@ -428,9 +428,9 @@ color.</p>
428
428
  </div>
429
429
 
430
430
  <div id="footer">
431
- Generated on Mon Sep 7 14:28:55 2015 by
431
+ Generated on Sun Feb 28 09:23:30 2016 by
432
432
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
433
- 0.8.7.6 (ruby-2.0.0).
433
+ 0.8.7.6 (ruby-2.2.3).
434
434
  </div>
435
435
 
436
436
  </body>
@@ -118,9 +118,9 @@ the game engine. You typically never instantiate these classes yourself.</p>
118
118
  </div>
119
119
 
120
120
  <div id="footer">
121
- Generated on Mon Sep 7 14:28:54 2015 by
121
+ Generated on Sun Feb 28 09:23:30 2016 by
122
122
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
123
- 0.8.7.6 (ruby-2.0.0).
123
+ 0.8.7.6 (ruby-2.2.3).
124
124
  </div>
125
125
 
126
126
  </body>
@@ -493,9 +493,9 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
493
493
  </div>
494
494
 
495
495
  <div id="footer">
496
- Generated on Mon Sep 7 14:28:54 2015 by
496
+ Generated on Sun Feb 28 09:23:30 2016 by
497
497
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
498
- 0.8.7.6 (ruby-2.0.0).
498
+ 0.8.7.6 (ruby-2.2.3).
499
499
  </div>
500
500
 
501
501
  </body>
@@ -223,9 +223,9 @@ the <span class='object_link'><a href="../Scene.html#on_touch_begin-instance_met
223
223
  </div>
224
224
 
225
225
  <div id="footer">
226
- Generated on Mon Sep 7 14:28:54 2015 by
226
+ Generated on Sun Feb 28 09:23:30 2016 by
227
227
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
228
- 0.8.7.6 (ruby-2.0.0).
228
+ 0.8.7.6 (ruby-2.2.3).
229
229
  </div>
230
230
 
231
231
  </body>
@@ -0,0 +1,216 @@
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::File
8
+
9
+ &mdash; 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/File.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 (F)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
36
+ &raquo;
37
+ <span class="title">File</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::File
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::File</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
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <h2>
111
+ Properties
112
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
113
+ </h2>
114
+
115
+ <ul class="summary">
116
+
117
+ <li class="public ">
118
+ <span class="summary_signature">
119
+
120
+ <a href="#read-class_method" title="read (class method)">+ (String) <strong>read</strong> </a>
121
+
122
+
123
+
124
+ </span>
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <span class="summary_desc"><div class='inline'>
135
+ <p>Open a file and return its content.</p>
136
+ </div></span>
137
+
138
+ </li>
139
+
140
+
141
+ </ul>
142
+
143
+
144
+
145
+
146
+ <div id="class_method_details" class="method_details_list">
147
+ <h2>Class Method Details</h2>
148
+
149
+
150
+ <div class="method_details first">
151
+ <h3 class="signature first" id="read-class_method">
152
+
153
+ + (<tt>String</tt>) <strong>read</strong>
154
+
155
+
156
+
157
+
158
+
159
+ </h3><div class="docstring">
160
+ <div class="discussion">
161
+
162
+ <p>Open a file and return its content</p>
163
+
164
+
165
+ </div>
166
+ </div>
167
+ <div class="tags">
168
+
169
+ <p class="tag_title">Returns:</p>
170
+ <ul class="return">
171
+
172
+ <li>
173
+
174
+
175
+ <span class='type'>(<tt>String</tt>)</span>
176
+
177
+
178
+
179
+ &mdash;
180
+ <div class='inline'>
181
+ <p>the content.</p>
182
+ </div>
183
+
184
+ </li>
185
+
186
+ </ul>
187
+
188
+ </div><table class="source_code">
189
+ <tr>
190
+ <td>
191
+ <pre class="lines">
192
+
193
+
194
+ 174</pre>
195
+ </td>
196
+ <td>
197
+ <pre class="code"><span class="info file"># File 'motion-game', line 174</span>
198
+
199
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
200
+ </td>
201
+ </tr>
202
+ </table>
203
+ </div>
204
+
205
+ </div>
206
+
207
+ </div>
208
+
209
+ <div id="footer">
210
+ Generated on Sun Feb 28 09:23:30 2016 by
211
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
212
+ 0.8.7.6 (ruby-2.2.3).
213
+ </div>
214
+
215
+ </body>
216
+ </html>