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/Parallax.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::Parallax
|
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::Parallax";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!MG/Parallax.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 (P)</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">Parallax</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::Parallax
|
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="Node.html" title="MG::Node (class)">Node</a></span></span>
|
77
75
|
|
78
76
|
<ul class="fullTree">
|
@@ -85,21 +83,25 @@
|
|
85
83
|
</ul>
|
86
84
|
<a href="#" class="inheritanceTree">show all</a>
|
87
85
|
|
88
|
-
|
89
|
-
|
86
|
+
</dd>
|
87
|
+
</dl>
|
88
|
+
|
89
|
+
|
90
90
|
|
91
91
|
|
92
|
-
|
93
92
|
|
94
|
-
|
95
93
|
|
96
94
|
|
95
|
+
|
96
|
+
|
97
|
+
|
97
98
|
|
98
|
-
|
99
|
-
<
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>motion-game</dd>
|
102
|
+
</dl>
|
100
103
|
|
101
|
-
</
|
102
|
-
<div class="clear"></div>
|
104
|
+
</div>
|
103
105
|
|
104
106
|
|
105
107
|
|
@@ -116,7 +118,7 @@
|
|
116
118
|
|
117
119
|
<h2>
|
118
120
|
Container
|
119
|
-
<small
|
121
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
120
122
|
</h2>
|
121
123
|
|
122
124
|
<ul class="summary">
|
@@ -124,7 +126,7 @@
|
|
124
126
|
<li class="public ">
|
125
127
|
<span class="summary_signature">
|
126
128
|
|
127
|
-
<a href="#add-instance_method" title="#add (instance method)"
|
129
|
+
<a href="#add-instance_method" title="#add (instance method)">#<strong>add</strong>(node, zpos, parallax_ratio, position_offset) ⇒ Node </a>
|
128
130
|
|
129
131
|
|
130
132
|
|
@@ -159,7 +161,7 @@ view.</p>
|
|
159
161
|
|
160
162
|
|
161
163
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
162
|
-
<p class="inherited"><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>
|
164
|
+
<p class="inherited"><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>
|
163
165
|
|
164
166
|
|
165
167
|
<div id="instance_method_details" class="method_details_list">
|
@@ -169,7 +171,7 @@ view.</p>
|
|
169
171
|
<div class="method_details first">
|
170
172
|
<h3 class="signature first" id="add-instance_method">
|
171
173
|
|
172
|
-
|
174
|
+
#<strong>add</strong>(node, zpos, parallax_ratio, position_offset) ⇒ <tt><span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></tt>
|
173
175
|
|
174
176
|
|
175
177
|
|
@@ -269,10 +271,10 @@ view.</p>
|
|
269
271
|
<pre class="lines">
|
270
272
|
|
271
273
|
|
272
|
-
|
274
|
+
764</pre>
|
273
275
|
</td>
|
274
276
|
<td>
|
275
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
277
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 764</span>
|
276
278
|
|
277
279
|
<span class='kw'>def</span> <span class='id identifier rubyid_add'>add</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='comma'>,</span> <span class='id identifier rubyid_zpos'>zpos</span><span class='comma'>,</span> <span class='id identifier rubyid_parallax_ratio'>parallax_ratio</span><span class='comma'>,</span> <span class='id identifier rubyid_position_offset'>position_offset</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
278
280
|
</td>
|
@@ -284,11 +286,12 @@ view.</p>
|
|
284
286
|
|
285
287
|
</div>
|
286
288
|
|
287
|
-
|
288
|
-
Generated on
|
289
|
+
<div id="footer">
|
290
|
+
Generated on Sun Nov 27 15:52:19 2016 by
|
289
291
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
290
|
-
0.
|
292
|
+
0.9.5 (ruby-2.3.3).
|
291
293
|
</div>
|
292
294
|
|
295
|
+
</div>
|
293
296
|
</body>
|
294
297
|
</html>
|
data/doc/MG/Particle.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::Particle
|
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::Particle";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!MG/Particle.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 (P)</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">Particle</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::Particle
|
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="Node.html" title="MG::Node (class)">Node</a></span></span>
|
77
75
|
|
78
76
|
<ul class="fullTree">
|
@@ -85,33 +83,37 @@
|
|
85
83
|
</ul>
|
86
84
|
<a href="#" class="inheritanceTree">show all</a>
|
87
85
|
|
88
|
-
|
89
|
-
|
86
|
+
</dd>
|
87
|
+
</dl>
|
88
|
+
|
89
|
+
|
90
90
|
|
91
91
|
|
92
|
-
|
93
92
|
|
94
|
-
|
95
93
|
|
96
94
|
|
95
|
+
|
96
|
+
|
97
|
+
|
97
98
|
|
98
|
-
|
99
|
-
<
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>motion-game</dd>
|
102
|
+
</dl>
|
100
103
|
|
101
|
-
</
|
102
|
-
<div class="clear"></div>
|
104
|
+
</div>
|
103
105
|
|
104
106
|
|
105
107
|
|
106
108
|
|
107
109
|
|
108
|
-
<h2>Properties <small
|
110
|
+
<h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
109
111
|
<ul class="summary">
|
110
112
|
|
111
113
|
<li class="public ">
|
112
114
|
<span class="summary_signature">
|
113
115
|
|
114
|
-
<a href="#angle-instance_method" title="#angle (instance method)"
|
116
|
+
<a href="#angle-instance_method" title="#angle (instance method)">#<strong>angle</strong> ⇒ Float </a>
|
115
117
|
|
116
118
|
|
117
119
|
|
@@ -138,7 +140,7 @@
|
|
138
140
|
<li class="public ">
|
139
141
|
<span class="summary_signature">
|
140
142
|
|
141
|
-
<a href="#angle_range-instance_method" title="#angle_range (instance method)"
|
143
|
+
<a href="#angle_range-instance_method" title="#angle_range (instance method)">#<strong>angle_range</strong> ⇒ Float </a>
|
142
144
|
|
143
145
|
|
144
146
|
|
@@ -165,7 +167,7 @@
|
|
165
167
|
<li class="public ">
|
166
168
|
<span class="summary_signature">
|
167
169
|
|
168
|
-
<a href="#duration-instance_method" title="#duration (instance method)"
|
170
|
+
<a href="#duration-instance_method" title="#duration (instance method)">#<strong>duration</strong> ⇒ Float </a>
|
169
171
|
|
170
172
|
|
171
173
|
|
@@ -192,7 +194,7 @@
|
|
192
194
|
<li class="public ">
|
193
195
|
<span class="summary_signature">
|
194
196
|
|
195
|
-
<a href="#end_color-instance_method" title="#end_color (instance method)"
|
197
|
+
<a href="#end_color-instance_method" title="#end_color (instance method)">#<strong>end_color</strong> ⇒ Color </a>
|
196
198
|
|
197
199
|
|
198
200
|
|
@@ -219,7 +221,7 @@
|
|
219
221
|
<li class="public ">
|
220
222
|
<span class="summary_signature">
|
221
223
|
|
222
|
-
<a href="#life-instance_method" title="#life (instance method)"
|
224
|
+
<a href="#life-instance_method" title="#life (instance method)">#<strong>life</strong> ⇒ Float </a>
|
223
225
|
|
224
226
|
|
225
227
|
|
@@ -246,7 +248,7 @@
|
|
246
248
|
<li class="public ">
|
247
249
|
<span class="summary_signature">
|
248
250
|
|
249
|
-
<a href="#life_range-instance_method" title="#life_range (instance method)"
|
251
|
+
<a href="#life_range-instance_method" title="#life_range (instance method)">#<strong>life_range</strong> ⇒ Float </a>
|
250
252
|
|
251
253
|
|
252
254
|
|
@@ -273,7 +275,7 @@
|
|
273
275
|
<li class="public ">
|
274
276
|
<span class="summary_signature">
|
275
277
|
|
276
|
-
<a href="#particle_count-instance_method" title="#particle_count (instance method)"
|
278
|
+
<a href="#particle_count-instance_method" title="#particle_count (instance method)">#<strong>particle_count</strong> ⇒ Integer </a>
|
277
279
|
|
278
280
|
|
279
281
|
|
@@ -300,7 +302,7 @@
|
|
300
302
|
<li class="public ">
|
301
303
|
<span class="summary_signature">
|
302
304
|
|
303
|
-
<a href="#position_range-instance_method" title="#position_range (instance method)"
|
305
|
+
<a href="#position_range-instance_method" title="#position_range (instance method)">#<strong>position_range</strong> ⇒ Point </a>
|
304
306
|
|
305
307
|
|
306
308
|
|
@@ -327,7 +329,7 @@
|
|
327
329
|
<li class="public ">
|
328
330
|
<span class="summary_signature">
|
329
331
|
|
330
|
-
<a href="#speed-instance_method" title="#speed (instance method)"
|
332
|
+
<a href="#speed-instance_method" title="#speed (instance method)">#<strong>speed</strong> ⇒ Float </a>
|
331
333
|
|
332
334
|
|
333
335
|
|
@@ -354,7 +356,7 @@
|
|
354
356
|
<li class="public ">
|
355
357
|
<span class="summary_signature">
|
356
358
|
|
357
|
-
<a href="#start_color-instance_method" title="#start_color (instance method)"
|
359
|
+
<a href="#start_color-instance_method" title="#start_color (instance method)">#<strong>start_color</strong> ⇒ Color </a>
|
358
360
|
|
359
361
|
|
360
362
|
|
@@ -381,7 +383,7 @@
|
|
381
383
|
<li class="public ">
|
382
384
|
<span class="summary_signature">
|
383
385
|
|
384
|
-
<a href="#texture%3D-instance_method" title="#texture= (instance method)"
|
386
|
+
<a href="#texture%3D-instance_method" title="#texture= (instance method)">#<strong>texture</strong> ⇒ String </a>
|
385
387
|
|
386
388
|
|
387
389
|
|
@@ -420,7 +422,7 @@
|
|
420
422
|
|
421
423
|
<h2>
|
422
424
|
Constructors
|
423
|
-
<small
|
425
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
424
426
|
</h2>
|
425
427
|
|
426
428
|
<ul class="summary">
|
@@ -428,7 +430,7 @@
|
|
428
430
|
<li class="public ">
|
429
431
|
<span class="summary_signature">
|
430
432
|
|
431
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
433
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(file_name = nil) ⇒ Particle </a>
|
432
434
|
|
433
435
|
|
434
436
|
|
@@ -464,14 +466,14 @@
|
|
464
466
|
|
465
467
|
|
466
468
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
467
|
-
<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>
|
469
|
+
<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>
|
468
470
|
<div id="constructor_details" class="method_details_list">
|
469
471
|
<h2>Constructor Details</h2>
|
470
472
|
|
471
473
|
<div class="method_details first">
|
472
474
|
<h3 class="signature first" id="initialize-instance_method">
|
473
475
|
|
474
|
-
|
476
|
+
#<strong>initialize</strong>(file_name = nil) ⇒ <tt><span class='object_link'><a href="" title="MG::Particle (class)">Particle</a></span></tt>
|
475
477
|
|
476
478
|
|
477
479
|
|
@@ -519,10 +521,10 @@ Particle object will be created.</p>
|
|
519
521
|
<pre class="lines">
|
520
522
|
|
521
523
|
|
522
|
-
|
524
|
+
818</pre>
|
523
525
|
</td>
|
524
526
|
<td>
|
525
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
527
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 818</span>
|
526
528
|
|
527
529
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_file_name'>file_name</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
528
530
|
</td>
|
@@ -540,7 +542,7 @@ Particle object will be created.</p>
|
|
540
542
|
<div class="method_details first">
|
541
543
|
<h3 class="signature first" id="angle-instance_method">
|
542
544
|
|
543
|
-
|
545
|
+
#<strong>angle</strong> ⇒ <tt>Float</tt>
|
544
546
|
|
545
547
|
|
546
548
|
|
@@ -581,12 +583,12 @@ Particle object will be created.</p>
|
|
581
583
|
<pre class="lines">
|
582
584
|
|
583
585
|
|
584
|
-
|
585
|
-
|
586
|
-
|
586
|
+
836
|
587
|
+
837
|
588
|
+
838</pre>
|
587
589
|
</td>
|
588
590
|
<td>
|
589
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
591
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 836</span>
|
590
592
|
|
591
593
|
<span class='kw'>def</span> <span class='id identifier rubyid_angle'>angle</span>
|
592
594
|
<span class='ivar'>@angle</span>
|
@@ -601,7 +603,7 @@ Particle object will be created.</p>
|
|
601
603
|
<div class="method_details ">
|
602
604
|
<h3 class="signature " id="angle_range-instance_method">
|
603
605
|
|
604
|
-
|
606
|
+
#<strong>angle_range</strong> ⇒ <tt>Float</tt>
|
605
607
|
|
606
608
|
|
607
609
|
|
@@ -642,12 +644,12 @@ Particle object will be created.</p>
|
|
642
644
|
<pre class="lines">
|
643
645
|
|
644
646
|
|
645
|
-
|
646
|
-
|
647
|
-
|
647
|
+
839
|
648
|
+
840
|
649
|
+
841</pre>
|
648
650
|
</td>
|
649
651
|
<td>
|
650
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
652
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 839</span>
|
651
653
|
|
652
654
|
<span class='kw'>def</span> <span class='id identifier rubyid_angle_range'>angle_range</span>
|
653
655
|
<span class='ivar'>@angle_range</span>
|
@@ -662,7 +664,7 @@ Particle object will be created.</p>
|
|
662
664
|
<div class="method_details ">
|
663
665
|
<h3 class="signature " id="duration-instance_method">
|
664
666
|
|
665
|
-
|
667
|
+
#<strong>duration</strong> ⇒ <tt>Float</tt>
|
666
668
|
|
667
669
|
|
668
670
|
|
@@ -703,12 +705,12 @@ Particle object will be created.</p>
|
|
703
705
|
<pre class="lines">
|
704
706
|
|
705
707
|
|
706
|
-
|
707
|
-
|
708
|
-
|
708
|
+
842
|
709
|
+
843
|
710
|
+
844</pre>
|
709
711
|
</td>
|
710
712
|
<td>
|
711
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
713
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 842</span>
|
712
714
|
|
713
715
|
<span class='kw'>def</span> <span class='id identifier rubyid_duration'>duration</span>
|
714
716
|
<span class='ivar'>@duration</span>
|
@@ -723,7 +725,7 @@ Particle object will be created.</p>
|
|
723
725
|
<div class="method_details ">
|
724
726
|
<h3 class="signature " id="end_color-instance_method">
|
725
727
|
|
726
|
-
|
728
|
+
#<strong>end_color</strong> ⇒ <tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>
|
727
729
|
|
728
730
|
|
729
731
|
|
@@ -764,12 +766,12 @@ Particle object will be created.</p>
|
|
764
766
|
<pre class="lines">
|
765
767
|
|
766
768
|
|
767
|
-
|
768
|
-
|
769
|
-
|
769
|
+
854
|
770
|
+
855
|
771
|
+
856</pre>
|
770
772
|
</td>
|
771
773
|
<td>
|
772
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
774
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 854</span>
|
773
775
|
|
774
776
|
<span class='kw'>def</span> <span class='id identifier rubyid_end_color'>end_color</span>
|
775
777
|
<span class='ivar'>@end_color</span>
|
@@ -784,7 +786,7 @@ Particle object will be created.</p>
|
|
784
786
|
<div class="method_details ">
|
785
787
|
<h3 class="signature " id="life-instance_method">
|
786
788
|
|
787
|
-
|
789
|
+
#<strong>life</strong> ⇒ <tt>Float</tt>
|
788
790
|
|
789
791
|
|
790
792
|
|
@@ -825,12 +827,12 @@ Particle object will be created.</p>
|
|
825
827
|
<pre class="lines">
|
826
828
|
|
827
829
|
|
828
|
-
|
829
|
-
|
830
|
-
|
830
|
+
830
|
831
|
+
831
|
832
|
+
832</pre>
|
831
833
|
</td>
|
832
834
|
<td>
|
833
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
835
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 830</span>
|
834
836
|
|
835
837
|
<span class='kw'>def</span> <span class='id identifier rubyid_life'>life</span>
|
836
838
|
<span class='ivar'>@life</span>
|
@@ -845,7 +847,7 @@ Particle object will be created.</p>
|
|
845
847
|
<div class="method_details ">
|
846
848
|
<h3 class="signature " id="life_range-instance_method">
|
847
849
|
|
848
|
-
|
850
|
+
#<strong>life_range</strong> ⇒ <tt>Float</tt>
|
849
851
|
|
850
852
|
|
851
853
|
|
@@ -886,12 +888,12 @@ Particle object will be created.</p>
|
|
886
888
|
<pre class="lines">
|
887
889
|
|
888
890
|
|
889
|
-
|
890
|
-
|
891
|
-
|
891
|
+
833
|
892
|
+
834
|
893
|
+
835</pre>
|
892
894
|
</td>
|
893
895
|
<td>
|
894
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
896
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 833</span>
|
895
897
|
|
896
898
|
<span class='kw'>def</span> <span class='id identifier rubyid_life_range'>life_range</span>
|
897
899
|
<span class='ivar'>@life_range</span>
|
@@ -906,7 +908,7 @@ Particle object will be created.</p>
|
|
906
908
|
<div class="method_details ">
|
907
909
|
<h3 class="signature " id="particle_count-instance_method">
|
908
910
|
|
909
|
-
|
911
|
+
#<strong>particle_count</strong> ⇒ <tt>Integer</tt>
|
910
912
|
|
911
913
|
|
912
914
|
|
@@ -947,12 +949,12 @@ Particle object will be created.</p>
|
|
947
949
|
<pre class="lines">
|
948
950
|
|
949
951
|
|
950
|
-
|
951
|
-
|
952
|
-
|
952
|
+
848
|
953
|
+
849
|
954
|
+
850</pre>
|
953
955
|
</td>
|
954
956
|
<td>
|
955
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
957
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 848</span>
|
956
958
|
|
957
959
|
<span class='kw'>def</span> <span class='id identifier rubyid_particle_count'>particle_count</span>
|
958
960
|
<span class='ivar'>@particle_count</span>
|
@@ -967,7 +969,7 @@ Particle object will be created.</p>
|
|
967
969
|
<div class="method_details ">
|
968
970
|
<h3 class="signature " id="position_range-instance_method">
|
969
971
|
|
970
|
-
|
972
|
+
#<strong>position_range</strong> ⇒ <tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>
|
971
973
|
|
972
974
|
|
973
975
|
|
@@ -1008,12 +1010,12 @@ Particle object will be created.</p>
|
|
1008
1010
|
<pre class="lines">
|
1009
1011
|
|
1010
1012
|
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1013
|
+
845
|
1014
|
+
846
|
1015
|
+
847</pre>
|
1014
1016
|
</td>
|
1015
1017
|
<td>
|
1016
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1018
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 845</span>
|
1017
1019
|
|
1018
1020
|
<span class='kw'>def</span> <span class='id identifier rubyid_position_range'>position_range</span>
|
1019
1021
|
<span class='ivar'>@position_range</span>
|
@@ -1028,7 +1030,7 @@ Particle object will be created.</p>
|
|
1028
1030
|
<div class="method_details ">
|
1029
1031
|
<h3 class="signature " id="speed-instance_method">
|
1030
1032
|
|
1031
|
-
|
1033
|
+
#<strong>speed</strong> ⇒ <tt>Float</tt>
|
1032
1034
|
|
1033
1035
|
|
1034
1036
|
|
@@ -1069,12 +1071,12 @@ Particle object will be created.</p>
|
|
1069
1071
|
<pre class="lines">
|
1070
1072
|
|
1071
1073
|
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1074
|
+
827
|
1075
|
+
828
|
1076
|
+
829</pre>
|
1075
1077
|
</td>
|
1076
1078
|
<td>
|
1077
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1079
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 827</span>
|
1078
1080
|
|
1079
1081
|
<span class='kw'>def</span> <span class='id identifier rubyid_speed'>speed</span>
|
1080
1082
|
<span class='ivar'>@speed</span>
|
@@ -1089,7 +1091,7 @@ Particle object will be created.</p>
|
|
1089
1091
|
<div class="method_details ">
|
1090
1092
|
<h3 class="signature " id="start_color-instance_method">
|
1091
1093
|
|
1092
|
-
|
1094
|
+
#<strong>start_color</strong> ⇒ <tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>
|
1093
1095
|
|
1094
1096
|
|
1095
1097
|
|
@@ -1130,12 +1132,12 @@ Particle object will be created.</p>
|
|
1130
1132
|
<pre class="lines">
|
1131
1133
|
|
1132
1134
|
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1135
|
+
851
|
1136
|
+
852
|
1137
|
+
853</pre>
|
1136
1138
|
</td>
|
1137
1139
|
<td>
|
1138
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1140
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 851</span>
|
1139
1141
|
|
1140
1142
|
<span class='kw'>def</span> <span class='id identifier rubyid_start_color'>start_color</span>
|
1141
1143
|
<span class='ivar'>@start_color</span>
|
@@ -1150,7 +1152,7 @@ Particle object will be created.</p>
|
|
1150
1152
|
<div class="method_details ">
|
1151
1153
|
<h3 class="signature " id="texture=-instance_method">
|
1152
1154
|
|
1153
|
-
|
1155
|
+
#<strong>texture=</strong>(value) ⇒ <tt>String</tt> <span class="extras">(writeonly)</span>
|
1154
1156
|
|
1155
1157
|
|
1156
1158
|
|
@@ -1191,12 +1193,12 @@ Particle object will be created.</p>
|
|
1191
1193
|
<pre class="lines">
|
1192
1194
|
|
1193
1195
|
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1196
|
+
824
|
1197
|
+
825
|
1198
|
+
826</pre>
|
1197
1199
|
</td>
|
1198
1200
|
<td>
|
1199
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1201
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 824</span>
|
1200
1202
|
|
1201
1203
|
<span class='kw'>def</span> <span class='id identifier rubyid_texture='>texture=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
1202
1204
|
<span class='ivar'>@texture</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
|
@@ -1211,11 +1213,12 @@ Particle object will be created.</p>
|
|
1211
1213
|
|
1212
1214
|
</div>
|
1213
1215
|
|
1214
|
-
|
1215
|
-
Generated on
|
1216
|
+
<div id="footer">
|
1217
|
+
Generated on Sun Nov 27 15:52:19 2016 by
|
1216
1218
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1217
|
-
0.
|
1219
|
+
0.9.5 (ruby-2.3.3).
|
1218
1220
|
</div>
|
1219
1221
|
|
1222
|
+
</div>
|
1220
1223
|
</body>
|
1221
1224
|
</html>
|