motion-game 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +120 -0
  3. data/build/android/armeabi/libmotion-cocos.a +0 -0
  4. data/build/android/motion-cocos.jar +0 -0
  5. data/build/android/x86/libmotion-cocos.a +0 -0
  6. data/build/ios/libmotion-cocos.a +0 -0
  7. data/build/tvos/libmotion-cocos.a +0 -0
  8. data/doc/API_reference.rb +1407 -0
  9. data/doc/MG.html +1 -1
  10. data/doc/MG/Action.html +9 -9
  11. data/doc/MG/Animate.html +4 -4
  12. data/doc/MG/Application.html +5 -5
  13. data/doc/MG/Audio.html +391 -175
  14. data/doc/MG/Blink.html +3 -3
  15. data/doc/MG/Button.html +23 -23
  16. data/doc/MG/Color.html +19 -20
  17. data/doc/MG/DelayTime.html +3 -3
  18. data/doc/MG/Director.html +33 -33
  19. data/doc/MG/Draw.html +11 -11
  20. data/doc/MG/Events.html +1 -1
  21. data/doc/MG/Events/Acceleration.html +17 -17
  22. data/doc/MG/Events/Touch.html +5 -5
  23. data/doc/MG/FadeIn.html +3 -3
  24. data/doc/MG/FadeOut.html +3 -3
  25. data/doc/MG/FadeTo.html +3 -3
  26. data/doc/MG/File.html +3 -3
  27. data/doc/MG/Follow.html +3 -3
  28. data/doc/MG/JumpBy.html +3 -3
  29. data/doc/MG/JumpTo.html +3 -3
  30. data/doc/MG/Layout.html +15 -15
  31. data/doc/MG/List.html +21 -21
  32. data/doc/MG/Menu.html +9 -9
  33. data/doc/MG/MoveBy.html +3 -3
  34. data/doc/MG/MoveTo.html +3 -3
  35. data/doc/MG/Node.html +61 -61
  36. data/doc/MG/Parallax.html +3 -3
  37. data/doc/MG/Particle.html +47 -47
  38. data/doc/MG/Point.html +16 -18
  39. data/doc/MG/Repeat.html +3 -3
  40. data/doc/MG/RepeatForever.html +3 -3
  41. data/doc/MG/RotateBy.html +3 -3
  42. data/doc/MG/RotateTo.html +3 -3
  43. data/doc/MG/ScaleBy.html +3 -3
  44. data/doc/MG/ScaleTo.html +3 -3
  45. data/doc/MG/Scene.html +33 -33
  46. data/doc/MG/Scroll.html +15 -15
  47. data/doc/MG/Sequence.html +3 -3
  48. data/doc/MG/Size.html +19 -20
  49. data/doc/MG/SkewBy.html +3 -3
  50. data/doc/MG/SkewTo.html +3 -3
  51. data/doc/MG/Slider.html +7 -7
  52. data/doc/MG/Spawn.html +3 -3
  53. data/doc/MG/Speed.html +3 -3
  54. data/doc/MG/Sprite.html +189 -67
  55. data/doc/MG/Text.html +31 -31
  56. data/doc/MG/TintBy.html +3 -3
  57. data/doc/MG/TintTo.html +3 -3
  58. data/doc/MG/Web.html +15 -15
  59. data/doc/MG/Widget.html +15 -15
  60. data/doc/_index.html +1 -1
  61. data/doc/file.README.html +4 -2
  62. data/doc/index.html +4 -2
  63. data/doc/method_list.html +181 -141
  64. data/doc/top-level-namespace.html +1 -1
  65. data/lib/motion-game/android.rb +0 -1
  66. metadata +4 -2
data/doc/MG/Sequence.html CHANGED
@@ -214,10 +214,10 @@ receiver.</p>
214
214
  <pre class="lines">
215
215
 
216
216
 
217
- 245</pre>
217
+ 250</pre>
218
218
  </td>
219
219
  <td>
220
- <pre class="code"><span class="info file"># File 'motion-game', line 245</span>
220
+ <pre class="code"><span class="info file"># File 'motion-game', line 250</span>
221
221
 
222
222
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_actions'>actions</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
223
223
  </td>
@@ -231,7 +231,7 @@ receiver.</p>
231
231
  </div>
232
232
 
233
233
  <div id="footer">
234
- Generated on Sun Nov 27 15:52:18 2016 by
234
+ Generated on Sun Dec 11 16:38:29 2016 by
235
235
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
236
236
  0.9.5 (ruby-2.3.3).
