motion-game 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/build/android/armeabi/libchipmunk.a +0 -0
- data/build/android/armeabi/libcrypto.a +0 -0
- data/build/android/armeabi/libcurl.a +0 -0
- data/build/android/armeabi/libfreetype.a +0 -0
- data/build/android/armeabi/libjpeg.a +0 -0
- data/build/android/armeabi/libmotion-cocos.a +0 -0
- data/build/android/armeabi/libpng.a +0 -0
- data/build/android/armeabi/libssl.a +0 -0
- data/build/android/armeabi/libtiff.a +0 -0
- data/build/android/armeabi/libwebp.a +0 -0
- data/build/android/armeabi/libwebsockets.a +0 -0
- data/build/android/motion-cocos.jar +0 -0
- data/build/android/x86/libchipmunk.a +0 -0
- data/build/android/x86/libcrypto.a +0 -0
- data/build/android/x86/libcurl.a +0 -0
- data/build/android/x86/libfreetype.a +0 -0
- data/build/android/x86/libjpeg.a +0 -0
- data/build/android/x86/libmotion-cocos.a +0 -0
- data/build/android/x86/libpng.a +0 -0
- data/build/android/x86/libssl.a +0 -0
- data/build/android/x86/libtiff.a +0 -0
- data/build/android/x86/libwebp.a +0 -0
- data/build/android/x86/libwebsockets.a +0 -0
- data/build/ios/libchipmunk.a +0 -0
- data/build/ios/libcurl.a +0 -0
- data/build/ios/libfreetype.a +0 -0
- data/build/ios/libjpeg.a +0 -0
- data/build/ios/libmotion-cocos.a +0 -0
- data/build/ios/libpng.a +0 -0
- data/build/ios/libtiff.a +0 -0
- data/build/ios/libwebp.a +0 -0
- data/build/ios/libwebsockets.a +0 -0
- data/doc/MG.html +129 -0
- data/doc/MG/Application.html +332 -0
- data/doc/MG/Audio.html +1049 -0
- data/doc/MG/Button.html +722 -0
- data/doc/MG/Color.html +528 -0
- data/doc/MG/Director.html +1140 -0
- data/doc/MG/Draw.html +437 -0
- data/doc/MG/Events.html +127 -0
- data/doc/MG/Events/Acceleration.html +502 -0
- data/doc/MG/Events/Touch.html +232 -0
- data/doc/MG/Layout.html +513 -0
- data/doc/MG/List.html +1050 -0
- data/doc/MG/Node.html +1752 -0
- data/doc/MG/Parallax.html +294 -0
- data/doc/MG/Particle.html +1221 -0
- data/doc/MG/Point.html +540 -0
- data/doc/MG/Scene.html +1250 -0
- data/doc/MG/Scroll.html +530 -0
- data/doc/MG/Size.html +737 -0
- data/doc/MG/Slider.html +335 -0
- data/doc/MG/Sprite.html +2066 -0
- data/doc/MG/Text.html +918 -0
- data/doc/MG/Web.html +828 -0
- data/doc/MG/Widget.html +460 -0
- data/doc/_index.html +362 -0
- data/doc/class_list.html +58 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +114 -0
- data/doc/file_list.html +60 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +114 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +181 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +933 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/motion-game.rb +1 -0
- data/lib/motion-game/android.rb +23 -0
- data/lib/motion-game/android/main_activity.rb +2 -0
- data/lib/motion-game/ios.rb +14 -0
- data/lib/motion-game/ios/app_delegate.rb +20 -0
- data/lib/motion-game/ios/root_view_controller.rb +14 -0
- data/lib/motion-game/project.rb +1 -0
- data/lib/motion-game/shortcuts.rb +177 -0
- data/template/motion-game/files/Gemfile +5 -0
- data/template/motion-game/files/Rakefile +12 -0
- data/template/motion-game/files/app/application.rb +5 -0
- data/template/motion-game/files/app/main_scene.rb +7 -0
- data/template/motion-game/files/config/android.rb.erb +6 -0
- data/template/motion-game/files/config/ios.rb.erb +6 -0
- metadata +130 -0
data/doc/MG/Draw.html
ADDED
@@ -0,0 +1,437 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Class: MG::Draw
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.6
|
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
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '../';
|
20
|
+
framesUrl = "../frames.html#!MG/Draw.html";
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="../_index.html">Index (D)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">Draw</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="../class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="../method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="../file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Class: MG::Draw
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
<dt class="r1">Inherits:</dt>
|
75
|
+
<dd class="r1">
|
76
|
+
<span class="inheritName"><span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next"><span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></li>
|
82
|
+
|
83
|
+
<li class="next">MG::Draw</li>
|
84
|
+
|
85
|
+
</ul>
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
87
|
+
|
88
|
+
</dd>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
99
|
+
<dd class="r2 last">motion-game</dd>
|
100
|
+
|
101
|
+
</dl>
|
102
|
+
<div class="clear"></div>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<h2>Instance Attribute Summary</h2>
|
111
|
+
|
112
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
113
|
+
<p class="inherited"><span class='object_link'><a href="Node.html#alpha-instance_method" title="MG::Node#alpha (method)">#alpha</a></span>, <span class='object_link'><a href="Node.html#anchor_point-instance_method" title="MG::Node#anchor_point (method)">#anchor_point</a></span>, <span class='object_link'><a href="Node.html#color-instance_method" title="MG::Node#color (method)">#color</a></span>, <span class='object_link'><a href="Node.html#name-instance_method" title="MG::Node#name (method)">#name</a></span>, <span class='object_link'><a href="Node.html#position-instance_method" title="MG::Node#position (method)">#position</a></span>, <span class='object_link'><a href="Node.html#rotation-instance_method" title="MG::Node#rotation (method)">#rotation</a></span>, <span class='object_link'><a href="Node.html#scale-instance_method" title="MG::Node#scale (method)">#scale</a></span>, <span class='object_link'><a href="Node.html#size-instance_method" title="MG::Node#size (method)">#size</a></span>, <span class='object_link'><a href="Node.html#visible%3F-instance_method" title="MG::Node#visible? (method)">#visible?</a></span>, <span class='object_link'><a href="Node.html#z_index-instance_method" title="MG::Node#z_index (method)">#z_index</a></span></p>
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
<h2>
|
118
|
+
Draw Operations
|
119
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
120
|
+
</h2>
|
121
|
+
|
122
|
+
<ul class="summary">
|
123
|
+
|
124
|
+
<li class="public ">
|
125
|
+
<span class="summary_signature">
|
126
|
+
|
127
|
+
<a href="#dot-instance_method" title="#dot (instance method)">- (Draw) <strong>dot</strong>(pos, radius, color) </a>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
</span>
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
<span class="summary_desc"><div class='inline'>
|
142
|
+
<p>Draws a filled circle at the given position with the given radius and
|
143
|
+
color.</p>
|
144
|
+
</div></span>
|
145
|
+
|
146
|
+
</li>
|
147
|
+
|
148
|
+
|
149
|
+
<li class="public ">
|
150
|
+
<span class="summary_signature">
|
151
|
+
|
152
|
+
<a href="#rect-instance_method" title="#rect (instance method)">- (Draw) <strong>rect</strong>(origin, destination, color, fill = false) </a>
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
</span>
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
<span class="summary_desc"><div class='inline'>
|
167
|
+
<p>Draws a rectangle at the given position with the given color.</p>
|
168
|
+
</div></span>
|
169
|
+
|
170
|
+
</li>
|
171
|
+
|
172
|
+
|
173
|
+
</ul>
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
186
|
+
<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>
|
187
|
+
|
188
|
+
|
189
|
+
<div id="instance_method_details" class="method_details_list">
|
190
|
+
<h2>Instance Method Details</h2>
|
191
|
+
|
192
|
+
|
193
|
+
<div class="method_details first">
|
194
|
+
<h3 class="signature first" id="dot-instance_method">
|
195
|
+
|
196
|
+
- (<tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>) <strong>dot</strong>(pos, radius, color)
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
</h3><div class="docstring">
|
203
|
+
<div class="discussion">
|
204
|
+
|
205
|
+
<p>Draws a filled circle at the given position with the given radius and
|
206
|
+
color.</p>
|
207
|
+
|
208
|
+
|
209
|
+
</div>
|
210
|
+
</div>
|
211
|
+
<div class="tags">
|
212
|
+
<p class="tag_title">Parameters:</p>
|
213
|
+
<ul class="param">
|
214
|
+
|
215
|
+
<li>
|
216
|
+
|
217
|
+
<span class='name'>pos</span>
|
218
|
+
|
219
|
+
|
220
|
+
<span class='type'>(<tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>)</span>
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
—
|
225
|
+
<div class='inline'>
|
226
|
+
<p>the position where to draw.</p>
|
227
|
+
</div>
|
228
|
+
|
229
|
+
</li>
|
230
|
+
|
231
|
+
<li>
|
232
|
+
|
233
|
+
<span class='name'>radius</span>
|
234
|
+
|
235
|
+
|
236
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
—
|
241
|
+
<div class='inline'>
|
242
|
+
<p>the radius of the circle to draw.</p>
|
243
|
+
</div>
|
244
|
+
|
245
|
+
</li>
|
246
|
+
|
247
|
+
<li>
|
248
|
+
|
249
|
+
<span class='name'>color</span>
|
250
|
+
|
251
|
+
|
252
|
+
<span class='type'>(<tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>)</span>
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
—
|
257
|
+
<div class='inline'>
|
258
|
+
<p>the color to use to fill the circle.</p>
|
259
|
+
</div>
|
260
|
+
|
261
|
+
</li>
|
262
|
+
|
263
|
+
</ul>
|
264
|
+
|
265
|
+
<p class="tag_title">Returns:</p>
|
266
|
+
<ul class="return">
|
267
|
+
|
268
|
+
<li>
|
269
|
+
|
270
|
+
|
271
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>)</span>
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
—
|
276
|
+
<div class='inline'>
|
277
|
+
<p>the receiver.</p>
|
278
|
+
</div>
|
279
|
+
|
280
|
+
</li>
|
281
|
+
|
282
|
+
</ul>
|
283
|
+
|
284
|
+
</div><table class="source_code">
|
285
|
+
<tr>
|
286
|
+
<td>
|
287
|
+
<pre class="lines">
|
288
|
+
|
289
|
+
|
290
|
+
371</pre>
|
291
|
+
</td>
|
292
|
+
<td>
|
293
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 371</span>
|
294
|
+
|
295
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_dot'>dot</span><span class='lparen'>(</span><span class='id identifier rubyid_pos'>pos</span><span class='comma'>,</span> <span class='id identifier rubyid_radius'>radius</span><span class='comma'>,</span> <span class='id identifier rubyid_color'>color</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
296
|
+
</td>
|
297
|
+
</tr>
|
298
|
+
</table>
|
299
|
+
</div>
|
300
|
+
|
301
|
+
<div class="method_details ">
|
302
|
+
<h3 class="signature " id="rect-instance_method">
|
303
|
+
|
304
|
+
- (<tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>) <strong>rect</strong>(origin, destination, color, fill = false)
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
</h3><div class="docstring">
|
311
|
+
<div class="discussion">
|
312
|
+
|
313
|
+
<p>Draws a rectangle at the given position with the given color.</p>
|
314
|
+
|
315
|
+
|
316
|
+
</div>
|
317
|
+
</div>
|
318
|
+
<div class="tags">
|
319
|
+
<p class="tag_title">Parameters:</p>
|
320
|
+
<ul class="param">
|
321
|
+
|
322
|
+
<li>
|
323
|
+
|
324
|
+
<span class='name'>origin</span>
|
325
|
+
|
326
|
+
|
327
|
+
<span class='type'>(<tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>)</span>
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
—
|
332
|
+
<div class='inline'>
|
333
|
+
<p>the position where to start drawing (lower-left).</p>
|
334
|
+
</div>
|
335
|
+
|
336
|
+
</li>
|
337
|
+
|
338
|
+
<li>
|
339
|
+
|
340
|
+
<span class='name'>destination</span>
|
341
|
+
|
342
|
+
|
343
|
+
<span class='type'>(<tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>)</span>
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
—
|
348
|
+
<div class='inline'>
|
349
|
+
<p>the position where to end drawing (higher-right).</p>
|
350
|
+
</div>
|
351
|
+
|
352
|
+
</li>
|
353
|
+
|
354
|
+
<li>
|
355
|
+
|
356
|
+
<span class='name'>color</span>
|
357
|
+
|
358
|
+
|
359
|
+
<span class='type'>(<tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>)</span>
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
—
|
364
|
+
<div class='inline'>
|
365
|
+
<p>the color to use to draw.</p>
|
366
|
+
</div>
|
367
|
+
|
368
|
+
</li>
|
369
|
+
|
370
|
+
<li>
|
371
|
+
|
372
|
+
<span class='name'>fill</span>
|
373
|
+
|
374
|
+
|
375
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
376
|
+
|
377
|
+
|
378
|
+
<em class="default">(defaults to: <tt>false</tt>)</em>
|
379
|
+
|
380
|
+
|
381
|
+
—
|
382
|
+
<div class='inline'>
|
383
|
+
<p>whether the rectangle should be filled up.</p>
|
384
|
+
</div>
|
385
|
+
|
386
|
+
</li>
|
387
|
+
|
388
|
+
</ul>
|
389
|
+
|
390
|
+
<p class="tag_title">Returns:</p>
|
391
|
+
<ul class="return">
|
392
|
+
|
393
|
+
<li>
|
394
|
+
|
395
|
+
|
396
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>)</span>
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
—
|
401
|
+
<div class='inline'>
|
402
|
+
<p>the receiver.</p>
|
403
|
+
</div>
|
404
|
+
|
405
|
+
</li>
|
406
|
+
|
407
|
+
</ul>
|
408
|
+
|
409
|
+
</div><table class="source_code">
|
410
|
+
<tr>
|
411
|
+
<td>
|
412
|
+
<pre class="lines">
|
413
|
+
|
414
|
+
|
415
|
+
379</pre>
|
416
|
+
</td>
|
417
|
+
<td>
|
418
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 379</span>
|
419
|
+
|
420
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_rect'>rect</span><span class='lparen'>(</span><span class='id identifier rubyid_origin'>origin</span><span class='comma'>,</span> <span class='id identifier rubyid_destination'>destination</span><span class='comma'>,</span> <span class='id identifier rubyid_color'>color</span><span class='comma'>,</span> <span class='id identifier rubyid_fill'>fill</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
421
|
+
</td>
|
422
|
+
</tr>
|
423
|
+
</table>
|
424
|
+
</div>
|
425
|
+
|
426
|
+
</div>
|
427
|
+
|
428
|
+
</div>
|
429
|
+
|
430
|
+
<div id="footer">
|
431
|
+
Generated on Thu Sep 3 15:12:07 2015 by
|
432
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
433
|
+
0.8.7.6 (ruby-2.0.0).
|
434
|
+
</div>
|
435
|
+
|
436
|
+
</body>
|
437
|
+
</html>
|
data/doc/MG/Events.html
ADDED
@@ -0,0 +1,127 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Module: MG::Events
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.6
|
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
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '../';
|
20
|
+
framesUrl = "../frames.html#!MG/Events.html";
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="../_index.html">Index (E)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">Events</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="../class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="../method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="../file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Module: MG::Events
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<dt class="r1 last">Defined in:</dt>
|
82
|
+
<dd class="r1 last">motion-game</dd>
|
83
|
+
|
84
|
+
</dl>
|
85
|
+
<div class="clear"></div>
|
86
|
+
|
87
|
+
<h2>Overview</h2><div class="docstring">
|
88
|
+
<div class="discussion">
|
89
|
+
|
90
|
+
<p>The MG::Events module contains classes that represent events received from
|
91
|
+
the game engine. You typically never instantiate these classes yourself.</p>
|
92
|
+
|
93
|
+
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
<div class="tags">
|
97
|
+
|
98
|
+
|
99
|
+
</div><h2>Defined Under Namespace</h2>
|
100
|
+
<p class="children">
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
<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>
|
106
|
+
|
107
|
+
|
108
|
+
</p>
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
</div>
|
119
|
+
|
120
|
+
<div id="footer">
|
121
|
+
Generated on Thu Sep 3 15:12:07 2015 by
|
122
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
123
|
+
0.8.7.6 (ruby-2.0.0).
|
124
|
+
</div>
|
125
|
+
|
126
|
+
</body>
|
127
|
+
</html>
|