motion-game 1.1.7 → 1.1.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -0
  3. data/build/android/motion-cocos.jar +0 -0
  4. metadata +2 -66
  5. data/doc/MG.html +0 -131
  6. data/doc/MG/Action.html +0 -402
  7. data/doc/MG/Animate.html +0 -281
  8. data/doc/MG/Application.html +0 -335
  9. data/doc/MG/Audio.html +0 -1268
  10. data/doc/MG/Blink.html +0 -257
  11. data/doc/MG/Button.html +0 -725
  12. data/doc/MG/Color.html +0 -535
  13. data/doc/MG/DelayTime.html +0 -239
  14. data/doc/MG/Director.html +0 -1301
  15. data/doc/MG/Draw.html +0 -813
  16. data/doc/MG/Events.html +0 -129
  17. data/doc/MG/Events/Acceleration.html +0 -505
  18. data/doc/MG/Events/Touch.html +0 -235
  19. data/doc/MG/FadeIn.html +0 -240
  20. data/doc/MG/FadeOut.html +0 -240
  21. data/doc/MG/FadeTo.html +0 -256
  22. data/doc/MG/File.html +0 -219
  23. data/doc/MG/Follow.html +0 -241
  24. data/doc/MG/JumpBy.html +0 -292
  25. data/doc/MG/JumpTo.html +0 -287
  26. data/doc/MG/Layout.html +0 -516
  27. data/doc/MG/List.html +0 -1053
  28. data/doc/MG/Menu.html +0 -458
  29. data/doc/MG/MoveBy.html +0 -259
  30. data/doc/MG/MoveTo.html +0 -257
  31. data/doc/MG/Node.html +0 -2013
  32. data/doc/MG/Parallax.html +0 -297
  33. data/doc/MG/Particle.html +0 -1224
  34. data/doc/MG/Point.html +0 -543
  35. data/doc/MG/Repeat.html +0 -257
  36. data/doc/MG/RepeatForever.html +0 -239
  37. data/doc/MG/RotateBy.html +0 -259
  38. data/doc/MG/RotateTo.html +0 -257
  39. data/doc/MG/ScaleBy.html +0 -255
  40. data/doc/MG/ScaleTo.html +0 -255
  41. data/doc/MG/Scene.html +0 -1544
  42. data/doc/MG/Scroll.html +0 -533
  43. data/doc/MG/Sequence.html +0 -241
  44. data/doc/MG/Size.html +0 -741
  45. data/doc/MG/SkewBy.html +0 -273
  46. data/doc/MG/SkewTo.html +0 -273
  47. data/doc/MG/Slider.html +0 -338
  48. data/doc/MG/Spawn.html +0 -239
  49. data/doc/MG/Speed.html +0 -259
  50. data/doc/MG/Sprite.html +0 -2591
  51. data/doc/MG/Text.html +0 -921
  52. data/doc/MG/TintBy.html +0 -272
  53. data/doc/MG/TintTo.html +0 -274
  54. data/doc/MG/Web.html +0 -831
  55. data/doc/MG/Widget.html +0 -552
  56. data/doc/_index.html +0 -574
  57. data/doc/class_list.html +0 -51
  58. data/doc/css/common.css +0 -1
  59. data/doc/css/full_list.css +0 -58
  60. data/doc/css/style.css +0 -481
  61. data/doc/file.README.html +0 -192
  62. data/doc/file_list.html +0 -56
  63. data/doc/frames.html +0 -17
  64. data/doc/index.html +0 -192
  65. data/doc/js/app.js +0 -243
  66. data/doc/js/full_list.js +0 -216
  67. data/doc/js/jquery.js +0 -4
  68. data/doc/method_list.html +0 -1635
  69. data/doc/top-level-namespace.html +0 -112
