motion-game 1.1.7 → 1.1.7.1
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/.yardopts +2 -0
- data/build/android/motion-cocos.jar +0 -0
- metadata +2 -66
- data/doc/MG.html +0 -131
- data/doc/MG/Action.html +0 -402
- data/doc/MG/Animate.html +0 -281
- data/doc/MG/Application.html +0 -335
- data/doc/MG/Audio.html +0 -1268
- data/doc/MG/Blink.html +0 -257
- data/doc/MG/Button.html +0 -725
- data/doc/MG/Color.html +0 -535
- data/doc/MG/DelayTime.html +0 -239
- data/doc/MG/Director.html +0 -1301
- data/doc/MG/Draw.html +0 -813
- data/doc/MG/Events.html +0 -129
- data/doc/MG/Events/Acceleration.html +0 -505
- data/doc/MG/Events/Touch.html +0 -235
- data/doc/MG/FadeIn.html +0 -240
- data/doc/MG/FadeOut.html +0 -240
- data/doc/MG/FadeTo.html +0 -256
- data/doc/MG/File.html +0 -219
- data/doc/MG/Follow.html +0 -241
- data/doc/MG/JumpBy.html +0 -292
- data/doc/MG/JumpTo.html +0 -287
- data/doc/MG/Layout.html +0 -516
- data/doc/MG/List.html +0 -1053
- data/doc/MG/Menu.html +0 -458
- data/doc/MG/MoveBy.html +0 -259
- data/doc/MG/MoveTo.html +0 -257
- data/doc/MG/Node.html +0 -2013
- data/doc/MG/Parallax.html +0 -297
- data/doc/MG/Particle.html +0 -1224
- data/doc/MG/Point.html +0 -543
- data/doc/MG/Repeat.html +0 -257
- data/doc/MG/RepeatForever.html +0 -239
- data/doc/MG/RotateBy.html +0 -259
- data/doc/MG/RotateTo.html +0 -257
- data/doc/MG/ScaleBy.html +0 -255
- data/doc/MG/ScaleTo.html +0 -255
- data/doc/MG/Scene.html +0 -1544
- data/doc/MG/Scroll.html +0 -533
- data/doc/MG/Sequence.html +0 -241
- data/doc/MG/Size.html +0 -741
- data/doc/MG/SkewBy.html +0 -273
- data/doc/MG/SkewTo.html +0 -273
- data/doc/MG/Slider.html +0 -338
- data/doc/MG/Spawn.html +0 -239
- data/doc/MG/Speed.html +0 -259
- data/doc/MG/Sprite.html +0 -2591
- data/doc/MG/Text.html +0 -921
- data/doc/MG/TintBy.html +0 -272
- data/doc/MG/TintTo.html +0 -274
- data/doc/MG/Web.html +0 -831
- data/doc/MG/Widget.html +0 -552
- data/doc/_index.html +0 -574
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -481
- data/doc/file.README.html +0 -192
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -192
- data/doc/js/app.js +0 -243
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1635
- data/doc/top-level-namespace.html +0 -112
data/doc/MG/Events.html
DELETED
@@ -1,129 +0,0 @@
|
|
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
|
-
Module: MG::Events
|
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::Events";
|
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 (E)</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">Events</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>Module: MG::Events
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
</h1>
|
69
|
-
<div class="box_info">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<dl>
|
82
|
-
<dt>Defined in:</dt>
|
83
|
-
<dd>motion-game</dd>
|
84
|
-
</dl>
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
<h2>Overview</h2><div class="docstring">
|
89
|
-
<div class="discussion">
|
90
|
-
|
91
|
-
<p>The MG::Events module contains classes that represent events received from
|
92
|
-
the game engine. You typically never instantiate these classes yourself.</p>
|
93
|
-
|
94
|
-
|
95
|
-
</div>
|
96
|
-
</div>
|
97
|
-
<div class="tags">
|
98
|
-
|
99
|
-
|
100
|
-
</div><h2>Defined Under Namespace</h2>
|
101
|
-
<p class="children">
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Events/Acceleration.html" title="MG::Events::Acceleration (class)">Acceleration</a></span>, <span class='object_link'><a href="Events/Touch.html" title="MG::Events::Touch (class)">Touch</a></span>
|
107
|
-
|
108
|
-
|
109
|
-
</p>
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
</div>
|
120
|
-
|
121
|
-
<div id="footer">
|
122
|
-
Generated on Sun Dec 11 16:38:29 2016 by
|
123
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
124
|
-
0.9.5 (ruby-2.3.3).
|
125
|
-
</div>
|
126
|
-
|
127
|
-
</div>
|
128
|
-
</body>
|
129
|
-
</html>
|
@@ -1,505 +0,0 @@
|
|
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::Events::Acceleration
|
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::Events::Acceleration";
|
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 (A)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../MG.html" title="MG (module)">MG</a></span></span> » <span class='title'><span class='object_link'><a href="../Events.html" title="MG::Events (module)">Events</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">Acceleration</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::Events::Acceleration
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
</h1>
|
69
|
-
<div class="box_info">
|
70
|
-
|
71
|
-
<dl>
|
72
|
-
<dt>Inherits:</dt>
|
73
|
-
<dd>
|
74
|
-
<span class="inheritName">Object</span>
|
75
|
-
|
76
|
-
<ul class="fullTree">
|
77
|
-
<li>Object</li>
|
78
|
-
|
79
|
-
<li class="next">MG::Events::Acceleration</li>
|
80
|
-
|
81
|
-
</ul>
|
82
|
-
<a href="#" class="inheritanceTree">show all</a>
|
83
|
-
|
84
|
-
</dd>
|
85
|
-
</dl>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
<dl>
|
98
|
-
<dt>Defined in:</dt>
|
99
|
-
<dd>motion-game</dd>
|
100
|
-
</dl>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
<h2>Overview</h2><div class="docstring">
|
105
|
-
<div class="discussion">
|
106
|
-
|
107
|
-
<p>This class represents an event received from the accelerometer sensor of
|
108
|
-
the device, usually from the <span class='object_link'><a href="../Scene.html#on_accelerate-instance_method" title="MG::Scene#on_accelerate (method)">Scene#on_accelerate</a></span> method.</p>
|
109
|
-
|
110
|
-
|
111
|
-
</div>
|
112
|
-
</div>
|
113
|
-
<div class="tags">
|
114
|
-
|
115
|
-
|
116
|
-
</div>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
<h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
121
|
-
<ul class="summary">
|
122
|
-
|
123
|
-
<li class="public ">
|
124
|
-
<span class="summary_signature">
|
125
|
-
|
126
|
-
<a href="#timestamp-instance_method" title="#timestamp (instance method)">#<strong>timestamp</strong> ⇒ Float </a>
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
</span>
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
<span class="note title readonly">readonly</span>
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
<span class="summary_desc"><div class='inline'>
|
146
|
-
<p>The timestamp of the acceleration event.</p>
|
147
|
-
</div></span>
|
148
|
-
|
149
|
-
</li>
|
150
|
-
|
151
|
-
|
152
|
-
<li class="public ">
|
153
|
-
<span class="summary_signature">
|
154
|
-
|
155
|
-
<a href="#x-instance_method" title="#x (instance method)">#<strong>x</strong> ⇒ Float </a>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
</span>
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
<span class="note title readonly">readonly</span>
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
<span class="summary_desc"><div class='inline'>
|
175
|
-
<p>The x coordinate of the acceleration event.</p>
|
176
|
-
</div></span>
|
177
|
-
|
178
|
-
</li>
|
179
|
-
|
180
|
-
|
181
|
-
<li class="public ">
|
182
|
-
<span class="summary_signature">
|
183
|
-
|
184
|
-
<a href="#y-instance_method" title="#y (instance method)">#<strong>y</strong> ⇒ Float </a>
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
</span>
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
<span class="note title readonly">readonly</span>
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
<span class="summary_desc"><div class='inline'>
|
204
|
-
<p>The y coordinate of the acceleration event.</p>
|
205
|
-
</div></span>
|
206
|
-
|
207
|
-
</li>
|
208
|
-
|
209
|
-
|
210
|
-
<li class="public ">
|
211
|
-
<span class="summary_signature">
|
212
|
-
|
213
|
-
<a href="#z-instance_method" title="#z (instance method)">#<strong>z</strong> ⇒ Float </a>
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
</span>
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
<span class="note title readonly">readonly</span>
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
<span class="summary_desc"><div class='inline'>
|
233
|
-
<p>The z coordinate of the acceleration event.</p>
|
234
|
-
</div></span>
|
235
|
-
|
236
|
-
</li>
|
237
|
-
|
238
|
-
|
239
|
-
</ul>
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
<div id="instance_attr_details" class="attr_details">
|
246
|
-
<h2>Instance Attribute Details</h2>
|
247
|
-
|
248
|
-
|
249
|
-
<span id=""></span>
|
250
|
-
<div class="method_details first">
|
251
|
-
<h3 class="signature first" id="timestamp-instance_method">
|
252
|
-
|
253
|
-
#<strong>timestamp</strong> ⇒ <tt>Float</tt> <span class="extras">(readonly)</span>
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
</h3><div class="docstring">
|
260
|
-
<div class="discussion">
|
261
|
-
|
262
|
-
<p>Returns the timestamp of the acceleration event.</p>
|
263
|
-
|
264
|
-
|
265
|
-
</div>
|
266
|
-
</div>
|
267
|
-
<div class="tags">
|
268
|
-
|
269
|
-
<p class="tag_title">Returns:</p>
|
270
|
-
<ul class="return">
|
271
|
-
|
272
|
-
<li>
|
273
|
-
|
274
|
-
|
275
|
-
<span class='type'>(<tt>Float</tt>)</span>
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
—
|
280
|
-
<div class='inline'>
|
281
|
-
<p>the timestamp of the acceleration event.</p>
|
282
|
-
</div>
|
283
|
-
|
284
|
-
</li>
|
285
|
-
|
286
|
-
</ul>
|
287
|
-
|
288
|
-
</div><table class="source_code">
|
289
|
-
<tr>
|
290
|
-
<td>
|
291
|
-
<pre class="lines">
|
292
|
-
|
293
|
-
|
294
|
-
517
|
295
|
-
518
|
296
|
-
519</pre>
|
297
|
-
</td>
|
298
|
-
<td>
|
299
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 517</span>
|
300
|
-
|
301
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_timestamp'>timestamp</span>
|
302
|
-
<span class='ivar'>@timestamp</span>
|
303
|
-
<span class='kw'>end</span></pre>
|
304
|
-
</td>
|
305
|
-
</tr>
|
306
|
-
</table>
|
307
|
-
</div>
|
308
|
-
|
309
|
-
|
310
|
-
<span id=""></span>
|
311
|
-
<div class="method_details ">
|
312
|
-
<h3 class="signature " id="x-instance_method">
|
313
|
-
|
314
|
-
#<strong>x</strong> ⇒ <tt>Float</tt> <span class="extras">(readonly)</span>
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
</h3><div class="docstring">
|
321
|
-
<div class="discussion">
|
322
|
-
|
323
|
-
<p>Returns the x coordinate of the acceleration event.</p>
|
324
|
-
|
325
|
-
|
326
|
-
</div>
|
327
|
-
</div>
|
328
|
-
<div class="tags">
|
329
|
-
|
330
|
-
<p class="tag_title">Returns:</p>
|
331
|
-
<ul class="return">
|
332
|
-
|
333
|
-
<li>
|
334
|
-
|
335
|
-
|
336
|
-
<span class='type'>(<tt>Float</tt>)</span>
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
—
|
341
|
-
<div class='inline'>
|
342
|
-
<p>the x coordinate of the acceleration event.</p>
|
343
|
-
</div>
|
344
|
-
|
345
|
-
</li>
|
346
|
-
|
347
|
-
</ul>
|
348
|
-
|
349
|
-
</div><table class="source_code">
|
350
|
-
<tr>
|
351
|
-
<td>
|
352
|
-
<pre class="lines">
|
353
|
-
|
354
|
-
|
355
|
-
508
|
356
|
-
509
|
357
|
-
510</pre>
|
358
|
-
</td>
|
359
|
-
<td>
|
360
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 508</span>
|
361
|
-
|
362
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_x'>x</span>
|
363
|
-
<span class='ivar'>@x</span>
|
364
|
-
<span class='kw'>end</span></pre>
|
365
|
-
</td>
|
366
|
-
</tr>
|
367
|
-
</table>
|
368
|
-
</div>
|
369
|
-
|
370
|
-
|
371
|
-
<span id=""></span>
|
372
|
-
<div class="method_details ">
|
373
|
-
<h3 class="signature " id="y-instance_method">
|
374
|
-
|
375
|
-
#<strong>y</strong> ⇒ <tt>Float</tt> <span class="extras">(readonly)</span>
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
</h3><div class="docstring">
|
382
|
-
<div class="discussion">
|
383
|
-
|
384
|
-
<p>Returns the y coordinate of the acceleration event.</p>
|
385
|
-
|
386
|
-
|
387
|
-
</div>
|
388
|
-
</div>
|
389
|
-
<div class="tags">
|
390
|
-
|
391
|
-
<p class="tag_title">Returns:</p>
|
392
|
-
<ul class="return">
|
393
|
-
|
394
|
-
<li>
|
395
|
-
|
396
|
-
|
397
|
-
<span class='type'>(<tt>Float</tt>)</span>
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
—
|
402
|
-
<div class='inline'>
|
403
|
-
<p>the y coordinate of the acceleration event.</p>
|
404
|
-
</div>
|
405
|
-
|
406
|
-
</li>
|
407
|
-
|
408
|
-
</ul>
|
409
|
-
|
410
|
-
</div><table class="source_code">
|
411
|
-
<tr>
|
412
|
-
<td>
|
413
|
-
<pre class="lines">
|
414
|
-
|
415
|
-
|
416
|
-
511
|
417
|
-
512
|
418
|
-
513</pre>
|
419
|
-
</td>
|
420
|
-
<td>
|
421
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 511</span>
|
422
|
-
|
423
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_y'>y</span>
|
424
|
-
<span class='ivar'>@y</span>
|
425
|
-
<span class='kw'>end</span></pre>
|
426
|
-
</td>
|
427
|
-
</tr>
|
428
|
-
</table>
|
429
|
-
</div>
|
430
|
-
|
431
|
-
|
432
|
-
<span id=""></span>
|
433
|
-
<div class="method_details ">
|
434
|
-
<h3 class="signature " id="z-instance_method">
|
435
|
-
|
436
|
-
#<strong>z</strong> ⇒ <tt>Float</tt> <span class="extras">(readonly)</span>
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
</h3><div class="docstring">
|
443
|
-
<div class="discussion">
|
444
|
-
|
445
|
-
<p>Returns the z coordinate of the acceleration event.</p>
|
446
|
-
|
447
|
-
|
448
|
-
</div>
|
449
|
-
</div>
|
450
|
-
<div class="tags">
|
451
|
-
|
452
|
-
<p class="tag_title">Returns:</p>
|
453
|
-
<ul class="return">
|
454
|
-
|
455
|
-
<li>
|
456
|
-
|
457
|
-
|
458
|
-
<span class='type'>(<tt>Float</tt>)</span>
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
—
|
463
|
-
<div class='inline'>
|
464
|
-
<p>the z coordinate of the acceleration event.</p>
|
465
|
-
</div>
|
466
|
-
|
467
|
-
</li>
|
468
|
-
|
469
|
-
</ul>
|
470
|
-
|
471
|
-
</div><table class="source_code">
|
472
|
-
<tr>
|
473
|
-
<td>
|
474
|
-
<pre class="lines">
|
475
|
-
|
476
|
-
|
477
|
-
514
|
478
|
-
515
|
479
|
-
516</pre>
|
480
|
-
</td>
|
481
|
-
<td>
|
482
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 514</span>
|
483
|
-
|
484
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_z'>z</span>
|
485
|
-
<span class='ivar'>@z</span>
|
486
|
-
<span class='kw'>end</span></pre>
|
487
|
-
</td>
|
488
|
-
</tr>
|
489
|
-
</table>
|
490
|
-
</div>
|
491
|
-
|
492
|
-
</div>
|
493
|
-
|
494
|
-
|
495
|
-
</div>
|
496
|
-
|
497
|
-
<div id="footer">
|
498
|
-
Generated on Sun Dec 11 16:38:29 2016 by
|
499
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
500
|
-
0.9.5 (ruby-2.3.3).
|
501
|
-
</div>
|
502
|
-
|
503
|
-
</div>
|
504
|
-
</body>
|
505
|
-
</html>
|