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/MoveTo.html
ADDED
@@ -0,0 +1,257 @@
|
|
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::MoveTo
|
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::MoveTo";
|
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 (M)</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">MoveTo</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::MoveTo
|
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::MoveTo</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>(location, interval) ⇒ MoveTo </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 will move the position of the receiver to a new
|
147
|
+
given location.</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>(location, interval) ⇒ <tt><span class='object_link'><a href="" title="MG::MoveTo (class)">MoveTo</a></span></tt>
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
</h3><div class="docstring">
|
180
|
+
<div class="discussion">
|
181
|
+
|
182
|
+
<p>Creates an action that will move the position of the receiver to a new
|
183
|
+
given location.</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'>location</span>
|
195
|
+
|
196
|
+
|
197
|
+
<span class='type'>(<tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>)</span>
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
—
|
202
|
+
<div class='inline'>
|
203
|
+
<p>where the receiver should be moved to.</p>
|
204
|
+
</div>
|
205
|
+
|
206
|
+
</li>
|
207
|
+
|
208
|
+
<li>
|
209
|
+
|
210
|
+
<span class='name'>interval</span>
|
211
|
+
|
212
|
+
|
213
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
—
|
218
|
+
<div class='inline'>
|
219
|
+
<p>the animation interval.</p>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
</li>
|
223
|
+
|
224
|
+
</ul>
|
225
|
+
|
226
|
+
|
227
|
+
</div><table class="source_code">
|
228
|
+
<tr>
|
229
|
+
<td>
|
230
|
+
<pre class="lines">
|
231
|
+
|
232
|
+
|
233
|
+
49</pre>
|
234
|
+
</td>
|
235
|
+
<td>
|
236
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 49</span>
|
237
|
+
|
238
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_interval'>interval</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
239
|
+
</td>
|
240
|
+
</tr>
|
241
|
+
</table>
|
242
|
+
</div>
|
243
|
+
|
244
|
+
</div>
|
245
|
+
|
246
|
+
|
247
|
+
</div>
|
248
|
+
|
249
|
+
<div id="footer">
|
250
|
+
Generated on Sun Nov 27 15:52:18 2016 by
|
251
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
252
|
+
0.9.5 (ruby-2.3.3).
|
253
|
+
</div>
|
254
|
+
|
255
|
+
</div>
|
256
|
+
</body>
|
257
|
+
</html>
|
data/doc/MG/Node.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::Node
|
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::Node";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!MG/Node.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 (N)</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">Node</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::Node
|
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">
|
@@ -119,13 +121,13 @@ instantiate this class directly but use a subclass instead.</p>
|
|
119
121
|
|
120
122
|
|
121
123
|
|
122
|
-
<h2>Properties <small
|
124
|
+
<h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
123
125
|
<ul class="summary">
|
124
126
|
|
125
127
|
<li class="public ">
|
126
128
|
<span class="summary_signature">
|
127
129
|
|
128
|
-
<a href="#alpha-instance_method" title="#alpha (instance method)"
|
130
|
+
<a href="#alpha-instance_method" title="#alpha (instance method)">#<strong>alpha</strong> ⇒ Float </a>
|
129
131
|
|
130
132
|
|
131
133
|
|
@@ -153,7 +155,7 @@ to <code>1.0</code> range.</p>
|
|
153
155
|
<li class="public ">
|
154
156
|
<span class="summary_signature">
|
155
157
|
|
156
|
-
<a href="#anchor_point-instance_method" title="#anchor_point (instance method)"
|
158
|
+
<a href="#anchor_point-instance_method" title="#anchor_point (instance method)">#<strong>anchor_point</strong> ⇒ Point </a>
|
157
159
|
|
158
160
|
|
159
161
|
|
@@ -180,7 +182,7 @@ to <code>1.0</code> range.</p>
|
|
180
182
|
<li class="public ">
|
181
183
|
<span class="summary_signature">
|
182
184
|
|
183
|
-
<a href="#color-instance_method" title="#color (instance method)"
|
185
|
+
<a href="#color-instance_method" title="#color (instance method)">#<strong>color</strong> ⇒ Color </a>
|
184
186
|
|
185
187
|
|
186
188
|
|
@@ -207,7 +209,7 @@ to <code>1.0</code> range.</p>
|
|
207
209
|
<li class="public ">
|
208
210
|
<span class="summary_signature">
|
209
211
|
|
210
|
-
<a href="#name-instance_method" title="#name (instance method)"
|
212
|
+
<a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> ⇒ String </a>
|
211
213
|
|
212
214
|
|
213
215
|
|
@@ -234,7 +236,7 @@ to <code>1.0</code> range.</p>
|
|
234
236
|
<li class="public ">
|
235
237
|
<span class="summary_signature">
|
236
238
|
|
237
|
-
<a href="#position-instance_method" title="#position (instance method)"
|
239
|
+
<a href="#position-instance_method" title="#position (instance method)">#<strong>position</strong> ⇒ Point </a>
|
238
240
|
|
239
241
|
|
240
242
|
|
@@ -261,7 +263,7 @@ to <code>1.0</code> range.</p>
|
|
261
263
|
<li class="public ">
|
262
264
|
<span class="summary_signature">
|
263
265
|
|
264
|
-
<a href="#rotation-instance_method" title="#rotation (instance method)"
|
266
|
+
<a href="#rotation-instance_method" title="#rotation (instance method)">#<strong>rotation</strong> ⇒ Float </a>
|
265
267
|
|
266
268
|
|
267
269
|
|
@@ -288,7 +290,7 @@ to <code>1.0</code> range.</p>
|
|
288
290
|
<li class="public ">
|
289
291
|
<span class="summary_signature">
|
290
292
|
|
291
|
-
<a href="#scale-instance_method" title="#scale (instance method)"
|
293
|
+
<a href="#scale-instance_method" title="#scale (instance method)">#<strong>scale</strong> ⇒ Float </a>
|
292
294
|
|
293
295
|
|
294
296
|
|
@@ -316,7 +318,7 @@ and depth.</p>
|
|
316
318
|
<li class="public ">
|
317
319
|
<span class="summary_signature">
|
318
320
|
|
319
|
-
<a href="#size-instance_method" title="#size (instance method)"
|
321
|
+
<a href="#size-instance_method" title="#size (instance method)">#<strong>size</strong> ⇒ Size </a>
|
320
322
|
|
321
323
|
|
322
324
|
|
@@ -343,7 +345,7 @@ and depth.</p>
|
|
343
345
|
<li class="public ">
|
344
346
|
<span class="summary_signature">
|
345
347
|
|
346
|
-
<a href="#visible%3F-instance_method" title="#visible? (instance method)"
|
348
|
+
<a href="#visible%3F-instance_method" title="#visible? (instance method)">#<strong>visible?</strong> ⇒ Boolean </a>
|
347
349
|
|
348
350
|
|
349
351
|
|
@@ -370,7 +372,7 @@ and depth.</p>
|
|
370
372
|
<li class="public ">
|
371
373
|
<span class="summary_signature">
|
372
374
|
|
373
|
-
<a href="#z_index-instance_method" title="#z_index (instance method)"
|
375
|
+
<a href="#z_index-instance_method" title="#z_index (instance method)">#<strong>z_index</strong> ⇒ Integer </a>
|
374
376
|
|
375
377
|
|
376
378
|
|
@@ -403,7 +405,7 @@ determine its priority when rendering the scene.</p>
|
|
403
405
|
|
404
406
|
<h2>
|
405
407
|
Miscellaneous
|
406
|
-
<small
|
408
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
407
409
|
</h2>
|
408
410
|
|
409
411
|
<ul class="summary">
|
@@ -411,7 +413,7 @@ determine its priority when rendering the scene.</p>
|
|
411
413
|
<li class="public ">
|
412
414
|
<span class="summary_signature">
|
413
415
|
|
414
|
-
<a href="#intersects%3F-instance_method" title="#intersects? (instance method)"
|
416
|
+
<a href="#intersects%3F-instance_method" title="#intersects? (instance method)">#<strong>intersects?</strong>(node) ⇒ Boolean </a>
|
415
417
|
|
416
418
|
|
417
419
|
|
@@ -430,6 +432,78 @@ determine its priority when rendering the scene.</p>
|
|
430
432
|
node's bounding box.</p>
|
431
433
|
</div></span>
|
432
434
|
|
435
|
+
</li>
|
436
|
+
|
437
|
+
|
438
|
+
<li class="public ">
|
439
|
+
<span class="summary_signature">
|
440
|
+
|
441
|
+
<a href="#run_action-instance_method" title="#run_action (instance method)">#<strong>run_action</strong>(action) ⇒ Node </a>
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
</span>
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
<span class="summary_desc"><div class='inline'>
|
456
|
+
<p>Run the provided action on the receiver node.</p>
|
457
|
+
</div></span>
|
458
|
+
|
459
|
+
</li>
|
460
|
+
|
461
|
+
|
462
|
+
<li class="public ">
|
463
|
+
<span class="summary_signature">
|
464
|
+
|
465
|
+
<a href="#stop_action-instance_method" title="#stop_action (instance method)">#<strong>stop_action</strong>(action) ⇒ Node </a>
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
</span>
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
<span class="summary_desc"><div class='inline'>
|
480
|
+
<p>Stop the provided action.</p>
|
481
|
+
</div></span>
|
482
|
+
|
483
|
+
</li>
|
484
|
+
|
485
|
+
|
486
|
+
<li class="public ">
|
487
|
+
<span class="summary_signature">
|
488
|
+
|
489
|
+
<a href="#stop_all_actions-instance_method" title="#stop_all_actions (instance method)">#<strong>stop_all_actions</strong> ⇒ Node </a>
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
</span>
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
<span class="summary_desc"><div class='inline'>
|
504
|
+
<p>Stop all actions running on the node.</p>
|
505
|
+
</div></span>
|
506
|
+
|
433
507
|
</li>
|
434
508
|
|
435
509
|
|
@@ -437,7 +511,7 @@ node's bounding box.</p>
|
|
437
511
|
|
438
512
|
<h2>
|
439
513
|
Container
|
440
|
-
<small
|
514
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
441
515
|
</h2>
|
442
516
|
|
443
517
|
<ul class="summary">
|
@@ -445,7 +519,7 @@ node's bounding box.</p>
|
|
445
519
|
<li class="public ">
|
446
520
|
<span class="summary_signature">
|
447
521
|
|
448
|
-
<a href="#add-instance_method" title="#add (instance method)"
|
522
|
+
<a href="#add-instance_method" title="#add (instance method)">#<strong>add</strong>(node, zpos = 0) ⇒ Node </a>
|
449
523
|
|
450
524
|
|
451
525
|
|
@@ -469,7 +543,7 @@ node's bounding box.</p>
|
|
469
543
|
<li class="public ">
|
470
544
|
<span class="summary_signature">
|
471
545
|
|
472
|
-
<a href="#children-instance_method" title="#children (instance method)"
|
546
|
+
<a href="#children-instance_method" title="#children (instance method)">#<strong>children</strong> ⇒ Array<Node> </a>
|
473
547
|
|
474
548
|
|
475
549
|
|
@@ -493,7 +567,7 @@ node's bounding box.</p>
|
|
493
567
|
<li class="public ">
|
494
568
|
<span class="summary_signature">
|
495
569
|
|
496
|
-
<a href="#clear-instance_method" title="#clear (instance method)"
|
570
|
+
<a href="#clear-instance_method" title="#clear (instance method)">#<strong>clear</strong>(cleanup = true) ⇒ Node </a>
|
497
571
|
|
498
572
|
|
499
573
|
|
@@ -517,7 +591,7 @@ node's bounding box.</p>
|
|
517
591
|
<li class="public ">
|
518
592
|
<span class="summary_signature">
|
519
593
|
|
520
|
-
<a href="#delete-instance_method" title="#delete (instance method)"
|
594
|
+
<a href="#delete-instance_method" title="#delete (instance method)">#<strong>delete</strong>(node, cleanup = true) ⇒ Node </a>
|
521
595
|
|
522
596
|
|
523
597
|
|
@@ -541,7 +615,7 @@ node's bounding box.</p>
|
|
541
615
|
<li class="public ">
|
542
616
|
<span class="summary_signature">
|
543
617
|
|
544
|
-
<a href="#delete_from_parent-instance_method" title="#delete_from_parent (instance method)"
|
618
|
+
<a href="#delete_from_parent-instance_method" title="#delete_from_parent (instance method)">#<strong>delete_from_parent</strong>(cleanup = true) ⇒ Node </a>
|
545
619
|
|
546
620
|
|
547
621
|
|
@@ -565,7 +639,7 @@ node's bounding box.</p>
|
|
565
639
|
<li class="public ">
|
566
640
|
<span class="summary_signature">
|
567
641
|
|
568
|
-
<a href="#parent-instance_method" title="#parent (instance method)"
|
642
|
+
<a href="#parent-instance_method" title="#parent (instance method)">#<strong>parent</strong> ⇒ Node </a>
|
569
643
|
|
570
644
|
|
571
645
|
|
@@ -598,7 +672,7 @@ node's bounding box.</p>
|
|
598
672
|
<div class="method_details first">
|
599
673
|
<h3 class="signature first" id="alpha-instance_method">
|
600
674
|
|
601
|
-
|
675
|
+
#<strong>alpha</strong> ⇒ <tt>Float</tt>
|
602
676
|
|
603
677
|
|
604
678
|
|
@@ -641,12 +715,12 @@ to <code>1.0</code> range.</p>
|
|
641
715
|
<pre class="lines">
|
642
716
|
|
643
717
|
|
644
|
-
|
645
|
-
|
646
|
-
|
718
|
+
674
|
719
|
+
675
|
720
|
+
676</pre>
|
647
721
|
</td>
|
648
722
|
<td>
|
649
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
723
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 674</span>
|
650
724
|
|
651
725
|
<span class='kw'>def</span> <span class='id identifier rubyid_alpha'>alpha</span>
|
652
726
|
<span class='ivar'>@alpha</span>
|
@@ -661,7 +735,7 @@ to <code>1.0</code> range.</p>
|
|
661
735
|
<div class="method_details ">
|
662
736
|
<h3 class="signature " id="anchor_point-instance_method">
|
663
737
|
|
664
|
-
|
738
|
+
#<strong>anchor_point</strong> ⇒ <tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>
|
665
739
|
|
666
740
|
|
667
741
|
|
@@ -707,12 +781,12 @@ value is <tt>[0.5, 0.5]</tt>, which means the center of the parent.</p>
|
|
707
781
|
<pre class="lines">
|
708
782
|
|
709
783
|
|
710
|
-
|
711
|
-
|
712
|
-
|
784
|
+
659
|
785
|
+
660
|
786
|
+
661</pre>
|
713
787
|
</td>
|
714
788
|
<td>
|
715
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
789
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 659</span>
|
716
790
|
|
717
791
|
<span class='kw'>def</span> <span class='id identifier rubyid_anchor_point'>anchor_point</span>
|
718
792
|
<span class='ivar'>@anchor_point</span>
|
@@ -727,7 +801,7 @@ value is <tt>[0.5, 0.5]</tt>, which means the center of the parent.</p>
|
|
727
801
|
<div class="method_details ">
|
728
802
|
<h3 class="signature " id="color-instance_method">
|
729
803
|
|
730
|
-
|
804
|
+
#<strong>color</strong> ⇒ <tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>
|
731
805
|
|
732
806
|
|
733
807
|
|
@@ -768,12 +842,12 @@ value is <tt>[0.5, 0.5]</tt>, which means the center of the parent.</p>
|
|
768
842
|
<pre class="lines">
|
769
843
|
|
770
844
|
|
771
|
-
|
772
|
-
|
773
|
-
|
845
|
+
681
|
846
|
+
682
|
847
|
+
683</pre>
|
774
848
|
</td>
|
775
849
|
<td>
|
776
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
850
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 681</span>
|
777
851
|
|
778
852
|
<span class='kw'>def</span> <span class='id identifier rubyid_color'>color</span>
|
779
853
|
<span class='ivar'>@color</span>
|
@@ -788,7 +862,7 @@ value is <tt>[0.5, 0.5]</tt>, which means the center of the parent.</p>
|
|
788
862
|
<div class="method_details ">
|
789
863
|
<h3 class="signature " id="name-instance_method">
|
790
864
|
|
791
|
-
|
865
|
+
#<strong>name</strong> ⇒ <tt>String</tt>
|
792
866
|
|
793
867
|
|
794
868
|
|
@@ -829,12 +903,12 @@ value is <tt>[0.5, 0.5]</tt>, which means the center of the parent.</p>
|
|
829
903
|
<pre class="lines">
|
830
904
|
|
831
905
|
|
832
|
-
|
833
|
-
|
834
|
-
|
906
|
+
695
|
907
|
+
696
|
908
|
+
697</pre>
|
835
909
|
</td>
|
836
910
|
<td>
|
837
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
911
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 695</span>
|
838
912
|
|
839
913
|
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
840
914
|
<span class='ivar'>@name</span>
|
@@ -849,7 +923,7 @@ value is <tt>[0.5, 0.5]</tt>, which means the center of the parent.</p>
|
|
849
923
|
<div class="method_details ">
|
850
924
|
<h3 class="signature " id="position-instance_method">
|
851
925
|
|
852
|
-
|
926
|
+
#<strong>position</strong> ⇒ <tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>
|
853
927
|
|
854
928
|
|
855
929
|
|
@@ -891,12 +965,12 @@ system.</p>
|
|
891
965
|
<pre class="lines">
|
892
966
|
|
893
967
|
|
894
|
-
|
895
|
-
|
896
|
-
|
968
|
+
663
|
969
|
+
664
|
970
|
+
665</pre>
|
897
971
|
</td>
|
898
972
|
<td>
|
899
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
973
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 663</span>
|
900
974
|
|
901
975
|
<span class='kw'>def</span> <span class='id identifier rubyid_position'>position</span>
|
902
976
|
<span class='ivar'>@position</span>
|
@@ -911,7 +985,7 @@ system.</p>
|
|
911
985
|
<div class="method_details ">
|
912
986
|
<h3 class="signature " id="rotation-instance_method">
|
913
987
|
|
914
|
-
|
988
|
+
#<strong>rotation</strong> ⇒ <tt>Float</tt>
|
915
989
|
|
916
990
|
|
917
991
|
|
@@ -954,12 +1028,12 @@ anti-clockwise</p>
|
|
954
1028
|
<pre class="lines">
|
955
1029
|
|
956
1030
|
|
957
|
-
|
958
|
-
|
959
|
-
|
1031
|
+
687
|
1032
|
+
688
|
1033
|
+
689</pre>
|
960
1034
|
</td>
|
961
1035
|
<td>
|
962
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1036
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 687</span>
|
963
1037
|
|
964
1038
|
<span class='kw'>def</span> <span class='id identifier rubyid_rotation'>rotation</span>
|
965
1039
|
<span class='ivar'>@rotation</span>
|
@@ -974,7 +1048,7 @@ anti-clockwise</p>
|
|
974
1048
|
<div class="method_details ">
|
975
1049
|
<h3 class="signature " id="scale-instance_method">
|
976
1050
|
|
977
|
-
|
1051
|
+
#<strong>scale</strong> ⇒ <tt>Float</tt>
|
978
1052
|
|
979
1053
|
|
980
1054
|
|
@@ -1016,12 +1090,12 @@ and depth.</p>
|
|
1016
1090
|
<pre class="lines">
|
1017
1091
|
|
1018
1092
|
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1093
|
+
692
|
1094
|
+
693
|
1095
|
+
694</pre>
|
1022
1096
|
</td>
|
1023
1097
|
<td>
|
1024
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1098
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 692</span>
|
1025
1099
|
|
1026
1100
|
<span class='kw'>def</span> <span class='id identifier rubyid_scale'>scale</span>
|
1027
1101
|
<span class='ivar'>@scale</span>
|
@@ -1036,7 +1110,7 @@ and depth.</p>
|
|
1036
1110
|
<div class="method_details ">
|
1037
1111
|
<h3 class="signature " id="size-instance_method">
|
1038
1112
|
|
1039
|
-
|
1113
|
+
#<strong>size</strong> ⇒ <tt><span class='object_link'><a href="Size.html" title="MG::Size (class)">Size</a></span></tt>
|
1040
1114
|
|
1041
1115
|
|
1042
1116
|
|
@@ -1077,12 +1151,12 @@ and depth.</p>
|
|
1077
1151
|
<pre class="lines">
|
1078
1152
|
|
1079
1153
|
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1154
|
+
666
|
1155
|
+
667
|
1156
|
+
668</pre>
|
1083
1157
|
</td>
|
1084
1158
|
<td>
|
1085
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1159
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 666</span>
|
1086
1160
|
|
1087
1161
|
<span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span>
|
1088
1162
|
<span class='ivar'>@size</span>
|
@@ -1097,7 +1171,7 @@ and depth.</p>
|
|
1097
1171
|
<div class="method_details ">
|
1098
1172
|
<h3 class="signature " id="visible?-instance_method">
|
1099
1173
|
|
1100
|
-
|
1174
|
+
#<strong>visible?</strong> ⇒ <tt>Boolean</tt>
|
1101
1175
|
|
1102
1176
|
|
1103
1177
|
|
@@ -1138,12 +1212,12 @@ and depth.</p>
|
|
1138
1212
|
<pre class="lines">
|
1139
1213
|
|
1140
1214
|
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1215
|
+
670
|
1216
|
+
671
|
1217
|
+
672</pre>
|
1144
1218
|
</td>
|
1145
1219
|
<td>
|
1146
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1220
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 670</span>
|
1147
1221
|
|
1148
1222
|
def visible?
|
1149
1223
|
@visible?
|
@@ -1158,7 +1232,7 @@ end</pre>
|
|
1158
1232
|
<div class="method_details ">
|
1159
1233
|
<h3 class="signature " id="z_index-instance_method">
|
1160
1234
|
|
1161
|
-
|
1235
|
+
#<strong>z_index</strong> ⇒ <tt>Integer</tt>
|
1162
1236
|
|
1163
1237
|
|
1164
1238
|
|
@@ -1201,12 +1275,12 @@ determine its priority when rendering the scene.</p>
|
|
1201
1275
|
<pre class="lines">
|
1202
1276
|
|
1203
1277
|
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1278
|
+
678
|
1279
|
+
679
|
1280
|
+
680</pre>
|
1207
1281
|
</td>
|
1208
1282
|
<td>
|
1209
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1283
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 678</span>
|
1210
1284
|
|
1211
1285
|
<span class='kw'>def</span> <span class='id identifier rubyid_z_index'>z_index</span>
|
1212
1286
|
<span class='ivar'>@z_index</span>
|
@@ -1226,7 +1300,7 @@ determine its priority when rendering the scene.</p>
|
|
1226
1300
|
<div class="method_details first">
|
1227
1301
|
<h3 class="signature first" id="add-instance_method">
|
1228
1302
|
|
1229
|
-
|
1303
|
+
#<strong>add</strong>(node, zpos = 0) ⇒ <tt><span class='object_link'><a href="" title="MG::Node (class)">Node</a></span></tt>
|
1230
1304
|
|
1231
1305
|
|
1232
1306
|
|
@@ -1305,10 +1379,10 @@ determine its priority when rendering the scene.</p>
|
|
1305
1379
|
<pre class="lines">
|
1306
1380
|
|
1307
1381
|
|
1308
|
-
|
1382
|
+
725</pre>
|
1309
1383
|
</td>
|
1310
1384
|
<td>
|
1311
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1385
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 725</span>
|
1312
1386
|
|
1313
1387
|
<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='op'>=</span><span class='int'>0</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1314
1388
|
</td>
|
@@ -1319,7 +1393,7 @@ determine its priority when rendering the scene.</p>
|
|
1319
1393
|
<div class="method_details ">
|
1320
1394
|
<h3 class="signature " id="children-instance_method">
|
1321
1395
|
|
1322
|
-
|
1396
|
+
#<strong>children</strong> ⇒ <tt>Array<<span class='object_link'><a href="" title="MG::Node (class)">Node</a></span>></tt>
|
1323
1397
|
|
1324
1398
|
|
1325
1399
|
|
@@ -1361,10 +1435,10 @@ receiver.</p>
|
|
1361
1435
|
<pre class="lines">
|
1362
1436
|
|
1363
1437
|
|
1364
|
-
|
1438
|
+
744</pre>
|
1365
1439
|
</td>
|
1366
1440
|
<td>
|
1367
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1441
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 744</span>
|
1368
1442
|
|
1369
1443
|
<span class='kw'>def</span> <span class='id identifier rubyid_children'>children</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1370
1444
|
</td>
|
@@ -1375,7 +1449,7 @@ receiver.</p>
|
|
1375
1449
|
<div class="method_details ">
|
1376
1450
|
<h3 class="signature " id="clear-instance_method">
|
1377
1451
|
|
1378
|
-
|
1452
|
+
#<strong>clear</strong>(cleanup = true) ⇒ <tt><span class='object_link'><a href="" title="MG::Node (class)">Node</a></span></tt>
|
1379
1453
|
|
1380
1454
|
|
1381
1455
|
|
@@ -1438,10 +1512,10 @@ receiver.</p>
|
|
1438
1512
|
<pre class="lines">
|
1439
1513
|
|
1440
1514
|
|
1441
|
-
|
1515
|
+
731</pre>
|
1442
1516
|
</td>
|
1443
1517
|
<td>
|
1444
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1518
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 731</span>
|
1445
1519
|
|
1446
1520
|
<span class='kw'>def</span> <span class='id identifier rubyid_clear'>clear</span><span class='lparen'>(</span><span class='id identifier rubyid_cleanup'>cleanup</span><span class='op'>=</span><span class='kw'>true</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1447
1521
|
</td>
|
@@ -1452,7 +1526,7 @@ receiver.</p>
|
|
1452
1526
|
<div class="method_details ">
|
1453
1527
|
<h3 class="signature " id="delete-instance_method">
|
1454
1528
|
|
1455
|
-
|
1529
|
+
#<strong>delete</strong>(node, cleanup = true) ⇒ <tt><span class='object_link'><a href="" title="MG::Node (class)">Node</a></span></tt>
|
1456
1530
|
|
1457
1531
|
|
1458
1532
|
|
@@ -1515,10 +1589,10 @@ receiver.</p>
|
|
1515
1589
|
<pre class="lines">
|
1516
1590
|
|
1517
1591
|
|
1518
|
-
|
1592
|
+
737</pre>
|
1519
1593
|
</td>
|
1520
1594
|
<td>
|
1521
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1595
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 737</span>
|
1522
1596
|
|
1523
1597
|
<span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='comma'>,</span> <span class='id identifier rubyid_cleanup'>cleanup</span><span class='op'>=</span><span class='kw'>true</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1524
1598
|
</td>
|
@@ -1529,7 +1603,7 @@ receiver.</p>
|
|
1529
1603
|
<div class="method_details ">
|
1530
1604
|
<h3 class="signature " id="delete_from_parent-instance_method">
|
1531
1605
|
|
1532
|
-
|
1606
|
+
#<strong>delete_from_parent</strong>(cleanup = true) ⇒ <tt><span class='object_link'><a href="" title="MG::Node (class)">Node</a></span></tt>
|
1533
1607
|
|
1534
1608
|
|
1535
1609
|
|
@@ -1596,10 +1670,10 @@ parent.</p>
|
|
1596
1670
|
<pre class="lines">
|
1597
1671
|
|
1598
1672
|
|
1599
|
-
|
1673
|
+
752</pre>
|
1600
1674
|
</td>
|
1601
1675
|
<td>
|
1602
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1676
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 752</span>
|
1603
1677
|
|
1604
1678
|
<span class='kw'>def</span> <span class='id identifier rubyid_delete_from_parent'>delete_from_parent</span><span class='lparen'>(</span><span class='id identifier rubyid_cleanup'>cleanup</span><span class='op'>=</span><span class='kw'>true</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1605
1679
|
</td>
|
@@ -1610,7 +1684,7 @@ parent.</p>
|
|
1610
1684
|
<div class="method_details ">
|
1611
1685
|
<h3 class="signature " id="intersects?-instance_method">
|
1612
1686
|
|
1613
|
-
|
1687
|
+
#<strong>intersects?</strong>(node) ⇒ <tt>Boolean</tt>
|
1614
1688
|
|
1615
1689
|
|
1616
1690
|
|
@@ -1673,10 +1747,10 @@ node's bounding box.</p>
|
|
1673
1747
|
<pre class="lines">
|
1674
1748
|
|
1675
1749
|
|
1676
|
-
|
1750
|
+
716</pre>
|
1677
1751
|
</td>
|
1678
1752
|
<td>
|
1679
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1753
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 716</span>
|
1680
1754
|
|
1681
1755
|
<span class='kw'>def</span> <span class='id identifier rubyid_intersects?'>intersects?</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1682
1756
|
</td>
|
@@ -1687,7 +1761,7 @@ node's bounding box.</p>
|
|
1687
1761
|
<div class="method_details ">
|
1688
1762
|
<h3 class="signature " id="parent-instance_method">
|
1689
1763
|
|
1690
|
-
|
1764
|
+
#<strong>parent</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Node (class)">Node</a></span></tt>
|
1691
1765
|
|
1692
1766
|
|
1693
1767
|
|
@@ -1728,10 +1802,10 @@ node's bounding box.</p>
|
|
1728
1802
|
<pre class="lines">
|
1729
1803
|
|
1730
1804
|
|
1731
|
-
|
1805
|
+
740</pre>
|
1732
1806
|
</td>
|
1733
1807
|
<td>
|
1734
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
1808
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 740</span>
|
1735
1809
|
|
1736
1810
|
<span class='kw'>def</span> <span class='id identifier rubyid_parent'>parent</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1737
1811
|
</td>
|
@@ -1739,15 +1813,201 @@ node's bounding box.</p>
|
|
1739
1813
|
</table>
|
1740
1814
|
</div>
|
1741
1815
|
|
1816
|
+
<div class="method_details ">
|
1817
|
+
<h3 class="signature " id="run_action-instance_method">
|
1818
|
+
|
1819
|
+
#<strong>run_action</strong>(action) ⇒ <tt><span class='object_link'><a href="" title="MG::Node (class)">Node</a></span></tt>
|
1820
|
+
|
1821
|
+
|
1822
|
+
|
1823
|
+
|
1824
|
+
|
1825
|
+
</h3><div class="docstring">
|
1826
|
+
<div class="discussion">
|
1827
|
+
|
1828
|
+
<p>Run the provided action on the receiver node.</p>
|
1829
|
+
|
1830
|
+
|
1831
|
+
</div>
|
1832
|
+
</div>
|
1833
|
+
<div class="tags">
|
1834
|
+
|
1835
|
+
<p class="tag_title">Returns:</p>
|
1836
|
+
<ul class="return">
|
1837
|
+
|
1838
|
+
<li>
|
1839
|
+
|
1840
|
+
|
1841
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Node (class)">Node</a></span></tt>)</span>
|
1842
|
+
|
1843
|
+
|
1844
|
+
|
1845
|
+
—
|
1846
|
+
<div class='inline'>
|
1847
|
+
<p>the receiver.</p>
|
1848
|
+
</div>
|
1849
|
+
|
1850
|
+
</li>
|
1851
|
+
|
1852
|
+
</ul>
|
1853
|
+
|
1854
|
+
</div><table class="source_code">
|
1855
|
+
<tr>
|
1856
|
+
<td>
|
1857
|
+
<pre class="lines">
|
1858
|
+
|
1859
|
+
|
1860
|
+
702</pre>
|
1861
|
+
</td>
|
1862
|
+
<td>
|
1863
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 702</span>
|
1864
|
+
|
1865
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_run_action'>run_action</span><span class='lparen'>(</span><span class='id identifier rubyid_action'>action</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1866
|
+
</td>
|
1867
|
+
</tr>
|
1868
|
+
</table>
|
1869
|
+
</div>
|
1870
|
+
|
1871
|
+
<div class="method_details ">
|
1872
|
+
<h3 class="signature " id="stop_action-instance_method">
|
1873
|
+
|
1874
|
+
#<strong>stop_action</strong>(action) ⇒ <tt><span class='object_link'><a href="" title="MG::Node (class)">Node</a></span></tt>
|
1875
|
+
|
1876
|
+
|
1877
|
+
|
1878
|
+
|
1879
|
+
|
1880
|
+
</h3><div class="docstring">
|
1881
|
+
<div class="discussion">
|
1882
|
+
|
1883
|
+
<p>Stop the provided action</p>
|
1884
|
+
|
1885
|
+
|
1742
1886
|
</div>
|
1887
|
+
</div>
|
1888
|
+
<div class="tags">
|
1889
|
+
<p class="tag_title">Parameters:</p>
|
1890
|
+
<ul class="param">
|
1891
|
+
|
1892
|
+
<li>
|
1893
|
+
|
1894
|
+
<span class='name'>action</span>
|
1895
|
+
|
1896
|
+
|
1897
|
+
<span class='type'>(<tt><span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span></tt>)</span>
|
1898
|
+
|
1899
|
+
|
1900
|
+
|
1901
|
+
—
|
1902
|
+
<div class='inline'>
|
1903
|
+
<p>the action to stop.</p>
|
1904
|
+
</div>
|
1905
|
+
|
1906
|
+
</li>
|
1907
|
+
|
1908
|
+
</ul>
|
1743
1909
|
|
1910
|
+
<p class="tag_title">Returns:</p>
|
1911
|
+
<ul class="return">
|
1912
|
+
|
1913
|
+
<li>
|
1914
|
+
|
1915
|
+
|
1916
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Node (class)">Node</a></span></tt>)</span>
|
1917
|
+
|
1918
|
+
|
1919
|
+
|
1920
|
+
—
|
1921
|
+
<div class='inline'>
|
1922
|
+
<p>the receiver.</p>
|
1744
1923
|
</div>
|
1924
|
+
|
1925
|
+
</li>
|
1926
|
+
|
1927
|
+
</ul>
|
1928
|
+
|
1929
|
+
</div><table class="source_code">
|
1930
|
+
<tr>
|
1931
|
+
<td>
|
1932
|
+
<pre class="lines">
|
1933
|
+
|
1745
1934
|
|
1746
|
-
|
1747
|
-
|
1935
|
+
711</pre>
|
1936
|
+
</td>
|
1937
|
+
<td>
|
1938
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 711</span>
|
1939
|
+
|
1940
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_stop_action'>stop_action</span><span class='lparen'>(</span><span class='id identifier rubyid_action'>action</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1941
|
+
</td>
|
1942
|
+
</tr>
|
1943
|
+
</table>
|
1944
|
+
</div>
|
1945
|
+
|
1946
|
+
<div class="method_details ">
|
1947
|
+
<h3 class="signature " id="stop_all_actions-instance_method">
|
1948
|
+
|
1949
|
+
#<strong>stop_all_actions</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Node (class)">Node</a></span></tt>
|
1950
|
+
|
1951
|
+
|
1952
|
+
|
1953
|
+
|
1954
|
+
|
1955
|
+
</h3><div class="docstring">
|
1956
|
+
<div class="discussion">
|
1957
|
+
|
1958
|
+
<p>Stop all actions running on the node</p>
|
1959
|
+
|
1960
|
+
|
1961
|
+
</div>
|
1962
|
+
</div>
|
1963
|
+
<div class="tags">
|
1964
|
+
|
1965
|
+
<p class="tag_title">Returns:</p>
|
1966
|
+
<ul class="return">
|
1967
|
+
|
1968
|
+
<li>
|
1969
|
+
|
1970
|
+
|
1971
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Node (class)">Node</a></span></tt>)</span>
|
1972
|
+
|
1973
|
+
|
1974
|
+
|
1975
|
+
—
|
1976
|
+
<div class='inline'>
|
1977
|
+
<p>the receiver.</p>
|
1978
|
+
</div>
|
1979
|
+
|
1980
|
+
</li>
|
1981
|
+
|
1982
|
+
</ul>
|
1983
|
+
|
1984
|
+
</div><table class="source_code">
|
1985
|
+
<tr>
|
1986
|
+
<td>
|
1987
|
+
<pre class="lines">
|
1988
|
+
|
1989
|
+
|
1990
|
+
706</pre>
|
1991
|
+
</td>
|
1992
|
+
<td>
|
1993
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 706</span>
|
1994
|
+
|
1995
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_stop_all_actions'>stop_all_actions</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1996
|
+
</td>
|
1997
|
+
</tr>
|
1998
|
+
</table>
|
1999
|
+
</div>
|
2000
|
+
|
2001
|
+
</div>
|
2002
|
+
|
2003
|
+
</div>
|
2004
|
+
|
2005
|
+
<div id="footer">
|
2006
|
+
Generated on Sun Nov 27 15:52:19 2016 by
|
1748
2007
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1749
|
-
0.
|
2008
|
+
0.9.5 (ruby-2.3.3).
|
1750
2009
|
</div>
|
1751
2010
|
|
2011
|
+
</div>
|
1752
2012
|
</body>
|
1753
2013
|
</html>
|