data/doc/MG/Widget.html DELETED
@@ -1,552 +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::Widget
8
-
9
- &mdash; 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::Widget";
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 (W)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
41
- &raquo;
42
- <span class="title">Widget</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::Widget
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="Node.html" title="MG::Node (class)">Node</a></span></span>
75
-
76
- <ul class="fullTree">
77
- <li>Object</li>
78
-
79
- <li class="next"><span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></li>
80
-
81
- <li class="next">MG::Widget</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
- <h2>Overview</h2><div class="docstring">
107
- <div class="discussion">
108
-
109
- <p>The base class for all UI widgets. You should not instantiate this class
110
- directly but use a subclass instead.</p>
111
-
112
-
113
- </div>
114
- </div>
115
- <div class="tags">
116
-
117
-
118
- </div><div id="subclasses">
119
- <h2>Direct Known Subclasses</h2>
120
- <p class="children"><span class='object_link'><a href="Button.html" title="MG::Button (class)">Button</a></span>, <span class='object_link'><a href="Layout.html" title="MG::Layout (class)">Layout</a></span>, <span class='object_link'><a href="Slider.html" title="MG::Slider (class)">Slider</a></span>, <span class='object_link'><a href="Text.html" title="MG::Text (class)">Text</a></span>, <span class='object_link'><a href="Web.html" title="MG::Web (class)">Web</a></span></p>
121
- </div>
122
-
123
-
124
-
125
-
126
- <h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
127
- <ul class="summary">
128
-
129
- <li class="public ">
130
- <span class="summary_signature">
131
-
132
- <a href="#enabled%3F-instance_method" title="#enabled? (instance method)">#<strong>enabled?</strong> &#x21d2; Boolean </a>
133
-
134
-
135
-
136
- </span>
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
- <span class="summary_desc"><div class='inline'>
150
- <p>Whether the widget is enabled.</p>
151
- </div></span>
152
-
153
- </li>
154
-
155
-
156
- <li class="public ">
157
- <span class="summary_signature">
158
-
159
- <a href="#highlighted%3F-instance_method" title="#highlighted? (instance method)">#<strong>highlighted?</strong> &#x21d2; Boolean </a>
160
-
161
-
162
-
163
- </span>
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
- <span class="summary_desc"><div class='inline'>
177
- <p>Whether the widget is highlighted.</p>
178
- </div></span>
179
-
180
- </li>
181
-
182
-
183
- <li class="public ">
184
- <span class="summary_signature">
185
-
186
- <a href="#touch_enabled%3F-instance_method" title="#touch_enabled? (instance method)">#<strong>touch_enabled?</strong> &#x21d2; Boolean </a>
187
-
188
-
189
-
190
- </span>
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
- <span class="summary_desc"><div class='inline'>
204
- <p>Whether the widget is touch enabled.</p>
205
- </div></span>
206
-
207
- </li>
208
-
209
-
210
- </ul>
211
-
212
-
213
-
214
-
215
-
216
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
217
- <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>
218
-
219
-
220
-
221
- <h2>
222
- Events
223
- <small><a href="#" class="summary_toggle">collapse</a></small>
224
- </h2>
225
-
226
- <ul class="summary">
227
-
228
- <li class="public ">
229
- <span class="summary_signature">
230
-
231
- <a href="#on_touch-instance_method" title="#on_touch (instance method)">#<strong>on_touch</strong> {|Symbol| ... } &#x21d2; Widget </a>
232
-
233
-
234
-
235
- </span>
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
-
245
- <span class="summary_desc"><div class='inline'>
246
- <p>Configures a block to be called when a touch event is received on the
247
- widget.</p>
248
- </div></span>
249
-
250
- </li>
251
-
252
-
253
- </ul>
254
-
255
-
256
-
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
266
- <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>
267
-
268
- <div id="instance_attr_details" class="attr_details">
269
- <h2>Instance Attribute Details</h2>
270
-
271
-
272
- <span id="enabled?=-instance_method"></span>
273
- <div class="method_details first">
274
- <h3 class="signature first" id="enabled?-instance_method">
275
-
276
- #<strong>enabled?</strong> &#x21d2; <tt>Boolean</tt>
277
-
278
-
279
-
280
-
281
-
282
- </h3><div class="docstring">
283
- <div class="discussion">
284
-
285
- <p>Whether the widget is enabled. When enabled, a widget can be touched or
286
- clicked. By default, a widget is enabled.</p>
287
-
288
-
289
- </div>
290
- </div>
291
- <div class="tags">
292
-
293
- <p class="tag_title">Returns:</p>
294
- <ul class="return">
295
-
296
- <li>
297
-
298
-
299
- <span class='type'>(<tt>Boolean</tt>)</span>
300
-
301
-
302
-
303
- &mdash;
304
- <div class='inline'>
305
- <p>whether the widget is enabled.</p>
306
- </div>
307
-
308
- </li>
309
-
310
- </ul>
311
-
312
- </div><table class="source_code">
313
- <tr>
314
- <td>
315
- <pre class="lines">
316
-
317
-
318
- 1156
319
- 1157
320
- 1158</pre>
321
- </td>
322
- <td>
323
- <pre class="code"><span class="info file"># File 'motion-game', line 1156</span>
324
-
325
- def enabled?
326
- @enabled?
327
- end</pre>
328
- </td>
329
- </tr>
330
- </table>
331
- </div>
332
-
333
-
334
- <span id="highlighted?=-instance_method"></span>
335
- <div class="method_details ">
336
- <h3 class="signature " id="highlighted?-instance_method">
337
-
338
- #<strong>highlighted?</strong> &#x21d2; <tt>Boolean</tt>
339
-
340
-
341
-
342
-
343
-
344
- </h3><div class="docstring">
345
- <div class="discussion">
346
-
347
- <p>Whether the widget is highlighted. By default, a widget is not highlighted.</p>
348
-
349
-
350
- </div>
351
- </div>
352
- <div class="tags">
353
-
354
- <p class="tag_title">Returns:</p>
355
- <ul class="return">
356
-
357
- <li>
358
-
359
-
360
- <span class='type'>(<tt>Boolean</tt>)</span>
361
-
362
-
363
-
364
- &mdash;
365
- <div class='inline'>
366
- <p>whether the widget is highlighted.</p>
367
- </div>
368
-
369
- </li>
370
-
371
- </ul>
372
-
373
- </div><table class="source_code">
374
- <tr>
375
- <td>
376
- <pre class="lines">
377
-
378
-
379
- 1165
380
- 1166
381
- 1167</pre>
382
- </td>
383
- <td>
384
- <pre class="code"><span class="info file"># File 'motion-game', line 1165</span>
385
-
386
- def highlighted?
387
- @highlighted?
388
- end</pre>
389
- </td>
390
- </tr>
391
- </table>
392
- </div>
393
-
394
-
395
- <span id="touch_enabled?=-instance_method"></span>
396
- <div class="method_details ">
397
- <h3 class="signature " id="touch_enabled?-instance_method">
398
-
399
- #<strong>touch_enabled?</strong> &#x21d2; <tt>Boolean</tt>
400
-
401
-
402
-
403
-
404
-
405
- </h3><div class="docstring">
406
- <div class="discussion">
407
-
408
- <p>Whether the widget is touch enabled. When touch enabled, a widget supports
409
- on_touch. By default, a widget is not touch enabled.</p>
410
-
411
-
412
- </div>
413
- </div>
414
- <div class="tags">
415
-
416
- <p class="tag_title">Returns:</p>
417
- <ul class="return">
418
-
419
- <li>
420
-
421
-
422
- <span class='type'>(<tt>Boolean</tt>)</span>
423
-
424
-
425
-
426
- &mdash;
427
- <div class='inline'>
428
- <p>whether the widget is touch enabled.</p>
429
- </div>
430
-
431
- </li>
432
-
433
- </ul>
434
-
435
- </div><table class="source_code">
436
- <tr>
437
- <td>
438
- <pre class="lines">
439
-
440
-
441
- 1161
442
- 1162
443
- 1163</pre>
444
- </td>
445
- <td>
446
- <pre class="code"><span class="info file"># File 'motion-game', line 1161</span>
447
-
448
- def touch_enabled?
449
- @touch_enabled?
450
- end</pre>
451
- </td>
452
- </tr>
453
- </table>
454
- </div>
455
-
456
- </div>
457
-
458
-
459
- <div id="instance_method_details" class="method_details_list">
460
- <h2>Instance Method Details</h2>
461
-
462
-
463
- <div class="method_details first">
464
- <h3 class="signature first" id="on_touch-instance_method">
465
-
466
- #<strong>on_touch</strong> {|Symbol| ... } &#x21d2; <tt><span class='object_link'><a href="" title="MG::Widget (class)">Widget</a></span></tt>
467
-
468
-
469
-
470
-
471
-
472
- </h3><div class="docstring">
473
- <div class="discussion">
474
-
475
- <p>Configures a block to be called when a touch event is received on the
476
- widget.</p>
477
-
478
-
479
- </div>
480
- </div>
481
- <div class="tags">
482
-
483
- <p class="tag_title">Yields:</p>
484
- <ul class="yield">
485
-
486
- <li>
487
-
488
-
489
- <span class='type'>(<tt>Symbol</tt>)</span>
490
-
491
-
492
-
493
- &mdash;
494
- <div class='inline'>
495
- <p>the given block will be called when the event is received with a
496
- <code>Symbol</code> that describes the type of event, which can be
497
- <code>:begin</code>, <code>:move</code>, <code>:end</code> or
498
- <code>:cancel</code>.</p>
499
- </div>
500
-
501
- </li>
502
-
503
- </ul>
504
- <p class="tag_title">Returns:</p>
505
- <ul class="return">
506
-
507
- <li>
508
-
509
-
510
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Widget (class)">Widget</a></span></tt>)</span>
511
-
512
-
513
-
514
- &mdash;
515
- <div class='inline'>
516
- <p>the receiver.</p>
517
- </div>
518
-
519
- </li>
520
-
521
- </ul>
522
-
523
- </div><table class="source_code">
524
- <tr>
525
- <td>
526
- <pre class="lines">
527
-
528
-
529
- 1176</pre>
530
- </td>
531
- <td>
532
- <pre class="code"><span class="info file"># File 'motion-game', line 1176</span>
533
-
534
- <span class='kw'>def</span> <span class='id identifier rubyid_on_touch'>on_touch</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
535
- </td>
536
- </tr>
537
- </table>
538
- </div>
539
-
540
- </div>
541
-
542
- </div>
543
-
544
- <div id="footer">
545
- Generated on Sun Dec 11 16:38:30 2016 by
546
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
547
- 0.9.5 (ruby-2.3.3).
548
- </div>
549
-
550
- </div>
551
- </body>
552
- </html>