motion-game 1.1.5 → 1.1.6
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.html +40 -38
- data/doc/MG/Action.html +402 -0
- data/doc/MG/Animate.html +281 -0
- data/doc/MG/Application.html +55 -52
- data/doc/MG/Audio.html +96 -93
- data/doc/MG/Blink.html +257 -0
- data/doc/MG/Button.html +82 -79
- data/doc/MG/Color.html +70 -67
- data/doc/MG/DelayTime.html +239 -0
- data/doc/MG/Director.html +256 -95
- data/doc/MG/Draw.html +67 -64
- data/doc/MG/Events.html +39 -37
- data/doc/MG/Events/Acceleration.html +70 -67
- data/doc/MG/Events/Touch.html +52 -49
- data/doc/MG/FadeIn.html +240 -0
- data/doc/MG/FadeOut.html +240 -0
- data/doc/MG/FadeTo.html +256 -0
- data/doc/MG/File.html +50 -47
- data/doc/MG/Follow.html +241 -0
- data/doc/MG/JumpBy.html +292 -0
- data/doc/MG/JumpTo.html +287 -0
- data/doc/MG/Layout.html +70 -67
- data/doc/MG/List.html +88 -85
- data/doc/MG/Menu.html +65 -62
- data/doc/MG/MoveBy.html +259 -0
- data/doc/MG/MoveTo.html +257 -0
- data/doc/MG/Node.html +393 -133
- data/doc/MG/Parallax.html +51 -48
- data/doc/MG/Particle.html +118 -115
- data/doc/MG/Point.html +67 -64
- data/doc/MG/Repeat.html +257 -0
- data/doc/MG/RepeatForever.html +239 -0
- data/doc/MG/RotateBy.html +259 -0
- data/doc/MG/RotateTo.html +257 -0
- data/doc/MG/ScaleBy.html +255 -0
- data/doc/MG/ScaleTo.html +255 -0
- data/doc/MG/Scene.html +110 -107
- data/doc/MG/Scroll.html +70 -67
- data/doc/MG/Sequence.html +241 -0
- data/doc/MG/Size.html +75 -72
- data/doc/MG/SkewBy.html +273 -0
- data/doc/MG/SkewTo.html +273 -0
- data/doc/MG/Slider.html +58 -55
- data/doc/MG/Spawn.html +239 -0
- data/doc/MG/Speed.html +259 -0
- data/doc/MG/Sprite.html +547 -144
- data/doc/MG/Text.html +94 -91
- data/doc/MG/TintBy.html +272 -0
- data/doc/MG/TintTo.html +274 -0
- data/doc/MG/Web.html +77 -74
- data/doc/MG/Widget.html +70 -67
- data/doc/_index.html +223 -33
- data/doc/class_list.html +24 -31
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +220 -78
- data/doc/file.README.html +29 -30
- data/doc/file_list.html +26 -30
- data/doc/frames.html +7 -16
- data/doc/index.html +29 -30
- data/doc/js/app.js +100 -76
- data/doc/js/full_list.js +170 -135
- data/doc/method_list.html +1096 -500
- data/doc/top-level-namespace.html +35 -35
- data/lib/motion-game/android/main_activity.rb +21 -0
- data/lib/motion-game/ios/app_delegate.rb +14 -0
- data/lib/motion-game/tvos/app_delegate.rb +16 -0
- data/template/motion-game/files/app/application.rb +8 -0
- metadata +28 -4
data/doc/MG/Director.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: MG::Director
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "MG::Director";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!MG/Director.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,50 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (D)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Director</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
62
|
+
<iframe id="search_frame" src="../class_list.html"></iframe>
|
65
63
|
|
66
|
-
|
64
|
+
<div id="content"><h1>Class: MG::Director
|
67
65
|
|
68
66
|
|
69
67
|
|
70
68
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
69
|
+
<div class="box_info">
|
73
70
|
|
74
|
-
|
75
|
-
<
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
76
74
|
<span class="inheritName">Object</span>
|
77
75
|
|
78
76
|
<ul class="fullTree">
|
@@ -83,21 +81,25 @@
|
|
83
81
|
</ul>
|
84
82
|
<a href="#" class="inheritanceTree">show all</a>
|
85
83
|
|
86
|
-
|
87
|
-
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
88
|
+
|
88
89
|
|
89
90
|
|
90
|
-
|
91
91
|
|
92
|
-
|
93
92
|
|
93
|
+
|
94
94
|
|
95
|
+
|
95
96
|
|
96
|
-
|
97
|
-
<
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>motion-game</dd>
|
100
|
+
</dl>
|
98
101
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
102
|
+
</div>
|
101
103
|
|
102
104
|
<h2>Overview</h2><div class="docstring">
|
103
105
|
<div class="discussion">
|
@@ -114,13 +116,13 @@
|
|
114
116
|
|
115
117
|
|
116
118
|
|
117
|
-
<h2>Properties <small
|
119
|
+
<h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
118
120
|
<ul class="summary">
|
119
121
|
|
120
122
|
<li class="public ">
|
121
123
|
<span class="summary_signature">
|
122
124
|
|
123
|
-
<a href="#origin-instance_method" title="#origin (instance method)"
|
125
|
+
<a href="#origin-instance_method" title="#origin (instance method)">#<strong>origin</strong> ⇒ Point </a>
|
124
126
|
|
125
127
|
|
126
128
|
|
@@ -149,7 +151,7 @@
|
|
149
151
|
<li class="public ">
|
150
152
|
<span class="summary_signature">
|
151
153
|
|
152
|
-
<a href="#show_stats%3F-instance_method" title="#show_stats? (instance method)"
|
154
|
+
<a href="#show_stats%3F-instance_method" title="#show_stats? (instance method)">#<strong>show_stats?</strong> ⇒ Boolean </a>
|
153
155
|
|
154
156
|
|
155
157
|
|
@@ -177,7 +179,7 @@ the bottom-left corner of the director view.</p>
|
|
177
179
|
<li class="public ">
|
178
180
|
<span class="summary_signature">
|
179
181
|
|
180
|
-
<a href="#size-instance_method" title="#size (instance method)"
|
182
|
+
<a href="#size-instance_method" title="#size (instance method)">#<strong>size</strong> ⇒ Size </a>
|
181
183
|
|
182
184
|
|
183
185
|
|
@@ -211,7 +213,7 @@ the bottom-left corner of the director view.</p>
|
|
211
213
|
|
212
214
|
<h2>
|
213
215
|
Constructors
|
214
|
-
<small
|
216
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
215
217
|
</h2>
|
216
218
|
|
217
219
|
<ul class="summary">
|
@@ -219,7 +221,7 @@ the bottom-left corner of the director view.</p>
|
|
219
221
|
<li class="public ">
|
220
222
|
<span class="summary_signature">
|
221
223
|
|
222
|
-
<a href="#shared-class_method" title="shared (class method)"
|
224
|
+
<a href="#shared-class_method" title="shared (class method)">.<strong>shared</strong> ⇒ Director </a>
|
223
225
|
|
224
226
|
|
225
227
|
|
@@ -244,7 +246,7 @@ the bottom-left corner of the director view.</p>
|
|
244
246
|
|
245
247
|
<h2>
|
246
248
|
Managing Scenes
|
247
|
-
<small
|
249
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
248
250
|
</h2>
|
249
251
|
|
250
252
|
<ul class="summary">
|
@@ -252,7 +254,7 @@ the bottom-left corner of the director view.</p>
|
|
252
254
|
<li class="public ">
|
253
255
|
<span class="summary_signature">
|
254
256
|
|
255
|
-
<a href="#end-instance_method" title="#end (instance method)"
|
257
|
+
<a href="#end-instance_method" title="#end (instance method)">#<strong>end</strong> ⇒ Director </a>
|
256
258
|
|
257
259
|
|
258
260
|
|
@@ -276,7 +278,7 @@ the bottom-left corner of the director view.</p>
|
|
276
278
|
<li class="public ">
|
277
279
|
<span class="summary_signature">
|
278
280
|
|
279
|
-
<a href="#pause-instance_method" title="#pause (instance method)"
|
281
|
+
<a href="#pause-instance_method" title="#pause (instance method)">#<strong>pause</strong> ⇒ Director </a>
|
280
282
|
|
281
283
|
|
282
284
|
|
@@ -300,7 +302,7 @@ the bottom-left corner of the director view.</p>
|
|
300
302
|
<li class="public ">
|
301
303
|
<span class="summary_signature">
|
302
304
|
|
303
|
-
<a href="#pop-instance_method" title="#pop (instance method)"
|
305
|
+
<a href="#pop-instance_method" title="#pop (instance method)">#<strong>pop</strong> ⇒ Director </a>
|
304
306
|
|
305
307
|
|
306
308
|
|
@@ -325,7 +327,7 @@ scene.</p>
|
|
325
327
|
<li class="public ">
|
326
328
|
<span class="summary_signature">
|
327
329
|
|
328
|
-
<a href="#push-instance_method" title="#push (instance method)"
|
330
|
+
<a href="#push-instance_method" title="#push (instance method)">#<strong>push</strong>(scene) ⇒ Director </a>
|
329
331
|
|
330
332
|
|
331
333
|
|
@@ -350,7 +352,7 @@ scene instead.</p>
|
|
350
352
|
<li class="public ">
|
351
353
|
<span class="summary_signature">
|
352
354
|
|
353
|
-
<a href="#replace-instance_method" title="#replace (instance method)"
|
355
|
+
<a href="#replace-instance_method" title="#replace (instance method)">#<strong>replace</strong>(scene) ⇒ Director </a>
|
354
356
|
|
355
357
|
|
356
358
|
|
@@ -374,7 +376,7 @@ scene instead.</p>
|
|
374
376
|
<li class="public ">
|
375
377
|
<span class="summary_signature">
|
376
378
|
|
377
|
-
<a href="#resume-instance_method" title="#resume (instance method)"
|
379
|
+
<a href="#resume-instance_method" title="#resume (instance method)">#<strong>resume</strong> ⇒ Director </a>
|
378
380
|
|
379
381
|
|
380
382
|
|
@@ -398,7 +400,7 @@ scene instead.</p>
|
|
398
400
|
<li class="public ">
|
399
401
|
<span class="summary_signature">
|
400
402
|
|
401
|
-
<a href="#run-instance_method" title="#run (instance method)"
|
403
|
+
<a href="#run-instance_method" title="#run (instance method)">#<strong>run</strong>(scene) ⇒ Director </a>
|
402
404
|
|
403
405
|
|
404
406
|
|
@@ -416,6 +418,54 @@ scene instead.</p>
|
|
416
418
|
<p>Runs the given scene object.</p>
|
417
419
|
</div></span>
|
418
420
|
|
421
|
+
</li>
|
422
|
+
|
423
|
+
|
424
|
+
<li class="public ">
|
425
|
+
<span class="summary_signature">
|
426
|
+
|
427
|
+
<a href="#start_animation-instance_method" title="#start_animation (instance method)">#<strong>start_animation</strong> ⇒ Director </a>
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
</span>
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
<span class="summary_desc"><div class='inline'>
|
442
|
+
<p>The main loop is triggered again.</p>
|
443
|
+
</div></span>
|
444
|
+
|
445
|
+
</li>
|
446
|
+
|
447
|
+
|
448
|
+
<li class="public ">
|
449
|
+
<span class="summary_signature">
|
450
|
+
|
451
|
+
<a href="#stop_animation-instance_method" title="#stop_animation (instance method)">#<strong>stop_animation</strong> ⇒ Director </a>
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
</span>
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
<span class="summary_desc"><div class='inline'>
|
466
|
+
<p>Stops the animation.</p>
|
467
|
+
</div></span>
|
468
|
+
|
419
469
|
</li>
|
420
470
|
|
421
471
|
|
@@ -431,7 +481,7 @@ scene instead.</p>
|
|
431
481
|
<div class="method_details first">
|
432
482
|
<h3 class="signature first" id="origin-instance_method">
|
433
483
|
|
434
|
-
|
484
|
+
#<strong>origin</strong> ⇒ <tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt> <span class="extras">(readonly)</span>
|
435
485
|
|
436
486
|
|
437
487
|
|
@@ -472,12 +522,12 @@ scene instead.</p>
|
|
472
522
|
<pre class="lines">
|
473
523
|
|
474
524
|
|
475
|
-
|
476
|
-
|
477
|
-
|
525
|
+
470
|
526
|
+
471
|
527
|
+
472</pre>
|
478
528
|
</td>
|
479
529
|
<td>
|
480
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
530
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 470</span>
|
481
531
|
|
482
532
|
<span class='kw'>def</span> <span class='id identifier rubyid_origin'>origin</span>
|
483
533
|
<span class='ivar'>@origin</span>
|
@@ -492,7 +542,7 @@ scene instead.</p>
|
|
492
542
|
<div class="method_details ">
|
493
543
|
<h3 class="signature " id="show_stats?-instance_method">
|
494
544
|
|
495
|
-
|
545
|
+
#<strong>show_stats?</strong> ⇒ <tt>Boolean</tt>
|
496
546
|
|
497
547
|
|
498
548
|
|
@@ -534,12 +584,12 @@ the bottom-left corner of the director view. By default it is hidden.</p>
|
|
534
584
|
<pre class="lines">
|
535
585
|
|
536
586
|
|
537
|
-
|
538
|
-
|
539
|
-
|
587
|
+
478
|
588
|
+
479
|
589
|
+
480</pre>
|
540
590
|
</td>
|
541
591
|
<td>
|
542
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
592
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 478</span>
|
543
593
|
|
544
594
|
def show_stats?
|
545
595
|
@show_stats?
|
@@ -554,7 +604,7 @@ end</pre>
|
|
554
604
|
<div class="method_details ">
|
555
605
|
<h3 class="signature " id="size-instance_method">
|
556
606
|
|
557
|
-
|
607
|
+
#<strong>size</strong> ⇒ <tt><span class='object_link'><a href="Size.html" title="MG::Size (class)">Size</a></span></tt> <span class="extras">(readonly)</span>
|
558
608
|
|
559
609
|
|
560
610
|
|
@@ -595,12 +645,12 @@ end</pre>
|
|
595
645
|
<pre class="lines">
|
596
646
|
|
597
647
|
|
598
|
-
|
599
|
-
|
600
|
-
|
648
|
+
473
|
649
|
+
474
|
650
|
+
475</pre>
|
601
651
|
</td>
|
602
652
|
<td>
|
603
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
653
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 473</span>
|
604
654
|
|
605
655
|
<span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span>
|
606
656
|
<span class='ivar'>@size</span>
|
@@ -620,7 +670,7 @@ end</pre>
|
|
620
670
|
<div class="method_details first">
|
621
671
|
<h3 class="signature first" id="shared-class_method">
|
622
672
|
|
623
|
-
|
673
|
+
.<strong>shared</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
|
624
674
|
|
625
675
|
|
626
676
|
|
@@ -661,10 +711,10 @@ end</pre>
|
|
661
711
|
<pre class="lines">
|
662
712
|
|
663
713
|
|
664
|
-
|
714
|
+
419</pre>
|
665
715
|
</td>
|
666
716
|
<td>
|
667
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
717
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 419</span>
|
668
718
|
|
669
719
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_shared'>shared</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
670
720
|
</td>
|
@@ -681,7 +731,7 @@ end</pre>
|
|
681
731
|
<div class="method_details first">
|
682
732
|
<h3 class="signature first" id="end-instance_method">
|
683
733
|
|
684
|
-
|
734
|
+
#<strong>end</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
|
685
735
|
|
686
736
|
|
687
737
|
|
@@ -722,10 +772,10 @@ end</pre>
|
|
722
772
|
<pre class="lines">
|
723
773
|
|
724
774
|
|
725
|
-
|
775
|
+
448</pre>
|
726
776
|
</td>
|
727
777
|
<td>
|
728
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
778
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 448</span>
|
729
779
|
|
730
780
|
<span class='kw'>def</span> <span class='kw'>end</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
731
781
|
</td>
|
@@ -736,7 +786,7 @@ end</pre>
|
|
736
786
|
<div class="method_details ">
|
737
787
|
<h3 class="signature " id="pause-instance_method">
|
738
788
|
|
739
|
-
|
789
|
+
#<strong>pause</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
|
740
790
|
|
741
791
|
|
742
792
|
|
@@ -777,10 +827,10 @@ end</pre>
|
|
777
827
|
<pre class="lines">
|
778
828
|
|
779
829
|
|
780
|
-
|
830
|
+
452</pre>
|
781
831
|
</td>
|
782
832
|
<td>
|
783
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
833
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 452</span>
|
784
834
|
|
785
835
|
<span class='kw'>def</span> <span class='id identifier rubyid_pause'>pause</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
786
836
|
</td>
|
@@ -791,7 +841,7 @@ end</pre>
|
|
791
841
|
<div class="method_details ">
|
792
842
|
<h3 class="signature " id="pop-instance_method">
|
793
843
|
|
794
|
-
|
844
|
+
#<strong>pop</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
|
795
845
|
|
796
846
|
|
797
847
|
|
@@ -833,10 +883,10 @@ scene. If there are no more scenes to run, the execution will be stopped.</p>
|
|
833
883
|
<pre class="lines">
|
834
884
|
|
835
885
|
|
836
|
-
|
886
|
+
444</pre>
|
837
887
|
</td>
|
838
888
|
<td>
|
839
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
889
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 444</span>
|
840
890
|
|
841
891
|
<span class='kw'>def</span> <span class='id identifier rubyid_pop'>pop</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
842
892
|
</td>
|
@@ -847,7 +897,7 @@ scene. If there are no more scenes to run, the execution will be stopped.</p>
|
|
847
897
|
<div class="method_details ">
|
848
898
|
<h3 class="signature " id="push-instance_method">
|
849
899
|
|
850
|
-
|
900
|
+
#<strong>push</strong>(scene) ⇒ <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
|
851
901
|
|
852
902
|
|
853
903
|
|
@@ -909,10 +959,10 @@ scene instead.</p>
|
|
909
959
|
<pre class="lines">
|
910
960
|
|
911
961
|
|
912
|
-
|
962
|
+
439</pre>
|
913
963
|
</td>
|
914
964
|
<td>
|
915
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
965
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 439</span>
|
916
966
|
|
917
967
|
<span class='kw'>def</span> <span class='id identifier rubyid_push'>push</span><span class='lparen'>(</span><span class='id identifier rubyid_scene'>scene</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
918
968
|
</td>
|
@@ -923,7 +973,7 @@ scene instead.</p>
|
|
923
973
|
<div class="method_details ">
|
924
974
|
<h3 class="signature " id="replace-instance_method">
|
925
975
|
|
926
|
-
|
976
|
+
#<strong>replace</strong>(scene) ⇒ <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
|
927
977
|
|
928
978
|
|
929
979
|
|
@@ -985,10 +1035,10 @@ terminated.</p>
|
|
985
1035
|
<pre class="lines">
|
986
1036
|
|
987
1037
|
|
988
|
-
|
1038
|
+
433</pre>
|
989
1039
|
</td>
|
990
1040
|
<td>
|
991
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1041
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 433</span>
|
992
1042
|
|
993
1043
|
<span class='kw'>def</span> <span class='id identifier rubyid_replace'>replace</span><span class='lparen'>(</span><span class='id identifier rubyid_scene'>scene</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
994
1044
|
</td>
|
@@ -999,7 +1049,7 @@ terminated.</p>
|
|
999
1049
|
<div class="method_details ">
|
1000
1050
|
<h3 class="signature " id="resume-instance_method">
|
1001
1051
|
|
1002
|
-
|
1052
|
+
#<strong>resume</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
|
1003
1053
|
|
1004
1054
|
|
1005
1055
|
|
@@ -1040,10 +1090,10 @@ terminated.</p>
|
|
1040
1090
|
<pre class="lines">
|
1041
1091
|
|
1042
1092
|
|
1043
|
-
|
1093
|
+
456</pre>
|
1044
1094
|
</td>
|
1045
1095
|
<td>
|
1046
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1096
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 456</span>
|
1047
1097
|
|
1048
1098
|
<span class='kw'>def</span> <span class='id identifier rubyid_resume'>resume</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1049
1099
|
</td>
|
@@ -1054,7 +1104,7 @@ terminated.</p>
|
|
1054
1104
|
<div class="method_details ">
|
1055
1105
|
<h3 class="signature " id="run-instance_method">
|
1056
1106
|
|
1057
|
-
|
1107
|
+
#<strong>run</strong>(scene) ⇒ <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
|
1058
1108
|
|
1059
1109
|
|
1060
1110
|
|
@@ -1115,26 +1165,137 @@ terminated.</p>
|
|
1115
1165
|
<pre class="lines">
|
1116
1166
|
|
1117
1167
|
|
1118
|
-
|
1168
|
+
427</pre>
|
1119
1169
|
</td>
|
1120
1170
|
<td>
|
1121
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1171
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 427</span>
|
1122
1172
|
|
1123
1173
|
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span><span class='id identifier rubyid_scene'>scene</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1124
1174
|
</td>
|
1125
1175
|
</tr>
|
1126
1176
|
</table>
|
1177
|
+
</div>
|
1178
|
+
|
1179
|
+
<div class="method_details ">
|
1180
|
+
<h3 class="signature " id="start_animation-instance_method">
|
1181
|
+
|
1182
|
+
#<strong>start_animation</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
|
1183
|
+
|
1184
|
+
|
1185
|
+
|
1186
|
+
|
1187
|
+
|
1188
|
+
</h3><div class="docstring">
|
1189
|
+
<div class="discussion">
|
1190
|
+
|
1191
|
+
<p>The main loop is triggered again.</p>
|
1192
|
+
|
1193
|
+
|
1194
|
+
</div>
|
1195
|
+
</div>
|
1196
|
+
<div class="tags">
|
1197
|
+
|
1198
|
+
<p class="tag_title">Returns:</p>
|
1199
|
+
<ul class="return">
|
1200
|
+
|
1201
|
+
<li>
|
1202
|
+
|
1203
|
+
|
1204
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
|
1205
|
+
|
1206
|
+
|
1207
|
+
|
1208
|
+
—
|
1209
|
+
<div class='inline'>
|
1210
|
+
<p>the receiver.</p>
|
1211
|
+
</div>
|
1212
|
+
|
1213
|
+
</li>
|
1214
|
+
|
1215
|
+
</ul>
|
1216
|
+
|
1217
|
+
</div><table class="source_code">
|
1218
|
+
<tr>
|
1219
|
+
<td>
|
1220
|
+
<pre class="lines">
|
1221
|
+
|
1222
|
+
|
1223
|
+
460</pre>
|
1224
|
+
</td>
|
1225
|
+
<td>
|
1226
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 460</span>
|
1227
|
+
|
1228
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_start_animation'>start_animation</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1229
|
+
</td>
|
1230
|
+
</tr>
|
1231
|
+
</table>
|
1232
|
+
</div>
|
1233
|
+
|
1234
|
+
<div class="method_details ">
|
1235
|
+
<h3 class="signature " id="stop_animation-instance_method">
|
1236
|
+
|
1237
|
+
#<strong>stop_animation</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
|
1238
|
+
|
1239
|
+
|
1240
|
+
|
1241
|
+
|
1242
|
+
|
1243
|
+
</h3><div class="docstring">
|
1244
|
+
<div class="discussion">
|
1245
|
+
|
1246
|
+
<p>Stops the animation.</p>
|
1247
|
+
|
1248
|
+
|
1249
|
+
</div>
|
1250
|
+
</div>
|
1251
|
+
<div class="tags">
|
1252
|
+
|
1253
|
+
<p class="tag_title">Returns:</p>
|
1254
|
+
<ul class="return">
|
1255
|
+
|
1256
|
+
<li>
|
1257
|
+
|
1258
|
+
|
1259
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
|
1260
|
+
|
1261
|
+
|
1262
|
+
|
1263
|
+
—
|
1264
|
+
<div class='inline'>
|
1265
|
+
<p>the receiver.</p>
|
1266
|
+
</div>
|
1267
|
+
|
1268
|
+
</li>
|
1269
|
+
|
1270
|
+
</ul>
|
1271
|
+
|
1272
|
+
</div><table class="source_code">
|
1273
|
+
<tr>
|
1274
|
+
<td>
|
1275
|
+
<pre class="lines">
|
1276
|
+
|
1277
|
+
|
1278
|
+
464</pre>
|
1279
|
+
</td>
|
1280
|
+
<td>
|
1281
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 464</span>
|
1282
|
+
|
1283
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_stop_animation'>stop_animation</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1284
|
+
</td>
|
1285
|
+
</tr>
|
1286
|
+
</table>
|
1127
1287
|
</div>
|
1128
1288
|
|
1129
1289
|
</div>
|
1130
1290
|
|
1131
1291
|
</div>
|
1132
1292
|
|
1133
|
-
|
1134
|
-
Generated on
|
1293
|
+
<div id="footer">
|
1294
|
+
Generated on Sun Nov 27 15:52:18 2016 by
|
1135
1295
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1136
|
-
0.
|
1296
|
+
0.9.5 (ruby-2.3.3).
|
1137
1297
|
</div>
|
1138
1298
|
|
1299
|
+
</div>
|
1139
1300
|
</body>
|
1140
1301
|
</html>
|