237
237
  </div>
data/doc/MG/Size.html CHANGED
@@ -104,9 +104,8 @@
104
104
  <h2>Overview</h2><div class="docstring">
105
105
  <div class="discussion">
106
106
 
107
- <p>A size represents the dimensions of width and height of an object.</p>
108
-
109
- <p>When calling a method that expects a <code>Size</code> object, a 2-element
107
+ <p>A size represents the dimensions of width and height of an object. When
108
+ calling a method that expects a <code>Size</code> object, a 2-element
110
109
  <code>Array</code> can be passed instead, as a convenience shortcut. For
111
110
  example,</p>
112
111
 
@@ -352,12 +351,12 @@ size object.</p>
352
351
  <pre class="lines">
353
352
 
354
353
 
355
- 1056
356
- 1057
357
- 1058</pre>
354
+ 1080
355
+ 1081
356
+ 1082</pre>
358
357
  </td>
359
358
  <td>
360
- <pre class="code"><span class="info file"># File 'motion-game', line 1056</span>
359
+ <pre class="code"><span class="info file"># File 'motion-game', line 1080</span>
361
360
 
362
361
  <span class='kw'>def</span> <span class='id identifier rubyid_height'>height</span>
363
362
  <span class='ivar'>@height</span>
@@ -413,12 +412,12 @@ size object.</p>
413
412
  <pre class="lines">
414
413
 
415
414
 
416
- 1053
417
- 1054
418
- 1055</pre>
415
+ 1077
416
+ 1078
417
+ 1079</pre>
419
418
  </td>
420
419
  <td>
421
- <pre class="code"><span class="info file"># File 'motion-game', line 1053</span>
420
+ <pre class="code"><span class="info file"># File 'motion-game', line 1077</span>
422
421
 
423
422
  <span class='kw'>def</span> <span class='id identifier rubyid_width'>width</span>
424
423
  <span class='ivar'>@width</span>
@@ -499,10 +498,10 @@ size object.</p>
499
498
  <pre class="lines">
500
499
 
501
500
 
502
- 1081</pre>
501
+ 1105</pre>
503
502
  </td>
504
503
  <td>
505
- <pre class="code"><span class="info file"># File 'motion-game', line 1081</span>
504
+ <pre class="code"><span class="info file"># File 'motion-game', line 1105</span>
506
505
 
