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.
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/Point.html DELETED
@@ -1,543 +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::Point
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::Point";
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 (P)</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">Point</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::Point
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::Point</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>A point represents a location in a two-dimensional coordinate system using
108
- <code>x</code> and <code>y</code> variables. When calling a method that
109
- expects a <code>Point</code> object, a 2-element <code>Array</code> can be
110
- passed instead, as a convenience shortcut. For example,</p>
111
-
112
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_location'>location</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='int'>10</span><span class='comma'>,</span> <span class='int'>20</span><span class='rbracket'>]</span>
113
- </code></pre>
114
-
115
- <p>is the same as</p>
116
-
117
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_point'>point</span> <span class='op'>=</span> <span class='const'>MG</span><span class='op'>::</span><span class='const'>Point</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
118
- <span class='id identifier rubyid_point'>point</span><span class='period'>.</span><span class='id identifier rubyid_x'>x</span> <span class='op'>=</span> <span class='int'>10</span>
119
- <span class='id identifier rubyid_point'>point</span><span class='period'>.</span><span class='id identifier rubyid_y'>y</span> <span class='op'>=</span> <span class='int'>20</span>
120
- <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_location'>location</span> <span class='op'>=</span> <span class='id identifier rubyid_point'>point</span>
121
- </code></pre>
122
-
123
-
124
- </div>
125
- </div>
126
- <div class="tags">
127
-
128
-
129
- </div>
130
-
131
-
132
-
133
- <h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
134
- <ul class="summary">
135
-
136
- <li class="public ">
137
- <span class="summary_signature">
138
-
139
- <a href="#x-instance_method" title="#x (instance method)">#<strong>x</strong> &#x21d2; Float </a>
140
-
141
-
142
-
143
- </span>
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
- <span class="summary_desc"><div class='inline'>
157
- <p>The x coordinate of the point.</p>
158
- </div></span>
159
-
160
- </li>
161
-
162
-
163
- <li class="public ">
164
- <span class="summary_signature">
165
-
166
- <a href="#y-instance_method" title="#y (instance method)">#<strong>y</strong> &#x21d2; Float </a>
167
-
168
-
169
-
170
- </span>
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
- <span class="summary_desc"><div class='inline'>
184
- <p>The y coordinate of the point.</p>
185
- </div></span>
186
-
187
- </li>
188
-
189
-
190
- </ul>
191
-
192
-
193
-
194
-
195
-
196
- <h2>
197
- Helpers
198
- <small><a href="#" class="summary_toggle">collapse</a></small>
199
- </h2>
200
-
201
- <ul class="summary">
202
-
203
- <li class="public ">
204
- <span class="summary_signature">
205
-
206
- <a href="#%2B-instance_method" title="#+ (instance method)">#<strong>+</strong>(point) &#x21d2; Point </a>
207
-
208
-
209
-
210
- </span>
211
-
212
-
213
-
214
-
215
-
216
-
217
-
218
-
219
-
220
- <span class="summary_desc"><div class='inline'>
221
- <p>Adds the coordinates of the receiver with the coordinates of the given
222
- point object.</p>
223
- </div></span>
224
-
225
- </li>
226
-
227
-
228
- <li class="public ">
229
- <span class="summary_signature">
230
-
231
- <a href="#--instance_method" title="#- (instance method)">#<strong>-</strong>(point) &#x21d2; Point </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>Substracts the coordinates of the receiver with the coordinates of the
247
- given point object.</p>
248
- </div></span>
249
-
250
- </li>
251
-
252
-
253
- </ul>
254
-
255
-
256
-
257
- <div id="instance_attr_details" class="attr_details">
258
- <h2>Instance Attribute Details</h2>
259
-
260
-
261
- <span id="x=-instance_method"></span>
262
- <div class="method_details first">
263
- <h3 class="signature first" id="x-instance_method">
264
-
265
- #<strong>x</strong> &#x21d2; <tt>Float</tt>
266
-
267
-
268
-
269
-
270
-
271
- </h3><div class="docstring">
272
- <div class="discussion">
273
-
274
- <p>Returns the x coordinate of the point.</p>
275
-
276
-
277
- </div>
278
- </div>
279
- <div class="tags">
280
-
281
- <p class="tag_title">Returns:</p>
282
- <ul class="return">
283
-
284
- <li>
285
-
286
-
287
- <span class='type'>(<tt>Float</tt>)</span>
288
-
289
-
290
-
291
- &mdash;
292
- <div class='inline'>
293
- <p>the x coordinate of the point.</p>
294
- </div>
295
-
296
- </li>
297
-
298
- </ul>
299
-
300
- </div><table class="source_code">
301
- <tr>
302
- <td>
303
- <pre class="lines">
304
-
305
-
306
- 1042
307
- 1043
308
- 1044</pre>
309
- </td>
310
- <td>
311
- <pre class="code"><span class="info file"># File 'motion-game', line 1042</span>
312
-
313
- <span class='kw'>def</span> <span class='id identifier rubyid_x'>x</span>
314
- <span class='ivar'>@x</span>
315
- <span class='kw'>end</span></pre>
316
- </td>
317
- </tr>
318
- </table>
319
- </div>
320
-
321
-
322
- <span id="y=-instance_method"></span>
323
- <div class="method_details ">
324
- <h3 class="signature " id="y-instance_method">
325
-
326
- #<strong>y</strong> &#x21d2; <tt>Float</tt>
327
-
328
-
329
-
330
-
331
-
332
- </h3><div class="docstring">
333
- <div class="discussion">
334
-
335
- <p>Returns the y coordinate of the point.</p>
336
-
337
-
338
- </div>
339
- </div>
340
- <div class="tags">
341
-
342
- <p class="tag_title">Returns:</p>
343
- <ul class="return">
344
-
345
- <li>
346
-
347
-
348
- <span class='type'>(<tt>Float</tt>)</span>
349
-
350
-
351
-
352
- &mdash;
353
- <div class='inline'>
354
- <p>the y coordinate of the point.</p>
355
- </div>
356
-
357
- </li>
358
-
359
- </ul>
360
-
361
- </div><table class="source_code">
362
- <tr>
363
- <td>
364
- <pre class="lines">
365
-
366
-
367
- 1045
368
- 1046
369
- 1047</pre>
370
- </td>
371
- <td>
372
- <pre class="code"><span class="info file"># File 'motion-game', line 1045</span>
373
-
374
- <span class='kw'>def</span> <span class='id identifier rubyid_y'>y</span>
375
- <span class='ivar'>@y</span>
376
- <span class='kw'>end</span></pre>
377
- </td>
378
- </tr>
379
- </table>
380
- </div>
381
-
382
- </div>
383
-
384
-
385
- <div id="instance_method_details" class="method_details_list">
386
- <h2>Instance Method Details</h2>
387
-
388
-
389
- <div class="method_details first">
390
- <h3 class="signature first" id="+-instance_method">
391
-
392
- #<strong>+</strong>(point) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Point (class)">Point</a></span></tt>
393
-
394
-
395
-
396
-
397
-
398
- </h3><div class="docstring">
399
- <div class="discussion">
400
-
401
- <p>Adds the coordinates of the receiver with the coordinates of the given
402
- point object.</p>
403
-
404
-
405
- </div>
406
- </div>
407
- <div class="tags">
408
- <p class="tag_title">Parameters:</p>
409
- <ul class="param">
410
-
411
- <li>
412
-
413
- <span class='name'>point</span>
414
-
415
-
416
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Point (class)">Point</a></span></tt>)</span>
417
-
418
-
419
-
420
- </li>
421
-
422
- </ul>
423
-
424
- <p class="tag_title">Returns:</p>
425
- <ul class="return">
426
-
427
- <li>
428
-
429
-
430
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Point (class)">Point</a></span></tt>)</span>
431
-
432
-
433
-
434
- &mdash;
435
- <div class='inline'>
436
- <p>A new Point object.</p>
437
- </div>
438
-
439
- </li>
440
-
441
- </ul>
442
-
443
- </div><table class="source_code">
444
- <tr>
445
- <td>
446
- <pre class="lines">
447
-
448
-
449
- 1054</pre>
450
- </td>
451
- <td>
452
- <pre class="code"><span class="info file"># File 'motion-game', line 1054</span>
453
-
454
- <span class='kw'>def</span> <span class='op'>+</span><span class='lparen'>(</span><span class='id identifier rubyid_point'>point</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
455
- </td>
456
- </tr>
457
- </table>
458
- </div>
459
-
460
- <div class="method_details ">
461
- <h3 class="signature " id="--instance_method">
462
-
463
- #<strong>-</strong>(point) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Point (class)">Point</a></span></tt>
464
-
465
-
466
-
467
-
468
-
469
- </h3><div class="docstring">
470
- <div class="discussion">
471
-
472
- <p>Substracts the coordinates of the receiver with the coordinates of the
473
- given point object.</p>
474
-
475
-
476
- </div>
477
- </div>
478
- <div class="tags">
479
- <p class="tag_title">Parameters:</p>
480
- <ul class="param">
481
-
482
- <li>
483
-
484
- <span class='name'>point</span>
485
-
486
-
487
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Point (class)">Point</a></span></tt>)</span>
488
-
489
-
490
-
491
- </li>
492
-
493
- </ul>
494
-
495
- <p class="tag_title">Returns:</p>
496
- <ul class="return">
497
-
498
- <li>
499
-
500
-
501
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Point (class)">Point</a></span></tt>)</span>
502
-
503
-
504
-
505
- &mdash;
506
- <div class='inline'>
507
- <p>A new Point object.</p>
508
- </div>
509
-
510
- </li>
511
-
512
- </ul>
513
-
514
- </div><table class="source_code">
515
- <tr>
516
- <td>
517
- <pre class="lines">
518
-
519
-
520
- 1060</pre>
521
- </td>
522
- <td>
523
- <pre class="code"><span class="info file"># File 'motion-game', line 1060</span>
524
-
525
- <span class='kw'>def</span> <span class='op'>-</span><span class='lparen'>(</span><span class='id identifier rubyid_point'>point</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
526
- </td>
527
- </tr>
528
- </table>
529
- </div>
530
-
531
- </div>
532
-
533
- </div>
534
-
535
- <div id="footer">
536
- Generated on Sun Dec 11 16:38:30 2016 by
537
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
538
- 0.9.5 (ruby-2.3.3).
539
- </div>
540
-
541
- </div>
542
- </body>
543
- </html>