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/Layout.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::Layout
|
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::Layout";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!MG/Layout.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 (L)</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">Layout</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::Layout
|
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="Widget.html" title="MG::Widget (class)">Widget</a></span></span>
|
77
75
|
|
78
76
|
<ul class="fullTree">
|
@@ -87,21 +85,25 @@
|
|
87
85
|
</ul>
|
88
86
|
<a href="#" class="inheritanceTree">show all</a>
|
89
87
|
|
90
|
-
|
91
|
-
|
88
|
+
</dd>
|
89
|
+
</dl>
|
90
|
+
|
91
|
+
|
92
92
|
|
93
93
|
|
94
|
-
|
95
94
|
|
96
|
-
|
97
95
|
|
98
96
|
|
97
|
+
|
98
|
+
|
99
|
+
|
99
100
|
|
100
|
-
|
101
|
-
<
|
101
|
+
<dl>
|
102
|
+
<dt>Defined in:</dt>
|
103
|
+
<dd>motion-game</dd>
|
104
|
+
</dl>
|
102
105
|
|
103
|
-
</
|
104
|
-
<div class="clear"></div>
|
106
|
+
</div>
|
105
107
|
|
106
108
|
<div id="subclasses">
|
107
109
|
<h2>Direct Known Subclasses</h2>
|
@@ -111,13 +113,13 @@
|
|
111
113
|
|
112
114
|
|
113
115
|
|
114
|
-
<h2>Properties <small
|
116
|
+
<h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
115
117
|
<ul class="summary">
|
116
118
|
|
117
119
|
<li class="public ">
|
118
120
|
<span class="summary_signature">
|
119
121
|
|
120
|
-
<a href="#background_color-instance_method" title="#background_color (instance method)"
|
122
|
+
<a href="#background_color-instance_method" title="#background_color (instance method)">#<strong>background_color</strong> ⇒ Color </a>
|
121
123
|
|
122
124
|
|
123
125
|
|
@@ -144,7 +146,7 @@
|
|
144
146
|
<li class="public ">
|
145
147
|
<span class="summary_signature">
|
146
148
|
|
147
|
-
<a href="#clipping%3F-instance_method" title="#clipping? (instance method)"
|
149
|
+
<a href="#clipping%3F-instance_method" title="#clipping? (instance method)">#<strong>clipping?</strong> ⇒ Boolean </a>
|
148
150
|
|
149
151
|
|
150
152
|
|
@@ -171,7 +173,7 @@
|
|
171
173
|
<li class="public ">
|
172
174
|
<span class="summary_signature">
|
173
175
|
|
174
|
-
<a href="#type-instance_method" title="#type (instance method)"
|
176
|
+
<a href="#type-instance_method" title="#type (instance method)">#<strong>type</strong> ⇒ :absolute, ... </a>
|
175
177
|
|
176
178
|
|
177
179
|
|
@@ -213,7 +215,7 @@
|
|
213
215
|
|
214
216
|
<h2>
|
215
217
|
Constructors
|
216
|
-
<small
|
218
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
217
219
|
</h2>
|
218
220
|
|
219
221
|
<ul class="summary">
|
@@ -221,7 +223,7 @@
|
|
221
223
|
<li class="public ">
|
222
224
|
<span class="summary_signature">
|
223
225
|
|
224
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
226
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ Layout </a>
|
225
227
|
|
226
228
|
|
227
229
|
|
@@ -268,14 +270,14 @@
|
|
268
270
|
|
269
271
|
|
270
272
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
271
|
-
<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>
|
273
|
+
<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>
|
272
274
|
<div id="constructor_details" class="method_details_list">
|
273
275
|
<h2>Constructor Details</h2>
|
274
276
|
|
275
277
|
<div class="method_details first">
|
276
278
|
<h3 class="signature first" id="initialize-instance_method">
|
277
279
|
|
278
|
-
|
280
|
+
#<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Layout (class)">Layout</a></span></tt>
|
279
281
|
|
280
282
|
|
281
283
|
|
@@ -298,10 +300,10 @@
|
|
298
300
|
<pre class="lines">
|
299
301
|
|
300
302
|
|
301
|
-
|
303
|
+
1246</pre>
|
302
304
|
</td>
|
303
305
|
<td>
|
304
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
306
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1246</span>
|
305
307
|
|
306
308
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
307
309
|
</td>
|
@@ -319,7 +321,7 @@
|
|
319
321
|
<div class="method_details first">
|
320
322
|
<h3 class="signature first" id="background_color-instance_method">
|
321
323
|
|
322
|
-
|
324
|
+
#<strong>background_color</strong> ⇒ <tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>
|
323
325
|
|
324
326
|
|
325
327
|
|
@@ -360,12 +362,12 @@
|
|
360
362
|
<pre class="lines">
|
361
363
|
|
362
364
|
|
363
|
-
|
364
|
-
|
365
|
-
|
365
|
+
1255
|
366
|
+
1256
|
367
|
+
1257</pre>
|
366
368
|
</td>
|
367
369
|
<td>
|
368
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
370
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1255</span>
|
369
371
|
|
370
372
|
<span class='kw'>def</span> <span class='id identifier rubyid_background_color'>background_color</span>
|
371
373
|
<span class='ivar'>@background_color</span>
|
@@ -380,7 +382,7 @@
|
|
380
382
|
<div class="method_details ">
|
381
383
|
<h3 class="signature " id="clipping?-instance_method">
|
382
384
|
|
383
|
-
|
385
|
+
#<strong>clipping?</strong> ⇒ <tt>Boolean</tt>
|
384
386
|
|
385
387
|
|
386
388
|
|
@@ -422,12 +424,12 @@ false).</p>
|
|
422
424
|
<pre class="lines">
|
423
425
|
|
424
426
|
|
425
|
-
|
426
|
-
|
427
|
-
|
427
|
+
1259
|
428
|
+
1260
|
429
|
+
1261</pre>
|
428
430
|
</td>
|
429
431
|
<td>
|
430
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
432
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1259</span>
|
431
433
|
|
432
434
|
def clipping?
|
433
435
|
@clipping?
|
@@ -442,7 +444,7 @@ end</pre>
|
|
442
444
|
<div class="method_details ">
|
443
445
|
<h3 class="signature " id="type-instance_method">
|
444
446
|
|
445
|
-
|
447
|
+
#<strong>type</strong> ⇒ <tt>:absolute</tt>, ...
|
446
448
|
|
447
449
|
|
448
450
|
|
@@ -483,12 +485,12 @@ end</pre>
|
|
483
485
|
<pre class="lines">
|
484
486
|
|
485
487
|
|
486
|
-
|
487
|
-
|
488
|
-
|
488
|
+
1252
|
489
|
+
1253
|
490
|
+
1254</pre>
|
489
491
|
</td>
|
490
492
|
<td>
|
491
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
493
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1252</span>
|
492
494
|
|
493
495
|
<span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
|
494
496
|
<span class='ivar'>@type</span>
|
@@ -503,11 +505,12 @@ end</pre>
|
|
503
505
|
|
504
506
|
</div>
|
505
507
|
|
506
|
-
|
507
|
-
Generated on
|
508
|
+
<div id="footer">
|
509
|
+
Generated on Sun Nov 27 15:52:20 2016 by
|
508
510
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
509
|
-
0.
|
511
|
+
0.9.5 (ruby-2.3.3).
|
510
512
|
</div>
|
511
513
|
|
514
|
+
</div>
|
512
515
|
</body>
|
513
516
|
</html>
|
data/doc/MG/List.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::List
|
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::List";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!MG/List.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 (L)</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">List</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::List
|
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="Scroll.html" title="MG::Scroll (class)">Scroll</a></span></span>
|
77
75
|
|
78
76
|
<ul class="fullTree">
|
@@ -91,33 +89,37 @@
|
|
91
89
|
</ul>
|
92
90
|
<a href="#" class="inheritanceTree">show all</a>
|
93
91
|
|
94
|
-
|
95
|
-
|
92
|
+
</dd>
|
93
|
+
</dl>
|
94
|
+
|
95
|
+
|
96
96
|
|
97
97
|
|
98
|
-
|
99
98
|
|
100
|
-
|
101
99
|
|
102
100
|
|
101
|
+
|
102
|
+
|
103
|
+
|
103
104
|
|
104
|
-
|
105
|
-
<
|
105
|
+
<dl>
|
106
|
+
<dt>Defined in:</dt>
|
107
|
+
<dd>motion-game</dd>
|
108
|
+
</dl>
|
106
109
|
|
107
|
-
</
|
108
|
-
<div class="clear"></div>
|
110
|
+
</div>
|
109
111
|
|
110
112
|
|
111
113
|
|
112
114
|
|
113
115
|
|
114
|
-
<h2>Properties <small
|
116
|
+
<h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
115
117
|
<ul class="summary">
|
116
118
|
|
117
119
|
<li class="public ">
|
118
120
|
<span class="summary_signature">
|
119
121
|
|
120
|
-
<a href="#items_margin-instance_method" title="#items_margin (instance method)"
|
122
|
+
<a href="#items_margin-instance_method" title="#items_margin (instance method)">#<strong>items_margin</strong> ⇒ Float </a>
|
121
123
|
|
122
124
|
|
123
125
|
|
@@ -169,7 +171,7 @@
|
|
169
171
|
|
170
172
|
<h2>
|
171
173
|
Constructors
|
172
|
-
<small
|
174
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
173
175
|
</h2>
|
174
176
|
|
175
177
|
<ul class="summary">
|
@@ -177,7 +179,7 @@
|
|
177
179
|
<li class="public ">
|
178
180
|
<span class="summary_signature">
|
179
181
|
|
180
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
182
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ List </a>
|
181
183
|
|
182
184
|
|
183
185
|
|
@@ -204,7 +206,7 @@
|
|
204
206
|
|
205
207
|
<h2>
|
206
208
|
Managing Items
|
207
|
-
<small
|
209
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
208
210
|
</h2>
|
209
211
|
|
210
212
|
<ul class="summary">
|
@@ -212,7 +214,7 @@
|
|
212
214
|
<li class="public ">
|
213
215
|
<span class="summary_signature">
|
214
216
|
|
215
|
-
<a href="#add_item-instance_method" title="#add_item (instance method)"
|
217
|
+
<a href="#add_item-instance_method" title="#add_item (instance method)">#<strong>add_item</strong>(widget) ⇒ List </a>
|
216
218
|
|
217
219
|
|
218
220
|
|
@@ -236,7 +238,7 @@
|
|
236
238
|
<li class="public ">
|
237
239
|
<span class="summary_signature">
|
238
240
|
|
239
|
-
<a href="#clear_items-instance_method" title="#clear_items (instance method)"
|
241
|
+
<a href="#clear_items-instance_method" title="#clear_items (instance method)">#<strong>clear_items</strong> ⇒ List </a>
|
240
242
|
|
241
243
|
|
242
244
|
|
@@ -260,7 +262,7 @@
|
|
260
262
|
<li class="public ">
|
261
263
|
<span class="summary_signature">
|
262
264
|
|
263
|
-
<a href="#delete_item-instance_method" title="#delete_item (instance method)"
|
265
|
+
<a href="#delete_item-instance_method" title="#delete_item (instance method)">#<strong>delete_item</strong>(index) ⇒ List </a>
|
264
266
|
|
265
267
|
|
266
268
|
|
@@ -284,7 +286,7 @@
|
|
284
286
|
<li class="public ">
|
285
287
|
<span class="summary_signature">
|
286
288
|
|
287
|
-
<a href="#insert_item-instance_method" title="#insert_item (instance method)"
|
289
|
+
<a href="#insert_item-instance_method" title="#insert_item (instance method)">#<strong>insert_item</strong>(index, widget) ⇒ List </a>
|
288
290
|
|
289
291
|
|
290
292
|
|
@@ -308,7 +310,7 @@
|
|
308
310
|
<li class="public ">
|
309
311
|
<span class="summary_signature">
|
310
312
|
|
311
|
-
<a href="#item_at-instance_method" title="#item_at (instance method)"
|
313
|
+
<a href="#item_at-instance_method" title="#item_at (instance method)">#<strong>item_at</strong>(index) ⇒ Widget </a>
|
312
314
|
|
313
315
|
|
314
316
|
|
@@ -333,7 +335,7 @@
|
|
333
335
|
|
334
336
|
<h2>
|
335
337
|
Selection
|
336
|
-
<small
|
338
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
337
339
|
</h2>
|
338
340
|
|
339
341
|
<ul class="summary">
|
@@ -341,7 +343,7 @@
|
|
341
343
|
<li class="public ">
|
342
344
|
<span class="summary_signature">
|
343
345
|
|
344
|
-
<a href="#on_selection-instance_method" title="#on_selection (instance method)"
|
346
|
+
<a href="#on_selection-instance_method" title="#on_selection (instance method)">#<strong>on_selection</strong> {|Integer| ... } ⇒ List </a>
|
345
347
|
|
346
348
|
|
347
349
|
|
@@ -365,7 +367,7 @@
|
|
365
367
|
<li class="public ">
|
366
368
|
<span class="summary_signature">
|
367
369
|
|
368
|
-
<a href="#selected_item-instance_method" title="#selected_item (instance method)"
|
370
|
+
<a href="#selected_item-instance_method" title="#selected_item (instance method)">#<strong>selected_item</strong> ⇒ Integer </a>
|
369
371
|
|
370
372
|
|
371
373
|
|
@@ -422,14 +424,14 @@
|
|
422
424
|
|
423
425
|
|
424
426
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
425
|
-
<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>
|
427
|
+
<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>
|
426
428
|
<div id="constructor_details" class="method_details_list">
|
427
429
|
<h2>Constructor Details</h2>
|
428
430
|
|
429
431
|
<div class="method_details first">
|
430
432
|
<h3 class="signature first" id="initialize-instance_method">
|
431
433
|
|
432
|
-
|
434
|
+
#<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::List (class)">List</a></span></tt>
|
433
435
|
|
434
436
|
|
435
437
|
|
@@ -452,10 +454,10 @@
|
|
452
454
|
<pre class="lines">
|
453
455
|
|
454
456
|
|
455
|
-
|
457
|
+
1291</pre>
|
456
458
|
</td>
|
457
459
|
<td>
|
458
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
460
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1291</span>
|
459
461
|
|
460
462
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
461
463
|
</td>
|
@@ -473,7 +475,7 @@
|
|
473
475
|
<div class="method_details first">
|
474
476
|
<h3 class="signature first" id="items_margin-instance_method">
|
475
477
|
|
476
|
-
|
478
|
+
#<strong>items_margin</strong> ⇒ <tt>Float</tt>
|
477
479
|
|
478
480
|
|
479
481
|
|
@@ -514,12 +516,12 @@
|
|
514
516
|
<pre class="lines">
|
515
517
|
|
516
518
|
|
517
|
-
|
518
|
-
|
519
|
-
|
519
|
+
1337
|
520
|
+
1338
|
521
|
+
1339</pre>
|
520
522
|
</td>
|
521
523
|
<td>
|
522
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
524
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1337</span>
|
523
525
|
|
524
526
|
<span class='kw'>def</span> <span class='id identifier rubyid_items_margin'>items_margin</span>
|
525
527
|
<span class='ivar'>@items_margin</span>
|
@@ -539,7 +541,7 @@
|
|
539
541
|
<div class="method_details first">
|
540
542
|
<h3 class="signature first" id="add_item-instance_method">
|
541
543
|
|
542
|
-
|
544
|
+
#<strong>add_item</strong>(widget) ⇒ <tt><span class='object_link'><a href="" title="MG::List (class)">List</a></span></tt>
|
543
545
|
|
544
546
|
|
545
547
|
|
@@ -600,10 +602,10 @@
|
|
600
602
|
<pre class="lines">
|
601
603
|
|
602
604
|
|
603
|
-
|
605
|
+
1299</pre>
|
604
606
|
</td>
|
605
607
|
<td>
|
606
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
608
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1299</span>
|
607
609
|
|
608
610
|
<span class='kw'>def</span> <span class='id identifier rubyid_add_item'>add_item</span><span class='lparen'>(</span><span class='id identifier rubyid_widget'>widget</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
609
611
|
</td>
|
@@ -614,7 +616,7 @@
|
|
614
616
|
<div class="method_details ">
|
615
617
|
<h3 class="signature " id="clear_items-instance_method">
|
616
618
|
|
617
|
-
|
619
|
+
#<strong>clear_items</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::List (class)">List</a></span></tt>
|
618
620
|
|
619
621
|
|
620
622
|
|
@@ -655,10 +657,10 @@
|
|
655
657
|
<pre class="lines">
|
656
658
|
|
657
659
|
|
658
|
-
|
660
|
+
1319</pre>
|
659
661
|
</td>
|
660
662
|
<td>
|
661
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
663
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1319</span>
|
662
664
|
|
663
665
|
<span class='kw'>def</span> <span class='id identifier rubyid_clear_items'>clear_items</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
664
666
|
</td>
|
@@ -669,7 +671,7 @@
|
|
669
671
|
<div class="method_details ">
|
670
672
|
<h3 class="signature " id="delete_item-instance_method">
|
671
673
|
|
672
|
-
|
674
|
+
#<strong>delete_item</strong>(index) ⇒ <tt><span class='object_link'><a href="" title="MG::List (class)">List</a></span></tt>
|
673
675
|
|
674
676
|
|
675
677
|
|
@@ -730,10 +732,10 @@
|
|
730
732
|
<pre class="lines">
|
731
733
|
|
732
734
|
|
733
|
-
|
735
|
+
1315</pre>
|
734
736
|
</td>
|
735
737
|
<td>
|
736
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
738
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1315</span>
|
737
739
|
|
738
740
|
<span class='kw'>def</span> <span class='id identifier rubyid_delete_item'>delete_item</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
739
741
|
</td>
|
@@ -744,7 +746,7 @@
|
|
744
746
|
<div class="method_details ">
|
745
747
|
<h3 class="signature " id="insert_item-instance_method">
|
746
748
|
|
747
|
-
|
749
|
+
#<strong>insert_item</strong>(index, widget) ⇒ <tt><span class='object_link'><a href="" title="MG::List (class)">List</a></span></tt>
|
748
750
|
|
749
751
|
|
750
752
|
|
@@ -821,10 +823,10 @@
|
|
821
823
|
<pre class="lines">
|
822
824
|
|
823
825
|
|
824
|
-
|
826
|
+
1305</pre>
|
825
827
|
</td>
|
826
828
|
<td>
|
827
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
829
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1305</span>
|
828
830
|
|
829
831
|
<span class='kw'>def</span> <span class='id identifier rubyid_insert_item'>insert_item</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_widget'>widget</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
830
832
|
</td>
|
@@ -835,7 +837,7 @@
|
|
835
837
|
<div class="method_details ">
|
836
838
|
<h3 class="signature " id="item_at-instance_method">
|
837
839
|
|
838
|
-
|
840
|
+
#<strong>item_at</strong>(index) ⇒ <tt><span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></tt>
|
839
841
|
|
840
842
|
|
841
843
|
|
@@ -896,10 +898,10 @@
|
|
896
898
|
<pre class="lines">
|
897
899
|
|
898
900
|
|
899
|
-
|
901
|
+
1310</pre>
|
900
902
|
</td>
|
901
903
|
<td>
|
902
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
904
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1310</span>
|
903
905
|
|
904
906
|
<span class='kw'>def</span> <span class='id identifier rubyid_item_at'>item_at</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
905
907
|
</td>
|
@@ -910,7 +912,7 @@
|
|
910
912
|
<div class="method_details ">
|
911
913
|
<h3 class="signature " id="on_selection-instance_method">
|
912
914
|
|
913
|
-
|
915
|
+
#<strong>on_selection</strong> {|Integer| ... } ⇒ <tt><span class='object_link'><a href="" title="MG::List (class)">List</a></span></tt>
|
914
916
|
|
915
917
|
|
916
918
|
|
@@ -970,10 +972,10 @@ of the selection as the argument.</p>
|
|
970
972
|
<pre class="lines">
|
971
973
|
|
972
974
|
|
973
|
-
|
975
|
+
1328</pre>
|
974
976
|
</td>
|
975
977
|
<td>
|
976
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
978
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1328</span>
|
977
979
|
|
978
980
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_selection'>on_selection</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
979
981
|
</td>
|
@@ -984,7 +986,7 @@ of the selection as the argument.</p>
|
|
984
986
|
<div class="method_details ">
|
985
987
|
<h3 class="signature " id="selected_item-instance_method">
|
986
988
|
|
987
|
-
|
989
|
+
#<strong>selected_item</strong> ⇒ <tt>Integer</tt>
|
988
990
|
|
989
991
|
|
990
992
|
|
@@ -1025,10 +1027,10 @@ of the selection as the argument.</p>
|
|
1025
1027
|
<pre class="lines">
|
1026
1028
|
|
1027
1029
|
|
1028
|
-
|
1030
|
+
1331</pre>
|
1029
1031
|
</td>
|
1030
1032
|
<td>
|
1031
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1033
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1331</span>
|
1032
1034
|
|
1033
1035
|
<span class='kw'>def</span> <span class='id identifier rubyid_selected_item'>selected_item</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1034
1036
|
</td>
|
@@ -1040,11 +1042,12 @@ of the selection as the argument.</p>
|
|
1040
1042
|
|
1041
1043
|
</div>
|
1042
1044
|
|
1043
|
-
|
1044
|
-
Generated on
|
1045
|
+
<div id="footer">
|
1046
|
+
Generated on Sun Nov 27 15:52:20 2016 by
|
1045
1047
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1046
|
-
0.
|
1048
|
+
0.9.5 (ruby-2.3.3).
|
1047
1049
|
</div>
|
1048
1050
|
|
1051
|
+
</div>
|
1049
1052
|
</body>
|
1050
1053
|
</html>
|