507
506
  <span class='kw'>def</span> <span class='op'>*</span><span class='lparen'>(</span><span class='id identifier rubyid_delta'>delta</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
508
507
  </td>
@@ -570,10 +569,10 @@ object.</p>
570
569
  <pre class="lines">
571
570
 
572
571
 
573
- 1065</pre>
572
+ 1089</pre>
574
573
  </td>
575
574
  <td>
576
- <pre class="code"><span class="info file"># File 'motion-game', line 1065</span>
575
+ <pre class="code"><span class="info file"># File 'motion-game', line 1089</span>
577
576
 
578
577
  <span class='kw'>def</span> <span class='op'>+</span><span class='lparen'>(</span><span class='id identifier rubyid_size'>size</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
579
578
  </td>
@@ -641,10 +640,10 @@ size object.</p>
641
640
  <pre class="lines">
642
641
 
643
642
 
644
- 1071</pre>
643
+ 1095</pre>
645
644
  </td>
646
645
  <td>
647
- <pre class="code"><span class="info file"># File 'motion-game', line 1071</span>
646
+ <pre class="code"><span class="info file"># File 'motion-game', line 1095</span>
648
647
 
649
648
  <span class='kw'>def</span> <span class='op'>-</span><span class='lparen'>(</span><span class='id identifier rubyid_size'>size</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
650
649
  </td>
@@ -716,10 +715,10 @@ size object.</p>
716
715
  <pre class="lines">
717
716
 
718
717
 
719
- 1076</pre>
718
+ 1100</pre>
720
719
  </td>
721
720
  <td>
722
- <pre class="code"><span class="info file"># File 'motion-game', line 1076</span>
721
+ <pre class="code"><span class="info file"># File 'motion-game', line 1100</span>
723
722
 
724
723
  <span class='kw'>def</span> <span class='op'>/</span><span class='lparen'>(</span><span class='id identifier rubyid_delta'>delta</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
725
724
  </td>
@@ -732,7 +731,7 @@ size object.</p>
732
731
  </div>
733
732
 
734
733
  <div id="footer">
735
- Generated on Sun Nov 27 15:52:19 2016 by
734
+ Generated on Sun Dec 11 16:38:30 2016 by
736
735
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
737
736
  0.9.5 (ruby-2.3.3).
738
737
  </div>
data/doc/MG/SkewBy.html CHANGED
@@ -246,10 +246,10 @@ it&#39;s skewX and skewY attributes by delta_x_angle and delta_y_angle.</p>
246
246
  <pre class="lines">
247
247
 
248
248
 
249
- 144</pre>
249
+ 149</pre>
250
250
  </td>
251
251
  <td>
252
- <pre class="code"><span class="info file"># File 'motion-game', line 144</span>
252
+ <pre class="code"><span class="info file"># File 'motion-game', line 149</span>
253
253
 
254
254
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_delta_x_angle'>delta_x_angle</span><span class='comma'>,</span> <span class='id identifier rubyid_delta_y_angle'>delta_y_angle</span><span class='comma'>,</span> <span class='id identifier rubyid_interval'>interval</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
255
255
  </td>
@@ -263,7 +263,7 @@ it&#39;s skewX and skewY attributes by delta_x_angle and delta_y_angle.</p>
263
263
  </div>
264
264
 
265
265
  <div id="footer">
266
- Generated on Sun Nov 27 15:52:18 2016 by
266
+ Generated on Sun Dec 11 16:38:29 2016 by
267
267
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
268
268
  0.9.5 (ruby-2.3.3).
269
269
  </div>
data/doc/MG/SkewTo.html CHANGED
@@ -246,10 +246,10 @@ it&#39;s skewX and skewY attributes</p>
246
246
  <pre class="lines">
247
247
 
248
248
 
249
- 158</pre>
249
+ 163</pre>
250
250
  </td>
251
251
  <td>
252
- <pre class="code"><span class="info file"># File 'motion-game', line 158</span>
252
+ <pre class="code"><span class="info file"># File 'motion-game', line 163</span>
253
253
 
254
254
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_x_angle'>x_angle</span><span class='comma'>,</span> <span class='id identifier rubyid_y_angle'>y_angle</span><span class='comma'>,</span> <span class='id identifier rubyid_interval'>interval</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
255
255
  </td>
@@ -263,7 +263,7 @@ it&#39;s skewX and skewY attributes</p>
263
263
  </div>
264
264
 
265
265
  <div id="footer">
266
- Generated on Sun Nov 27 15:52:18 2016 by
266
+ Generated on Sun Dec 11 16:38:29 2016 by
267
267
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
268
268
  0.9.5 (ruby-2.3.3).
269
269
  </div>
data/doc/MG/Slider.html CHANGED
@@ -243,10 +243,10 @@
243
243
  <pre class="lines">
244
244
 
245
245
 
246
- 1230</pre>
246
+ 1253</pre>
247
247
  </td>
248
248
  <td>
249
- <pre class="code"><span class="info file"># File 'motion-game', line 1230</span>
249
+ <pre class="code"><span class="info file"># File 'motion-game', line 1253</span>
250
250
 
251
251
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
252
252
  </td>
@@ -307,12 +307,12 @@
307
307
  <pre class="lines">
308
308
 
309
309
 
310
- 1237
311
- 1238
312
- 1239</pre>
310
+ 1260
311
+ 1261
312
+ 1262</pre>
313
313
  </td>
314
314
  <td>
315
- <pre class="code"><span class="info file"># File 'motion-game', line 1237</span>
315
+ <pre class="code"><span class="info file"># File 'motion-game', line 1260</span>
316
316
 
317
317
  <span class='kw'>def</span> <span class='id identifier rubyid_progress'>progress</span>
318
318
  <span class='ivar'>@progress</span>
@@ -328,7 +328,7 @@
328
328
  </div>
329
329
 
330
330
  <div id="footer">
331
- Generated on Sun Nov 27 15:52:19 2016 by
331
+ Generated on Sun Dec 11 16:38:30 2016 by
332
332
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
333
333
  0.9.5 (ruby-2.3.3).
334
334
  </div>
data/doc/MG/Spawn.html CHANGED
@@ -212,10 +212,10 @@
212
212
  <pre class="lines">
213
213
 
214
214
 
215
- 256</pre>
215
+ 261</pre>
216
216
  </td>
217
217
  <td>
218
- <pre class="code"><span class="info file"># File 'motion-game', line 256</span>
218
+ <pre class="code"><span class="info file"># File 'motion-game', line 261</span>
219
219
 
220
220
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_actions'>actions</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
221
221
  </td>
@@ -229,7 +229,7 @@
229
229
  </div>
230
230
 
231
231
  <div id="footer">
232
- Generated on Sun Nov 27 15:52:18 2016 by
232
+ Generated on Sun Dec 11 16:38:29 2016 by
233
233
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
234
234
  0.9.5 (ruby-2.3.3).
235
235
  </div>
data/doc/MG/Speed.html CHANGED
@@ -232,10 +232,10 @@ not an IntervalAction.</p>
232
232
  <pre class="lines">
233
233
 
234
234
 
235
- 292</pre>
235
+ 297</pre>
236
236
  </td>
237
237
  <td>
238
- <pre class="code"><span class="info file"># File 'motion-game', line 292</span>
238
+ <pre class="code"><span class="info file"># File 'motion-game', line 297</span>
239
239
 
240
240
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_target_action'>target_action</span><span class='comma'>,</span> <span class='id identifier rubyid_speed'>speed</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
241
241
  </td>
@@ -249,7 +249,7 @@ not an IntervalAction.</p>
249
249
  </div>
250
250
 
251
251
  <div id="footer">
252
- Generated on Sun Nov 27 15:52:18 2016 by
252
+ Generated on Sun Dec 11 16:38:29 2016 by
253
253
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
254
254
  0.9.5 (ruby-2.3.3).
255
255
  </div>
data/doc/MG/Sprite.html CHANGED
@@ -567,6 +567,54 @@ given frames in <code>sprite_frames_names</code> based on the given
567
567
  <p>Sets whether the sprite should be flipped vertically or not.</p>
568
568
  </div></span>
569
569
 
570
+ </li>
571
+
572
+
573
+ <li class="public ">
574
+ <span class="summary_signature">
575
+
576
+ <a href="#flipped_x%3D-instance_method" title="#flipped_x= (instance method)">#<strong>flipped_x=</strong>(value) &#x21d2; Object </a>
577
+
578
+
579
+
580
+ </span>
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+ <span class="summary_desc"><div class='inline'>
591
+ <p>This is alias method of “#flipped_horizontally=”.</p>
592
+ </div></span>
593
+
594
+ </li>
595
+
596
+
597
+ <li class="public ">
598
+ <span class="summary_signature">
599
+
600
+ <a href="#flipped_y%3D-instance_method" title="#flipped_y= (instance method)">#<strong>flipped_y=</strong>(value) &#x21d2; Object </a>
601
+
602
+
603
+
604
+ </span>
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+ <span class="summary_desc"><div class='inline'>
615
+ <p>This is alias method of “#flipped_vertically=”.</p>
616
+ </div></span>
617
+
570
618
  </li>
571
619
 
572
620
 
@@ -816,10 +864,10 @@ spritesheet using <span class='object_link'><a href="#load-class_method" title="
816
864
  <pre class="lines">
817
865
 
818
866
 
819
- 880</pre>
867
+ 900</pre>
820
868
  </td>
821
869
  <td>
822
- <pre class="code"><span class="info file"># File 'motion-game', line 880</span>
870
+ <pre class="code"><span class="info file"># File 'motion-game', line 900</span>
823
871
 
824
872
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_sprite_name'>sprite_name</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
825
873
  </td>
@@ -878,12 +926,12 @@ spritesheet using <span class='object_link'><a href="#load-class_method" title="
878
926
  <pre class="lines">
879
927
 
880
928
 
881
- 992
882
- 993
883
- 994</pre>
929
+ 1018
930
+ 1019
931
+ 1020</pre>
884
932
  </td>
885
933
  <td>
886
- <pre class="code"><span class="info file"># File 'motion-game', line 992</span>
934
+ <pre class="code"><span class="info file"># File 'motion-game', line 1018</span>
887
935
 
888
936
  <span class='kw'>def</span> <span class='id identifier rubyid_category_mask'>category_mask</span>
889
937
  <span class='ivar'>@category_mask</span>
@@ -939,12 +987,12 @@ spritesheet using <span class='object_link'><a href="#load-class_method" title="
939
987
  <pre class="lines">
940
988
 
941
989
 
942
- 998
943
- 999
944
- 1000</pre>
990
+ 1024
991
+ 1025
992
+ 1026</pre>
945
993
  </td>
946
994
  <td>
947
- <pre class="code"><span class="info file"># File 'motion-game', line 998</span>
995
+ <pre class="code"><span class="info file"># File 'motion-game', line 1024</span>
948
996
 
949
997
  <span class='kw'>def</span> <span class='id identifier rubyid_collision_mask'>collision_mask</span>
950
998
  <span class='ivar'>@collision_mask</span>
@@ -1000,12 +1048,12 @@ spritesheet using <span class='object_link'><a href="#load-class_method" title="
1000
1048
  <pre class="lines">
1001
1049
 
1002
1050
 
1003
- 995
1004
- 996
1005
- 997</pre>
1051
+ 1021
1052
+ 1022
1053
+ 1023</pre>
1006
1054
  </td>
1007
1055
  <td>
1008
- <pre class="code"><span class="info file"># File 'motion-game', line 995</span>
1056
+ <pre class="code"><span class="info file"># File 'motion-game', line 1021</span>
1009
1057
 
1010
1058
  <span class='kw'>def</span> <span class='id identifier rubyid_contact_mask'>contact_mask</span>
1011
1059
  <span class='ivar'>@contact_mask</span>
@@ -1064,12 +1112,12 @@ default is <code>true</code>, and a dynamic body will affect with gravity.</p>
1064
1112
  <pre class="lines">
1065
1113
 
1066
1114
 
1067
- 977
1068
- 978
1069
- 979</pre>
1115
+ 1003
1116
+ 1004
1117
+ 1005</pre>
1070
1118
  </td>
1071
1119
  <td>
1072
- <pre class="code"><span class="info file"># File 'motion-game', line 977</span>
1120
+ <pre class="code"><span class="info file"># File 'motion-game', line 1003</span>
1073
1121
 
1074
1122
  def dynamic?
1075
1123
  @dynamic?
@@ -1125,12 +1173,12 @@ end</pre>
1125
1173
  <pre class="lines">
1126
1174
 
1127
1175
 
1128
- 980
1129
- 981
1130
- 982</pre>
1176
+ 1006
1177
+ 1007
1178
+ 1008</pre>
1131
1179
  </td>
1132
1180
  <td>
1133
- <pre class="code"><span class="info file"># File 'motion-game', line 980</span>
1181
+ <pre class="code"><span class="info file"># File 'motion-game', line 1006</span>
1134
1182
 
1135
1183
  <span class='kw'>def</span> <span class='id identifier rubyid_friction'>friction</span>
1136
1184
  <span class='ivar'>@friction</span>
@@ -1188,12 +1236,12 @@ force. The default is <code>true</code>.</p>
1188
1236
  <pre class="lines">
1189
1237
 
1190
1238
 
1191
- 972
1192
- 973
1193
- 974</pre>
1239
+ 998
1240
+ 999
1241
+ 1000</pre>
1194
1242
  </td>
1195
1243
  <td>
1196
- <pre class="code"><span class="info file"># File 'motion-game', line 972</span>
1244
+ <pre class="code"><span class="info file"># File 'motion-game', line 998</span>
1197
1245
 
1198
1246
  def gravitates?
1199
1247
  @gravitates?
@@ -1249,12 +1297,12 @@ end</pre>
1249
1297
  <pre class="lines">
1250
1298
 
1251
1299
 
1252
- 989
1253
- 990
1254
- 991</pre>
1300
+ 1015
1301
+ 1016
1302
+ 1017</pre>
1255
1303
  </td>
1256
1304
  <td>
1257
- <pre class="code"><span class="info file"># File 'motion-game', line 989</span>
1305
+ <pre class="code"><span class="info file"># File 'motion-game', line 1015</span>
1258
1306
 
1259
1307
  <span class='kw'>def</span> <span class='id identifier rubyid_inertia_moment'>inertia_moment</span>
1260
1308
  <span class='ivar'>@inertia_moment</span>
@@ -1310,12 +1358,12 @@ end</pre>
1310
1358
  <pre class="lines">
1311
1359
 
1312
1360
 
1313
- 968
1314
- 969
1315
- 970</pre>
1361
+ 994
1362
+ 995
1363
+ 996</pre>
1316
1364
  </td>
1317
1365
  <td>
1318
- <pre class="code"><span class="info file"># File 'motion-game', line 968</span>
1366
+ <pre class="code"><span class="info file"># File 'motion-game', line 994</span>
1319
1367
 
1320
1368
  <span class='kw'>def</span> <span class='id identifier rubyid_mass'>mass</span>
1321
1369
  <span class='ivar'>@mass</span>
@@ -1371,12 +1419,12 @@ end</pre>
1371
1419
  <pre class="lines">
1372
1420
 
1373
1421
 
1374
- 986
1375
- 987
1376
- 988</pre>
1422
+ 1012
1423
+ 1013
1424
+ 1014</pre>
1377
1425
  </td>
1378
1426
  <td>
1379
- <pre class="code"><span class="info file"># File 'motion-game', line 986</span>
1427
+ <pre class="code"><span class="info file"># File 'motion-game', line 1012</span>
1380
1428
 
1381
1429
  def resting?
1382
1430
  @resting?
@@ -1432,12 +1480,12 @@ end</pre>
1432
1480
  <pre class="lines">
1433
1481
 
1434
1482
 
1435
- 983
1436
- 984
1437
- 985</pre>
1483
+ 1009
1484
+ 1010
1485
+ 1011</pre>
1438
1486
  </td>
1439
1487
  <td>
1440
- <pre class="code"><span class="info file"># File 'motion-game', line 983</span>
1488
+ <pre class="code"><span class="info file"># File 'motion-game', line 1009</span>
1441
1489
 
1442
1490
  <span class='kw'>def</span> <span class='id identifier rubyid_velocity'>velocity</span>
1443
1491
  <span class='ivar'>@velocity</span>
@@ -1518,10 +1566,10 @@ TexturePacker.</p>
1518
1566
  <pre class="lines">
1519
1567
 
1520
1568
 
1521
- 870</pre>
1569
+ 890</pre>
1522
1570
  </td>
1523
1571
  <td>
1524
- <pre class="code"><span class="info file"># File 'motion-game', line 870</span>
1572
+ <pre class="code"><span class="info file"># File 'motion-game', line 890</span>
1525
1573
 
1526
1574
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_file_name'>file_name</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1527
1575
  </td>
@@ -1639,10 +1687,10 @@ using <span class='object_link'><a href="#load-class_method" title="MG::Sprite.l
1639
1687
  <pre class="lines">
1640
1688
 
1641
1689
 
1642
- 931</pre>
1690
+ 951</pre>
1643
1691
  </td>
1644
1692
  <td>
1645
- <pre class="code"><span class="info file"># File 'motion-game', line 931</span>
1693
+ <pre class="code"><span class="info file"># File 'motion-game', line 951</span>
1646
1694
 
1647
1695
  <span class='kw'>def</span> <span class='id identifier rubyid_animate'>animate</span><span class='lparen'>(</span><span class='id identifier rubyid_frame_names'>frame_names</span><span class='comma'>,</span> <span class='id identifier rubyid_delay'>delay</span><span class='comma'>,</span> <span class='id identifier rubyid_loops'>loops</span><span class='op'>=</span><span class='int'>1</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1648
1696
  </td>
@@ -1714,10 +1762,10 @@ using <span class='object_link'><a href="#load-class_method" title="MG::Sprite.l
1714
1762
  <pre class="lines">
1715
1763
 
1716
1764
 
1717
- 962</pre>
1765
+ 988</pre>
1718
1766
  </td>
1719
1767
  <td>
1720
- <pre class="code"><span class="info file"># File 'motion-game', line 962</span>
1768
+ <pre class="code"><span class="info file"># File 'motion-game', line 988</span>
1721
1769
 
1722
1770
  <span class='kw'>def</span> <span class='id identifier rubyid_apply_force'>apply_force</span><span class='lparen'>(</span><span class='id identifier rubyid_force'>force</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1723
1771
  </td>
@@ -1789,10 +1837,10 @@ using <span class='object_link'><a href="#load-class_method" title="MG::Sprite.l
1789
1837
  <pre class="lines">
1790
1838
 
1791
1839
 
1792
- 957</pre>
1840
+ 983</pre>
1793
1841
  </td>
1794
1842
  <td>
1795
- <pre class="code"><span class="info file"># File 'motion-game', line 957</span>
1843
+ <pre class="code"><span class="info file"># File 'motion-game', line 983</span>
1796
1844
 
1797
1845
  <span class='kw'>def</span> <span class='id identifier rubyid_apply_impulse'>apply_impulse</span><span class='lparen'>(</span><span class='id identifier rubyid_force'>force</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1798
1846
  </td>
@@ -1867,10 +1915,10 @@ retrieved with <span class='object_link'><a href="Node.html#size-instance_method
1867
1915
  <pre class="lines">
1868
1916
 
1869
1917
 
1870
- 952</pre>
1918
+ 978</pre>
1871
1919
  </td>
1872
1920
  <td>
1873
- <pre class="code"><span class="info file"># File 'motion-game', line 952</span>
1921
+ <pre class="code"><span class="info file"># File 'motion-game', line 978</span>
1874
1922
 
1875
1923
  <span class='kw'>def</span> <span class='id identifier rubyid_attach_physics_box'>attach_physics_box</span><span class='lparen'>(</span><span class='id identifier rubyid_size'>size</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1876
1924
  </td>
@@ -1958,10 +2006,10 @@ retrieved with <span class='object_link'><a href="Node.html#size-instance_method
1958
2006
  <pre class="lines">
1959
2007
 
1960
2008
 
1961
- 918</pre>
2009
+ 938</pre>
1962
2010
  </td>
1963
2011
  <td>
1964
- <pre class="code"><span class="info file"># File 'motion-game', line 918</span>
2012
+ <pre class="code"><span class="info file"># File 'motion-game', line 938</span>
1965
2013
 
1966
2014
  <span class='kw'>def</span> <span class='id identifier rubyid_blink'>blink</span><span class='lparen'>(</span><span class='id identifier rubyid_number_of_blinks'>number_of_blinks</span><span class='comma'>,</span> <span class='id identifier rubyid_interval'>interval</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1967
2015
  </td>
@@ -2017,10 +2065,10 @@ children. Also, flipping the texture doesn&#39;t alter the anchorPoint.</p>
2017
2065
  <pre class="lines">
2018
2066
 
2019
2067
 
2020
- 937</pre>
2068
+ 957</pre>
2021
2069
  </td>
2022
2070
  <td>
2023
- <pre class="code"><span class="info file"># File 'motion-game', line 937</span>
2071
+ <pre class="code"><span class="info file"># File 'motion-game', line 957</span>
2024
2072
 
2025
2073
  <span class='kw'>def</span> <span class='id identifier rubyid_flipped_horizontally='>flipped_horizontally=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2026
2074
  </td>
@@ -2076,15 +2124,89 @@ children. Also, flipping the texture doesn&#39;t alter the anchorPoint.</p>
2076
2124
  <pre class="lines">
2077
2125
 
2078
2126
 
2079
- 943</pre>
2127
+ 966</pre>
2080
2128
  </td>
2081
2129
  <td>
2082
- <pre class="code"><span class="info file"># File 'motion-game', line 943</span>
2130
+ <pre class="code"><span class="info file"># File 'motion-game', line 966</span>
2083
2131
 
2084
2132
  <span class='kw'>def</span> <span class='id identifier rubyid_flipped_vertically='>flipped_vertically=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2085
2133
  </td>
2086
2134
  </tr>
2087
2135
  </table>
2136
+ </div>
2137
+
2138
+ <div class="method_details ">
2139
+ <h3 class="signature " id="flipped_x=-instance_method">
2140
+
2141
+ #<strong>flipped_x=</strong>(value) &#x21d2; <tt>Object</tt>
2142
+
2143
+
2144
+
2145
+
2146
+
2147
+ </h3><div class="docstring">
2148
+ <div class="discussion">
2149
+
2150
+ <p>This is alias method of “#flipped_horizontally=”.</p>
2151
+
2152
+
2153
+ </div>
2154
+ </div>
2155
+ <div class="tags">
2156
+
2157
+
2158
+ </div><table class="source_code">
2159
+ <tr>
2160
+ <td>
2161
+ <pre class="lines">
2162
+
2163
+
2164
+ 960</pre>
2165
+ </td>
2166
+ <td>
2167
+ <pre class="code"><span class="info file"># File 'motion-game', line 960</span>
2168
+
2169
+ <span class='kw'>def</span> <span class='id identifier rubyid_flipped_x='>flipped_x=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2170
+ </td>
2171
+ </tr>
2172
+ </table>
2173
+ </div>
2174
+
2175
+ <div class="method_details ">
2176
+ <h3 class="signature " id="flipped_y=-instance_method">
2177
+
2178
+ #<strong>flipped_y=</strong>(value) &#x21d2; <tt>Object</tt>
2179
+
2180
+
2181
+
2182
+
2183
+
2184
+ </h3><div class="docstring">
2185
+ <div class="discussion">
2186
+
2187
+ <p>This is alias method of “#flipped_vertically=”.</p>
2188
+
2189
+
2190
+ </div>
2191
+ </div>
2192
+ <div class="tags">
2193
+
2194
+
2195
+ </div><table class="source_code">
2196
+ <tr>
2197
+ <td>
2198
+ <pre class="lines">
2199
+
2200
+
2201
+ 969</pre>
2202
+ </td>
2203
+ <td>
2204
+ <pre class="code"><span class="info file"># File 'motion-game', line 969</span>
2205
+
2206
+ <span class='kw'>def</span> <span class='id identifier rubyid_flipped_y='>flipped_y=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2207
+ </td>
2208
+ </tr>
2209
+ </table>
2088
2210
  </div>
2089
2211
 
2090
2212
  <div class="method_details ">
@@ -2168,10 +2290,10 @@ of the current location and the given <code>delta_location</code> object.</p>
2168
2290
  <pre class="lines">
2169
2291
 
2170
2292
 
2171
- 891</pre>
2293
+ 911</pre>
2172
2294
  </td>
2173
2295
  <td>
2174
- <pre class="code"><span class="info file"># File 'motion-game', line 891</span>
2296
+ <pre class="code"><span class="info file"># File 'motion-game', line 911</span>
2175
2297
 
2176
2298
  <span class='kw'>def</span> <span class='id identifier rubyid_move_by'>move_by</span><span class='lparen'>(</span><span class='id identifier rubyid_delta_location'>delta_location</span><span class='comma'>,</span> <span class='id identifier rubyid_interval'>interval</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2177
2299
  </td>
@@ -2259,10 +2381,10 @@ of the current location and the given <code>delta_location</code> object.</p>
2259
2381
  <pre class="lines">
2260
2382
 
2261
2383
 
2262
- 897</pre>
2384
+ 917</pre>
2263
2385
  </td>
2264
2386
  <td>
2265
- <pre class="code"><span class="info file"># File 'motion-game', line 897</span>
2387
+ <pre class="code"><span class="info file"># File 'motion-game', line 917</span>
2266
2388
 
2267
2389
  <span class='kw'>def</span> <span class='id identifier rubyid_move_to'>move_to</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_interval'>interval</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2268
2390
  </td>
@@ -2351,10 +2473,10 @@ of the current rotation and the given <code>delta_angle</code> object.</p>
2351
2473
  <pre class="lines">
2352
2474
 
2353
2475
 
2354
- 904</pre>
2476
+ 924</pre>
2355
2477
  </td>
2356
2478
  <td>
2357
- <pre class="code"><span class="info file"># File 'motion-game', line 904</span>
2479
+ <pre class="code"><span class="info file"># File 'motion-game', line 924</span>
2358
2480
 
2359
2481
  <span class='kw'>def</span> <span class='id identifier rubyid_rotate_by'>rotate_by</span><span class='lparen'>(</span><span class='id identifier rubyid_delta_angle'>delta_angle</span><span class='comma'>,</span> <span class='id identifier rubyid_interval'>interval</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2360
2482
  </td>
@@ -2443,10 +2565,10 @@ it&#39;s rotation attribute.</p>
2443
2565
  <pre class="lines">
2444
2566
 
2445
2567
 
2446
- 911</pre>
2568
+ 931</pre>
2447
2569
  </td>
2448
2570
  <td>
2449
- <pre class="code"><span class="info file"># File 'motion-game', line 911</span>
2571
+ <pre class="code"><span class="info file"># File 'motion-game', line 931</span>
2450
2572
 
2451
2573
  <span class='kw'>def</span> <span class='id identifier rubyid_rotate_to'>rotate_to</span><span class='lparen'>(</span><span class='id identifier rubyid_angle'>angle</span><span class='comma'>,</span> <span class='id identifier rubyid_interval'>interval</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2452
2574
  </td>
@@ -2459,7 +2581,7 @@ it&#39;s rotation attribute.</p>
2459
2581
  </div>
2460
2582
 
2461
2583
  <div id="footer">
2462
- Generated on Sun Nov 27 15:52:19 2016 by
2584
+ Generated on Sun Dec 11 16:38:30 2016 by
2463
2585
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2464
2586
  0.9.5 (ruby-2.3.3).
2465
2587
  </div>