motion-game 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- 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/Scroll.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::Scroll
|
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::Scroll";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!MG/Scroll.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 (S)</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">Scroll</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::Scroll
|
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"><span class='object_link'><a href="Layout.html" title="MG::Layout (class)">Layout</a></span></span>
|
77
75
|
|
78
76
|
<ul class="fullTree">
|
@@ -89,21 +87,25 @@
|
|
89
87
|
</ul>
|
90
88
|
<a href="#" class="inheritanceTree">show all</a>
|
91
89
|
|
92
|
-
|
93
|
-
|
90
|
+
</dd>
|
91
|
+
</dl>
|
92
|
+
|
93
|
+
|
94
94
|
|
95
95
|
|
96
|
-
|
97
96
|
|
98
|
-
|
99
97
|
|
100
98
|
|
99
|
+
|
100
|
+
|
101
|
+
|
101
102
|
|
102
|
-
|
103
|
-
<
|
103
|
+
<dl>
|
104
|
+
<dt>Defined in:</dt>
|
105
|
+
<dd>motion-game</dd>
|
106
|
+
</dl>
|
104
107
|
|
105
|
-
</
|
106
|
-
<div class="clear"></div>
|
108
|
+
</div>
|
107
109
|
|
108
110
|
<div id="subclasses">
|
109
111
|
<h2>Direct Known Subclasses</h2>
|
@@ -113,13 +115,13 @@
|
|
113
115
|
|
114
116
|
|
115
117
|
|
116
|
-
<h2>Properties <small
|
118
|
+
<h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
117
119
|
<ul class="summary">
|
118
120
|
|
119
121
|
<li class="public ">
|
120
122
|
<span class="summary_signature">
|
121
123
|
|
122
|
-
<a href="#direction-instance_method" title="#direction (instance method)"
|
124
|
+
<a href="#direction-instance_method" title="#direction (instance method)">#<strong>direction</strong> ⇒ :none, ... </a>
|
123
125
|
|
124
126
|
|
125
127
|
|
@@ -146,7 +148,7 @@
|
|
146
148
|
<li class="public ">
|
147
149
|
<span class="summary_signature">
|
148
150
|
|
149
|
-
<a href="#inner_container-instance_method" title="#inner_container (instance method)"
|
151
|
+
<a href="#inner_container-instance_method" title="#inner_container (instance method)">#<strong>inner_container</strong> ⇒ Layout </a>
|
150
152
|
|
151
153
|
|
152
154
|
|
@@ -175,7 +177,7 @@
|
|
175
177
|
<li class="public ">
|
176
178
|
<span class="summary_signature">
|
177
179
|
|
178
|
-
<a href="#inner_size-instance_method" title="#inner_size (instance method)"
|
180
|
+
<a href="#inner_size-instance_method" title="#inner_size (instance method)">#<strong>inner_size</strong> ⇒ Size </a>
|
179
181
|
|
180
182
|
|
181
183
|
|
@@ -223,7 +225,7 @@ than the size of the scroll view itself.</p>
|
|
223
225
|
|
224
226
|
<h2>
|
225
227
|
Constructors
|
226
|
-
<small
|
228
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
227
229
|
</h2>
|
228
230
|
|
229
231
|
<ul class="summary">
|
@@ -231,7 +233,7 @@ than the size of the scroll view itself.</p>
|
|
231
233
|
<li class="public ">
|
232
234
|
<span class="summary_signature">
|
233
235
|
|
234
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
236
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ Scroll </a>
|
235
237
|
|
236
238
|
|
237
239
|
|
@@ -284,14 +286,14 @@ than the size of the scroll view itself.</p>
|
|
284
286
|
|
285
287
|
|
286
288
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
287
|
-
<p class="inherited"><span class='object_link'><a href="Node.html#add-instance_method" title="MG::Node#add (method)">#add</a></span>, <span class='object_link'><a href="Node.html#children-instance_method" title="MG::Node#children (method)">#children</a></span>, <span class='object_link'><a href="Node.html#clear-instance_method" title="MG::Node#clear (method)">#clear</a></span>, <span class='object_link'><a href="Node.html#delete-instance_method" title="MG::Node#delete (method)">#delete</a></span>, <span class='object_link'><a href="Node.html#delete_from_parent-instance_method" title="MG::Node#delete_from_parent (method)">#delete_from_parent</a></span>, <span class='object_link'><a href="Node.html#intersects%3F-instance_method" title="MG::Node#intersects? (method)">#intersects?</a></span>, <span class='object_link'><a href="Node.html#parent-instance_method" title="MG::Node#parent (method)">#parent</a></span></p>
|
289
|
+
<p class="inherited"><span class='object_link'><a href="Node.html#add-instance_method" title="MG::Node#add (method)">#add</a></span>, <span class='object_link'><a href="Node.html#children-instance_method" title="MG::Node#children (method)">#children</a></span>, <span class='object_link'><a href="Node.html#clear-instance_method" title="MG::Node#clear (method)">#clear</a></span>, <span class='object_link'><a href="Node.html#delete-instance_method" title="MG::Node#delete (method)">#delete</a></span>, <span class='object_link'><a href="Node.html#delete_from_parent-instance_method" title="MG::Node#delete_from_parent (method)">#delete_from_parent</a></span>, <span class='object_link'><a href="Node.html#intersects%3F-instance_method" title="MG::Node#intersects? (method)">#intersects?</a></span>, <span class='object_link'><a href="Node.html#parent-instance_method" title="MG::Node#parent (method)">#parent</a></span>, <span class='object_link'><a href="Node.html#run_action-instance_method" title="MG::Node#run_action (method)">#run_action</a></span>, <span class='object_link'><a href="Node.html#stop_action-instance_method" title="MG::Node#stop_action (method)">#stop_action</a></span>, <span class='object_link'><a href="Node.html#stop_all_actions-instance_method" title="MG::Node#stop_all_actions (method)">#stop_all_actions</a></span></p>
|
288
290
|
<div id="constructor_details" class="method_details_list">
|
289
291
|
<h2>Constructor Details</h2>
|
290
292
|
|
291
293
|
<div class="method_details first">
|
292
294
|
<h3 class="signature first" id="initialize-instance_method">
|
293
295
|
|
294
|
-
|
296
|
+
#<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Scroll (class)">Scroll</a></span></tt>
|
295
297
|
|
296
298
|
|
297
299
|
|
@@ -314,10 +316,10 @@ than the size of the scroll view itself.</p>
|
|
314
316
|
<pre class="lines">
|
315
317
|
|
316
318
|
|
317
|
-
|
319
|
+
1268</pre>
|
318
320
|
</td>
|
319
321
|
<td>
|
320
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
322
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1268</span>
|
321
323
|
|
322
324
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
323
325
|
</td>
|
@@ -335,7 +337,7 @@ than the size of the scroll view itself.</p>
|
|
335
337
|
<div class="method_details first">
|
336
338
|
<h3 class="signature first" id="direction-instance_method">
|
337
339
|
|
338
|
-
|
340
|
+
#<strong>direction</strong> ⇒ <tt>:none</tt>, ...
|
339
341
|
|
340
342
|
|
341
343
|
|
@@ -376,12 +378,12 @@ than the size of the scroll view itself.</p>
|
|
376
378
|
<pre class="lines">
|
377
379
|
|
378
380
|
|
379
|
-
|
380
|
-
|
381
|
-
|
381
|
+
1275
|
382
|
+
1276
|
383
|
+
1277</pre>
|
382
384
|
</td>
|
383
385
|
<td>
|
384
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
386
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1275</span>
|
385
387
|
|
386
388
|
<span class='kw'>def</span> <span class='id identifier rubyid_direction'>direction</span>
|
387
389
|
<span class='ivar'>@direction</span>
|
@@ -396,7 +398,7 @@ than the size of the scroll view itself.</p>
|
|
396
398
|
<div class="method_details ">
|
397
399
|
<h3 class="signature " id="inner_container-instance_method">
|
398
400
|
|
399
|
-
|
401
|
+
#<strong>inner_container</strong> ⇒ <tt><span class='object_link'><a href="Layout.html" title="MG::Layout (class)">Layout</a></span></tt> <span class="extras">(readonly)</span>
|
400
402
|
|
401
403
|
|
402
404
|
|
@@ -437,12 +439,12 @@ than the size of the scroll view itself.</p>
|
|
437
439
|
<pre class="lines">
|
438
440
|
|
439
441
|
|
440
|
-
|
441
|
-
|
442
|
-
|
442
|
+
1282
|
443
|
+
1283
|
444
|
+
1284</pre>
|
443
445
|
</td>
|
444
446
|
<td>
|
445
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
447
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1282</span>
|
446
448
|
|
447
449
|
<span class='kw'>def</span> <span class='id identifier rubyid_inner_container'>inner_container</span>
|
448
450
|
<span class='ivar'>@inner_container</span>
|
@@ -457,7 +459,7 @@ than the size of the scroll view itself.</p>
|
|
457
459
|
<div class="method_details ">
|
458
460
|
<h3 class="signature " id="inner_size-instance_method">
|
459
461
|
|
460
|
-
|
462
|
+
#<strong>inner_size</strong> ⇒ <tt><span class='object_link'><a href="Size.html" title="MG::Size (class)">Size</a></span></tt>
|
461
463
|
|
462
464
|
|
463
465
|
|
@@ -500,12 +502,12 @@ than the size of the scroll view itself.</p>
|
|
500
502
|
<pre class="lines">
|
501
503
|
|
502
504
|
|
503
|
-
|
504
|
-
|
505
|
-
|
505
|
+
1279
|
506
|
+
1280
|
507
|
+
1281</pre>
|
506
508
|
</td>
|
507
509
|
<td>
|
508
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
510
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1279</span>
|
509
511
|
|
510
512
|
<span class='kw'>def</span> <span class='id identifier rubyid_inner_size'>inner_size</span>
|
511
513
|
<span class='ivar'>@inner_size</span>
|
@@ -520,11 +522,12 @@ than the size of the scroll view itself.</p>
|
|
520
522
|
|
521
523
|
</div>
|
522
524
|
|
523
|
-
|
524
|
-
Generated on
|
525
|
+
<div id="footer">
|
526
|
+
Generated on Sun Nov 27 15:52:20 2016 by
|
525
527
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
526
|
-
0.
|
528
|
+
0.9.5 (ruby-2.3.3).
|
527
529
|
</div>
|
528
530
|
|
531
|
+
</div>
|
529
532
|
</body>
|
530
533
|
</html>
|
@@ -0,0 +1,241 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: MG::Sequence
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.5
|
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
|
+
pathId = "MG::Sequence";
|
19
|
+
relpath = '../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
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">
|
38
|
+
|
39
|
+
<a href="../_index.html">Index (S)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">Sequence</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../class_list.html">
|
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>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<iframe id="search_frame" src="../class_list.html"></iframe>
|
63
|
+
|
64
|
+
<div id="content"><h1>Class: MG::Sequence
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
74
|
+
<span class="inheritName"><span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span></span>
|
75
|
+
|
76
|
+
<ul class="fullTree">
|
77
|
+
<li>Object</li>
|
78
|
+
|
79
|
+
<li class="next"><span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span></li>
|
80
|
+
|
81
|
+
<li class="next">MG::Sequence</li>
|
82
|
+
|
83
|
+
</ul>
|
84
|
+
<a href="#" class="inheritanceTree">show all</a>
|
85
|
+
|
86
|
+
</dd>
|
87
|
+
</dl>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>motion-game</dd>
|
102
|
+
</dl>
|
103
|
+
|
104
|
+
</div>
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
<h2>Instance Attribute Summary</h2>
|
113
|
+
|
114
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span></h3>
|
115
|
+
<p class="inherited"><span class='object_link'><a href="Action.html#done%3F-instance_method" title="MG::Action#done? (method)">#done?</a></span></p>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<h2>
|
120
|
+
Constructors
|
121
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
122
|
+
</h2>
|
123
|
+
|
124
|
+
<ul class="summary">
|
125
|
+
|
126
|
+
<li class="public ">
|
127
|
+
<span class="summary_signature">
|
128
|
+
|
129
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(actions) ⇒ Sequence </a>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
</span>
|
134
|
+
|
135
|
+
|
136
|
+
<span class="note title constructor">constructor</span>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
<span class="summary_desc"><div class='inline'>
|
146
|
+
<p>Creates an action that runs actions sequentially, one after another on the
|
147
|
+
receiver.</p>
|
148
|
+
</div></span>
|
149
|
+
|
150
|
+
</li>
|
151
|
+
|
152
|
+
|
153
|
+
</ul>
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span></h3>
|
166
|
+
<p class="inherited"><span class='object_link'><a href="Action.html#clone-instance_method" title="MG::Action#clone (method)">#clone</a></span>, <span class='object_link'><a href="Action.html#reverse-instance_method" title="MG::Action#reverse (method)">#reverse</a></span></p>
|
167
|
+
<div id="constructor_details" class="method_details_list">
|
168
|
+
<h2>Constructor Details</h2>
|
169
|
+
|
170
|
+
<div class="method_details first">
|
171
|
+
<h3 class="signature first" id="initialize-instance_method">
|
172
|
+
|
173
|
+
#<strong>initialize</strong>(actions) ⇒ <tt><span class='object_link'><a href="" title="MG::Sequence (class)">Sequence</a></span></tt>
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
</h3><div class="docstring">
|
180
|
+
<div class="discussion">
|
181
|
+
|
182
|
+
<p>Creates an action that runs actions sequentially, one after another on the
|
183
|
+
receiver.</p>
|
184
|
+
|
185
|
+
|
186
|
+
</div>
|
187
|
+
</div>
|
188
|
+
<div class="tags">
|
189
|
+
<p class="tag_title">Parameters:</p>
|
190
|
+
<ul class="param">
|
191
|
+
|
192
|
+
<li>
|
193
|
+
|
194
|
+
<span class='name'>actions</span>
|
195
|
+
|
196
|
+
|
197
|
+
<span class='type'>(<tt><span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span>[]</tt>)</span>
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
—
|
202
|
+
<div class='inline'>
|
203
|
+
<p>the array of actions to run in sequence</p>
|
204
|
+
</div>
|
205
|
+
|
206
|
+
</li>
|
207
|
+
|
208
|
+
</ul>
|
209
|
+
|
210
|
+
|
211
|
+
</div><table class="source_code">
|
212
|
+
<tr>
|
213
|
+
<td>
|
214
|
+
<pre class="lines">
|
215
|
+
|
216
|
+
|
217
|
+
245</pre>
|
218
|
+
</td>
|
219
|
+
<td>
|
220
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 245</span>
|
221
|
+
|
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
|
+
</td>
|
224
|
+
</tr>
|
225
|
+
</table>
|
226
|
+
</div>
|
227
|
+
|
228
|
+
</div>
|
229
|
+
|
230
|
+
|
231
|
+
</div>
|
232
|
+
|
233
|
+
<div id="footer">
|
234
|
+
Generated on Sun Nov 27 15:52:18 2016 by
|
235
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
236
|
+
0.9.5 (ruby-2.3.3).
|
237
|
+
</div>
|
238
|
+
|
239
|
+
</div>
|
240
|
+
</body>
|
241
|
+
</html>
|