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/Point.html
CHANGED
@@ -303,12 +303,12 @@ given point object.</p>
|
|
303
303
|
<pre class="lines">
|
304
304
|
|
305
305
|
|
306
|
-
|
307
|
-
|
308
|
-
|
306
|
+
638
|
307
|
+
639
|
308
|
+
640</pre>
|
309
309
|
</td>
|
310
310
|
<td>
|
311
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
311
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 638</span>
|
312
312
|
|
313
313
|
<span class='kw'>def</span> <span class='id identifier rubyid_x'>x</span>
|
314
314
|
<span class='ivar'>@x</span>
|
@@ -364,12 +364,12 @@ given point object.</p>
|
|
364
364
|
<pre class="lines">
|
365
365
|
|
366
366
|
|
367
|
-
|
368
|
-
|
369
|
-
|
367
|
+
641
|
368
|
+
642
|
369
|
+
643</pre>
|
370
370
|
</td>
|
371
371
|
<td>
|
372
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
372
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 641</span>
|
373
373
|
|
374
374
|
<span class='kw'>def</span> <span class='id identifier rubyid_y'>y</span>
|
375
375
|
<span class='ivar'>@y</span>
|
@@ -446,10 +446,10 @@ point object.</p>
|
|
446
446
|
<pre class="lines">
|
447
447
|
|
448
448
|
|
449
|
-
|
449
|
+
650</pre>
|
450
450
|
</td>
|
451
451
|
<td>
|
452
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
452
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 650</span>
|
453
453
|
|
454
454
|
<span class='kw'>def</span> <span class='op'>+</span><span class='lparen'>(</span><span class='id identifier rubyid_point'>point</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
455
455
|
</td>
|
@@ -517,10 +517,10 @@ given point object.</p>
|
|
517
517
|
<pre class="lines">
|
518
518
|
|
519
519
|
|
520
|
-
|
520
|
+
656</pre>
|
521
521
|
</td>
|
522
522
|
<td>
|
523
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
523
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 656</span>
|
524
524
|
|
525
525
|
<span class='kw'>def</span> <span class='op'>-</span><span class='lparen'>(</span><span class='id identifier rubyid_point'>point</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
526
526
|
</td>
|
@@ -533,9 +533,9 @@ given point object.</p>
|
|
533
533
|
</div>
|
534
534
|
|
535
535
|
<div id="footer">
|
536
|
-
Generated on Wed
|
536
|
+
Generated on Wed Aug 31 17:59:07 2016 by
|
537
537
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
538
|
-
0.8.7.6 (ruby-2.
|
538
|
+
0.8.7.6 (ruby-2.3.1).
|
539
539
|
</div>
|
540
540
|
|
541
541
|
</body>
|
data/doc/MG/Scene.html
CHANGED
@@ -1532,9 +1532,9 @@ this method was called.</p>
|
|
1532
1532
|
</div>
|
1533
1533
|
|
1534
1534
|
<div id="footer">
|
1535
|
-
Generated on Wed
|
1535
|
+
Generated on Wed Aug 31 17:59:07 2016 by
|
1536
1536
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1537
|
-
0.8.7.6 (ruby-2.
|
1537
|
+
0.8.7.6 (ruby-2.3.1).
|
1538
1538
|
</div>
|
1539
1539
|
|
1540
1540
|
</body>
|
data/doc/MG/Scroll.html
CHANGED
@@ -212,7 +212,7 @@ than the size of the scroll view itself.</p>
|
|
212
212
|
|
213
213
|
|
214
214
|
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
|
215
|
-
<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>
|
215
|
+
<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>
|
216
216
|
|
217
217
|
|
218
218
|
|
@@ -314,10 +314,10 @@ than the size of the scroll view itself.</p>
|
|
314
314
|
<pre class="lines">
|
315
315
|
|
316
316
|
|
317
|
-
|
317
|
+
889</pre>
|
318
318
|
</td>
|
319
319
|
<td>
|
320
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
320
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 889</span>
|
321
321
|
|
322
322
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
323
323
|
</td>
|
@@ -376,12 +376,12 @@ than the size of the scroll view itself.</p>
|
|
376
376
|
<pre class="lines">
|
377
377
|
|
378
378
|
|
379
|
-
|
380
|
-
|
381
|
-
|
379
|
+
896
|
380
|
+
897
|
381
|
+
898</pre>
|
382
382
|
</td>
|
383
383
|
<td>
|
384
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
384
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 896</span>
|
385
385
|
|
386
386
|
<span class='kw'>def</span> <span class='id identifier rubyid_direction'>direction</span>
|
387
387
|
<span class='ivar'>@direction</span>
|
@@ -437,12 +437,12 @@ than the size of the scroll view itself.</p>
|
|
437
437
|
<pre class="lines">
|
438
438
|
|
439
439
|
|
440
|
-
|
441
|
-
|
442
|
-
|
440
|
+
903
|
441
|
+
904
|
442
|
+
905</pre>
|
443
443
|
</td>
|
444
444
|
<td>
|
445
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
445
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 903</span>
|
446
446
|
|
447
447
|
<span class='kw'>def</span> <span class='id identifier rubyid_inner_container'>inner_container</span>
|
448
448
|
<span class='ivar'>@inner_container</span>
|
@@ -500,12 +500,12 @@ than the size of the scroll view itself.</p>
|
|
500
500
|
<pre class="lines">
|
501
501
|
|
502
502
|
|
503
|
-
|
504
|
-
|
505
|
-
|
503
|
+
900
|
504
|
+
901
|
505
|
+
902</pre>
|
506
506
|
</td>
|
507
507
|
<td>
|
508
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
508
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 900</span>
|
509
509
|
|
510
510
|
<span class='kw'>def</span> <span class='id identifier rubyid_inner_size'>inner_size</span>
|
511
511
|
<span class='ivar'>@inner_size</span>
|
@@ -521,9 +521,9 @@ than the size of the scroll view itself.</p>
|
|
521
521
|
</div>
|
522
522
|
|
523
523
|
<div id="footer">
|
524
|
-
Generated on Wed
|
524
|
+
Generated on Wed Aug 31 17:59:08 2016 by
|
525
525
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
526
|
-
0.8.7.6 (ruby-2.
|
526
|
+
0.8.7.6 (ruby-2.3.1).
|
527
527
|
</div>
|
528
528
|
|
529
529
|
</body>
|
data/doc/MG/Size.html
CHANGED
@@ -350,12 +350,12 @@ size object.</p>
|
|
350
350
|
<pre class="lines">
|
351
351
|
|
352
352
|
|
353
|
-
|
354
|
-
|
355
|
-
|
353
|
+
677
|
354
|
+
678
|
355
|
+
679</pre>
|
356
356
|
</td>
|
357
357
|
<td>
|
358
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
358
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 677</span>
|
359
359
|
|
360
360
|
<span class='kw'>def</span> <span class='id identifier rubyid_height'>height</span>
|
361
361
|
<span class='ivar'>@height</span>
|
@@ -411,12 +411,12 @@ size object.</p>
|
|
411
411
|
<pre class="lines">
|
412
412
|
|
413
413
|
|
414
|
-
|
415
|
-
|
416
|
-
|
414
|
+
674
|
415
|
+
675
|
416
|
+
676</pre>
|
417
417
|
</td>
|
418
418
|
<td>
|
419
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
419
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 674</span>
|
420
420
|
|
421
421
|
<span class='kw'>def</span> <span class='id identifier rubyid_width'>width</span>
|
422
422
|
<span class='ivar'>@width</span>
|
@@ -497,10 +497,10 @@ size object.</p>
|
|
497
497
|
<pre class="lines">
|
498
498
|
|
499
499
|
|
500
|
-
|
500
|
+
702</pre>
|
501
501
|
</td>
|
502
502
|
<td>
|
503
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
503
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 702</span>
|
504
504
|
|
505
505
|
<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>
|
506
506
|
</td>
|
@@ -568,10 +568,10 @@ object.</p>
|
|
568
568
|
<pre class="lines">
|
569
569
|
|
570
570
|
|
571
|
-
|
571
|
+
686</pre>
|
572
572
|
</td>
|
573
573
|
<td>
|
574
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
574
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 686</span>
|
575
575
|
|
576
576
|
<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>
|
577
577
|
</td>
|
@@ -639,10 +639,10 @@ size object.</p>
|
|
639
639
|
<pre class="lines">
|
640
640
|
|
641
641
|
|
642
|
-
|
642
|
+
692</pre>
|
643
643
|
</td>
|
644
644
|
<td>
|
645
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
645
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 692</span>
|
646
646
|
|
647
647
|
<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>
|
648
648
|
</td>
|
@@ -714,10 +714,10 @@ size object.</p>
|
|
714
714
|
<pre class="lines">
|
715
715
|
|
716
716
|
|
717
|
-
|
717
|
+
697</pre>
|
718
718
|
</td>
|
719
719
|
<td>
|
720
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
720
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 697</span>
|
721
721
|
|
722
722
|
<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>
|
723
723
|
</td>
|
@@ -730,9 +730,9 @@ size object.</p>
|
|
730
730
|
</div>
|
731
731
|
|
732
732
|
<div id="footer">
|
733
|
-
Generated on Wed
|
733
|
+
Generated on Wed Aug 31 17:59:07 2016 by
|
734
734
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
735
|
-
0.8.7.6 (ruby-2.
|
735
|
+
0.8.7.6 (ruby-2.3.1).
|
736
736
|
</div>
|
737
737
|
|
738
738
|
</body>
|
data/doc/MG/Slider.html
CHANGED
@@ -145,7 +145,7 @@
|
|
145
145
|
|
146
146
|
|
147
147
|
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
|
148
|
-
<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>
|
148
|
+
<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>
|
149
149
|
|
150
150
|
|
151
151
|
|
@@ -241,10 +241,10 @@
|
|
241
241
|
<pre class="lines">
|
242
242
|
|
243
243
|
|
244
|
-
|
244
|
+
851</pre>
|
245
245
|
</td>
|
246
246
|
<td>
|
247
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
247
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 851</span>
|
248
248
|
|
249
249
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
250
250
|
</td>
|
@@ -305,12 +305,12 @@
|
|
305
305
|
<pre class="lines">
|
306
306
|
|
307
307
|
|
308
|
-
|
309
|
-
|
310
|
-
|
308
|
+
858
|
309
|
+
859
|
310
|
+
860</pre>
|
311
311
|
</td>
|
312
312
|
<td>
|
313
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
313
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 858</span>
|
314
314
|
|
315
315
|
<span class='kw'>def</span> <span class='id identifier rubyid_progress'>progress</span>
|
316
316
|
<span class='ivar'>@progress</span>
|
@@ -326,9 +326,9 @@
|
|
326
326
|
</div>
|
327
327
|
|
328
328
|
<div id="footer">
|
329
|
-
Generated on Wed
|
329
|
+
Generated on Wed Aug 31 17:59:08 2016 by
|
330
330
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
331
|
-
0.8.7.6 (ruby-2.
|
331
|
+
0.8.7.6 (ruby-2.3.1).
|
332
332
|
</div>
|
333
333
|
|
334
334
|
</body>
|
data/doc/MG/Sprite.html
CHANGED
@@ -716,10 +716,10 @@ spritesheet using <span class='object_link'><a href="#load-class_method" title="
|
|
716
716
|
<pre class="lines">
|
717
717
|
|
718
718
|
|
719
|
-
|
719
|
+
527</pre>
|
720
720
|
</td>
|
721
721
|
<td>
|
722
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
722
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 527</span>
|
723
723
|
|
724
724
|
<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>
|
725
725
|
</td>
|
@@ -778,12 +778,12 @@ spritesheet using <span class='object_link'><a href="#load-class_method" title="
|
|
778
778
|
<pre class="lines">
|
779
779
|
|
780
780
|
|
781
|
-
|
782
|
-
|
783
|
-
|
781
|
+
613
|
782
|
+
614
|
783
|
+
615</pre>
|
784
784
|
</td>
|
785
785
|
<td>
|
786
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
786
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 613</span>
|
787
787
|
|
788
788
|
<span class='kw'>def</span> <span class='id identifier rubyid_category_mask'>category_mask</span>
|
789
789
|
<span class='ivar'>@category_mask</span>
|
@@ -839,12 +839,12 @@ spritesheet using <span class='object_link'><a href="#load-class_method" title="
|
|
839
839
|
<pre class="lines">
|
840
840
|
|
841
841
|
|
842
|
-
|
843
|
-
|
844
|
-
|
842
|
+
619
|
843
|
+
620
|
844
|
+
621</pre>
|
845
845
|
</td>
|
846
846
|
<td>
|
847
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
847
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 619</span>
|
848
848
|
|
849
849
|
<span class='kw'>def</span> <span class='id identifier rubyid_collision_mask'>collision_mask</span>
|
850
850
|
<span class='ivar'>@collision_mask</span>
|
@@ -900,12 +900,12 @@ spritesheet using <span class='object_link'><a href="#load-class_method" title="
|
|
900
900
|
<pre class="lines">
|
901
901
|
|
902
902
|
|
903
|
-
|
904
|
-
|
905
|
-
|
903
|
+
616
|
904
|
+
617
|
905
|
+
618</pre>
|
906
906
|
</td>
|
907
907
|
<td>
|
908
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
908
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 616</span>
|
909
909
|
|
910
910
|
<span class='kw'>def</span> <span class='id identifier rubyid_contact_mask'>contact_mask</span>
|
911
911
|
<span class='ivar'>@contact_mask</span>
|
@@ -964,12 +964,12 @@ default is <code>true</code>, and a dynamic body will affect with gravity.</p>
|
|
964
964
|
<pre class="lines">
|
965
965
|
|
966
966
|
|
967
|
-
|
968
|
-
|
969
|
-
|
967
|
+
598
|
968
|
+
599
|
969
|
+
600</pre>
|
970
970
|
</td>
|
971
971
|
<td>
|
972
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
972
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 598</span>
|
973
973
|
|
974
974
|
def dynamic?
|
975
975
|
@dynamic?
|
@@ -1025,12 +1025,12 @@ end</pre>
|
|
1025
1025
|
<pre class="lines">
|
1026
1026
|
|
1027
1027
|
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1028
|
+
601
|
1029
|
+
602
|
1030
|
+
603</pre>
|
1031
1031
|
</td>
|
1032
1032
|
<td>
|
1033
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1033
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 601</span>
|
1034
1034
|
|
1035
1035
|
<span class='kw'>def</span> <span class='id identifier rubyid_friction'>friction</span>
|
1036
1036
|
<span class='ivar'>@friction</span>
|
@@ -1088,12 +1088,12 @@ force. The default is <code>true</code>.</p>
|
|
1088
1088
|
<pre class="lines">
|
1089
1089
|
|
1090
1090
|
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1091
|
+
593
|
1092
|
+
594
|
1093
|
+
595</pre>
|
1094
1094
|
</td>
|
1095
1095
|
<td>
|
1096
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1096
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 593</span>
|
1097
1097
|
|
1098
1098
|
def gravitates?
|
1099
1099
|
@gravitates?
|
@@ -1149,12 +1149,12 @@ end</pre>
|
|
1149
1149
|
<pre class="lines">
|
1150
1150
|
|
1151
1151
|
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1152
|
+
610
|
1153
|
+
611
|
1154
|
+
612</pre>
|
1155
1155
|
</td>
|
1156
1156
|
<td>
|
1157
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1157
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 610</span>
|
1158
1158
|
|
1159
1159
|
<span class='kw'>def</span> <span class='id identifier rubyid_inertia_moment'>inertia_moment</span>
|
1160
1160
|
<span class='ivar'>@inertia_moment</span>
|
@@ -1210,12 +1210,12 @@ end</pre>
|
|
1210
1210
|
<pre class="lines">
|
1211
1211
|
|
1212
1212
|
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1213
|
+
589
|
1214
|
+
590
|
1215
|
+
591</pre>
|
1216
1216
|
</td>
|
1217
1217
|
<td>
|
1218
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1218
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 589</span>
|
1219
1219
|
|
1220
1220
|
<span class='kw'>def</span> <span class='id identifier rubyid_mass'>mass</span>
|
1221
1221
|
<span class='ivar'>@mass</span>
|
@@ -1271,12 +1271,12 @@ end</pre>
|
|
1271
1271
|
<pre class="lines">
|
1272
1272
|
|
1273
1273
|
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1274
|
+
607
|
1275
|
+
608
|
1276
|
+
609</pre>
|
1277
1277
|
</td>
|
1278
1278
|
<td>
|
1279
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1279
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 607</span>
|
1280
1280
|
|
1281
1281
|
def resting?
|
1282
1282
|
@resting?
|
@@ -1332,12 +1332,12 @@ end</pre>
|
|
1332
1332
|
<pre class="lines">
|
1333
1333
|
|
1334
1334
|
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1335
|
+
604
|
1336
|
+
605
|
1337
|
+
606</pre>
|
1338
1338
|
</td>
|
1339
1339
|
<td>
|
1340
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1340
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 604</span>
|
1341
1341
|
|
1342
1342
|
<span class='kw'>def</span> <span class='id identifier rubyid_velocity'>velocity</span>
|
1343
1343
|
<span class='ivar'>@velocity</span>
|
@@ -1418,10 +1418,10 @@ TexturePacker.</p>
|
|
1418
1418
|
<pre class="lines">
|
1419
1419
|
|
1420
1420
|
|
1421
|
-
|
1421
|
+
517</pre>
|
1422
1422
|
</td>
|
1423
1423
|
<td>
|
1424
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1424
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 517</span>
|
1425
1425
|
|
1426
1426
|
<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>
|
1427
1427
|
</td>
|
@@ -1539,10 +1539,10 @@ using <span class='object_link'><a href="#load-class_method" title="MG::Sprite.l
|
|
1539
1539
|
<pre class="lines">
|
1540
1540
|
|
1541
1541
|
|
1542
|
-
|
1542
|
+
564</pre>
|
1543
1543
|
</td>
|
1544
1544
|
<td>
|
1545
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1545
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 564</span>
|
1546
1546
|
|
1547
1547
|
<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>
|
1548
1548
|
</td>
|
@@ -1614,10 +1614,10 @@ using <span class='object_link'><a href="#load-class_method" title="MG::Sprite.l
|
|
1614
1614
|
<pre class="lines">
|
1615
1615
|
|
1616
1616
|
|
1617
|
-
|
1617
|
+
583</pre>
|
1618
1618
|
</td>
|
1619
1619
|
<td>
|
1620
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1620
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 583</span>
|
1621
1621
|
|
1622
1622
|
<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>
|
1623
1623
|
</td>
|
@@ -1689,10 +1689,10 @@ using <span class='object_link'><a href="#load-class_method" title="MG::Sprite.l
|
|
1689
1689
|
<pre class="lines">
|
1690
1690
|
|
1691
1691
|
|
1692
|
-
|
1692
|
+
578</pre>
|
1693
1693
|
</td>
|
1694
1694
|
<td>
|
1695
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1695
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 578</span>
|
1696
1696
|
|
1697
1697
|
<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>
|
1698
1698
|
</td>
|
@@ -1767,10 +1767,10 @@ retrieved with <span class='object_link'><a href="Node.html#size-instance_method
|
|
1767
1767
|
<pre class="lines">
|
1768
1768
|
|
1769
1769
|
|
1770
|
-
|
1770
|
+
573</pre>
|
1771
1771
|
</td>
|
1772
1772
|
<td>
|
1773
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1773
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 573</span>
|
1774
1774
|
|
1775
1775
|
<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>
|
1776
1776
|
</td>
|
@@ -1858,10 +1858,10 @@ retrieved with <span class='object_link'><a href="Node.html#size-instance_method
|
|
1858
1858
|
<pre class="lines">
|
1859
1859
|
|
1860
1860
|
|
1861
|
-
|
1861
|
+
551</pre>
|
1862
1862
|
</td>
|
1863
1863
|
<td>
|
1864
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1864
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 551</span>
|
1865
1865
|
|
1866
1866
|
<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>
|
1867
1867
|
</td>
|
@@ -1950,10 +1950,10 @@ of the current location and the given <code>delta_location</code> object.</p>
|
|
1950
1950
|
<pre class="lines">
|
1951
1951
|
|
1952
1952
|
|
1953
|
-
|
1953
|
+
538</pre>
|
1954
1954
|
</td>
|
1955
1955
|
<td>
|
1956
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1956
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 538</span>
|
1957
1957
|
|
1958
1958
|
<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>
|
1959
1959
|
</td>
|
@@ -2041,10 +2041,10 @@ of the current location and the given <code>delta_location</code> object.</p>
|
|
2041
2041
|
<pre class="lines">
|
2042
2042
|
|
2043
2043
|
|
2044
|
-
|
2044
|
+
544</pre>
|
2045
2045
|
</td>
|
2046
2046
|
<td>
|
2047
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
2047
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 544</span>
|
2048
2048
|
|
2049
2049
|
<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>
|
2050
2050
|
</td>
|
@@ -2057,9 +2057,9 @@ of the current location and the given <code>delta_location</code> object.</p>
|
|
2057
2057
|
</div>
|
2058
2058
|
|
2059
2059
|
<div id="footer">
|
2060
|
-
Generated on Wed
|
2060
|
+
Generated on Wed Aug 31 17:59:07 2016 by
|
2061
2061
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2062
|
-
0.8.7.6 (ruby-2.
|
2062
|
+
0.8.7.6 (ruby-2.3.1).
|
2063
2063
|
</div>
|
2064
2064
|
|
2065
2065
|
</body>
|