motion-game 1.1.5 → 1.1.6

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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/build/android/armeabi/libmotion-cocos.a +0 -0
  3. data/build/android/motion-cocos.jar +0 -0
  4. data/build/android/x86/libmotion-cocos.a +0 -0
  5. data/build/ios/libmotion-cocos.a +0 -0
  6. data/build/tvos/libmotion-cocos.a +0 -0
  7. data/doc/MG.html +40 -38
  8. data/doc/MG/Action.html +402 -0
  9. data/doc/MG/Animate.html +281 -0
  10. data/doc/MG/Application.html +55 -52
  11. data/doc/MG/Audio.html +96 -93
  12. data/doc/MG/Blink.html +257 -0
  13. data/doc/MG/Button.html +82 -79
  14. data/doc/MG/Color.html +70 -67
  15. data/doc/MG/DelayTime.html +239 -0
  16. data/doc/MG/Director.html +256 -95
  17. data/doc/MG/Draw.html +67 -64
  18. data/doc/MG/Events.html +39 -37
  19. data/doc/MG/Events/Acceleration.html +70 -67
  20. data/doc/MG/Events/Touch.html +52 -49
  21. data/doc/MG/FadeIn.html +240 -0
  22. data/doc/MG/FadeOut.html +240 -0
  23. data/doc/MG/FadeTo.html +256 -0
  24. data/doc/MG/File.html +50 -47
  25. data/doc/MG/Follow.html +241 -0
  26. data/doc/MG/JumpBy.html +292 -0
  27. data/doc/MG/JumpTo.html +287 -0
  28. data/doc/MG/Layout.html +70 -67
  29. data/doc/MG/List.html +88 -85
  30. data/doc/MG/Menu.html +65 -62
  31. data/doc/MG/MoveBy.html +259 -0
  32. data/doc/MG/MoveTo.html +257 -0
  33. data/doc/MG/Node.html +393 -133
  34. data/doc/MG/Parallax.html +51 -48
  35. data/doc/MG/Particle.html +118 -115
  36. data/doc/MG/Point.html +67 -64
  37. data/doc/MG/Repeat.html +257 -0
  38. data/doc/MG/RepeatForever.html +239 -0
  39. data/doc/MG/RotateBy.html +259 -0
  40. data/doc/MG/RotateTo.html +257 -0
  41. data/doc/MG/ScaleBy.html +255 -0
  42. data/doc/MG/ScaleTo.html +255 -0
  43. data/doc/MG/Scene.html +110 -107
  44. data/doc/MG/Scroll.html +70 -67
  45. data/doc/MG/Sequence.html +241 -0
  46. data/doc/MG/Size.html +75 -72
  47. data/doc/MG/SkewBy.html +273 -0
  48. data/doc/MG/SkewTo.html +273 -0
  49. data/doc/MG/Slider.html +58 -55
  50. data/doc/MG/Spawn.html +239 -0
  51. data/doc/MG/Speed.html +259 -0
  52. data/doc/MG/Sprite.html +547 -144
  53. data/doc/MG/Text.html +94 -91
  54. data/doc/MG/TintBy.html +272 -0
  55. data/doc/MG/TintTo.html +274 -0
  56. data/doc/MG/Web.html +77 -74
  57. data/doc/MG/Widget.html +70 -67
  58. data/doc/_index.html +223 -33
  59. data/doc/class_list.html +24 -31
  60. data/doc/css/full_list.css +32 -31
  61. data/doc/css/style.css +220 -78
  62. data/doc/file.README.html +29 -30
  63. data/doc/file_list.html +26 -30
  64. data/doc/frames.html +7 -16
  65. data/doc/index.html +29 -30
  66. data/doc/js/app.js +100 -76
  67. data/doc/js/full_list.js +170 -135
  68. data/doc/method_list.html +1096 -500
  69. data/doc/top-level-namespace.html +35 -35
  70. data/lib/motion-game/android/main_activity.rb +21 -0
  71. data/lib/motion-game/ios/app_delegate.rb +14 -0
  72. data/lib/motion-game/tvos/app_delegate.rb +16 -0
  73. data/template/motion-game/files/app/application.rb +8 -0
  74. metadata +28 -4
@@ -1,12 +1,12 @@
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">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
7
  Class: MG::Point
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.6
9
+ &mdash; 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
- hasFrames = window.top.frames.main ? true : false;
18
+ pathId = "MG::Point";
19
19
  relpath = '../';
20
- framesUrl = "../frames.html#!MG/Point.html";
21
20
  </script>
22
21
 
23
22
 
@@ -28,51 +27,50 @@
28
27
 
29
28
  </head>
30
29
  <body>
31
- <div id="header">
32
- <div id="menu">
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 (P)</a> &raquo;
35
40
  <span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">Point</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
- <div id="search">
46
+ <div id="search">
44
47
 
45
48
  <a class="full_list_link" id="class_list_link"
46
49
  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
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
- <div class="clear"></div>
62
- </div>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
62
+ <iframe id="search_frame" src="../class_list.html"></iframe>
65
63
 
66
- <div id="content"><h1>Class: MG::Point
64
+ <div id="content"><h1>Class: MG::Point
67
65
 
68
66
 
69
67
 
70
68
  </h1>
71
-
72
- <dl class="box">
69
+ <div class="box_info">
73
70
 
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
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
- </dd>
87
-
84
+ </dd>
85
+ </dl>
86
+
87
+
88
88
 
89
89
 
90
-
91
90
 
92
-
93
91
 
94
92
 
93
+
94
+
95
+
95
96
 
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">motion-game</dd>
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>motion-game</dd>
100
+ </dl>
98
101
 
99
- </dl>
100
- <div class="clear"></div>
102
+ </div>
101
103
 
102
104
  <h2>Overview</h2><div class="docstring">
103
105
  <div class="discussion">
@@ -130,13 +132,13 @@ example,</p>
130
132
 
131
133
 
132
134
 
133
- <h2>Properties <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
135
+ <h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
134
136
  <ul class="summary">
135
137
 
136
138
  <li class="public ">
137
139
  <span class="summary_signature">
138
140
 
139
- <a href="#x-instance_method" title="#x (instance method)">- (Float) <strong>x</strong> </a>
141
+ <a href="#x-instance_method" title="#x (instance method)">#<strong>x</strong> &#x21d2; Float </a>
140
142
 
141
143
 
142
144
 
@@ -163,7 +165,7 @@ example,</p>
163
165
  <li class="public ">
164
166
  <span class="summary_signature">
165
167
 
166
- <a href="#y-instance_method" title="#y (instance method)">- (Float) <strong>y</strong> </a>
168
+ <a href="#y-instance_method" title="#y (instance method)">#<strong>y</strong> &#x21d2; Float </a>
167
169
 
168
170
 
169
171
 
@@ -195,7 +197,7 @@ example,</p>
195
197
 
196
198
  <h2>
197
199
  Helpers
198
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
200
+ <small><a href="#" class="summary_toggle">collapse</a></small>
199
201
  </h2>
200
202
 
201
203
  <ul class="summary">
@@ -203,7 +205,7 @@ example,</p>
203
205
  <li class="public ">
204
206
  <span class="summary_signature">
205
207
 
206
- <a href="#%2B-instance_method" title="#+ (instance method)">- (Point) <strong>+</strong>(point) </a>
208
+ <a href="#%2B-instance_method" title="#+ (instance method)">#<strong>+</strong>(point) &#x21d2; Point </a>
207
209
 
208
210
 
209
211
 
@@ -228,7 +230,7 @@ point object.</p>
228
230
  <li class="public ">
229
231
  <span class="summary_signature">
230
232
 
231
- <a href="#--instance_method" title="#- (instance method)">- (Point) <strong>-</strong>(point) </a>
233
+ <a href="#--instance_method" title="#- (instance method)">#<strong>-</strong>(point) &#x21d2; Point </a>
232
234
 
233
235
 
234
236
 
@@ -262,7 +264,7 @@ given point object.</p>
262
264
  <div class="method_details first">
263
265
  <h3 class="signature first" id="x-instance_method">
264
266
 
265
- - (<tt>Float</tt>) <strong>x</strong>
267
+ #<strong>x</strong> &#x21d2; <tt>Float</tt>
266
268
 
267
269
 
268
270
 
@@ -303,12 +305,12 @@ given point object.</p>
303
305
  <pre class="lines">
304
306
 
305
307
 
306
- 638
307
- 639
308
- 640</pre>
308
+ 1017
309
+ 1018
310
+ 1019</pre>
309
311
  </td>
310
312
  <td>
311
- <pre class="code"><span class="info file"># File 'motion-game', line 638</span>
313
+ <pre class="code"><span class="info file"># File 'motion-game', line 1017</span>
312
314
 
313
315
  <span class='kw'>def</span> <span class='id identifier rubyid_x'>x</span>
314
316
  <span class='ivar'>@x</span>
@@ -323,7 +325,7 @@ given point object.</p>
323
325
  <div class="method_details ">
324
326
  <h3 class="signature " id="y-instance_method">
325
327
 
326
- - (<tt>Float</tt>) <strong>y</strong>
328
+ #<strong>y</strong> &#x21d2; <tt>Float</tt>
327
329
 
328
330
 
329
331
 
@@ -364,12 +366,12 @@ given point object.</p>
364
366
  <pre class="lines">
365
367
 
366
368
 
367
- 641
368
- 642
369
- 643</pre>
369
+ 1020
370
+ 1021
371
+ 1022</pre>
370
372
  </td>
371
373
  <td>
372
- <pre class="code"><span class="info file"># File 'motion-game', line 641</span>
374
+ <pre class="code"><span class="info file"># File 'motion-game', line 1020</span>
373
375
 
374
376
  <span class='kw'>def</span> <span class='id identifier rubyid_y'>y</span>
375
377
  <span class='ivar'>@y</span>
@@ -389,7 +391,7 @@ given point object.</p>
389
391
  <div class="method_details first">
390
392
  <h3 class="signature first" id="+-instance_method">
391
393
 
392
- - (<tt><span class='object_link'><a href="" title="MG::Point (class)">Point</a></span></tt>) <strong>+</strong>(point)
394
+ #<strong>+</strong>(point) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Point (class)">Point</a></span></tt>
393
395
 
394
396
 
395
397
 
@@ -446,10 +448,10 @@ point object.</p>
446
448
  <pre class="lines">
447
449
 
448
450
 
449
- 650</pre>
451
+ 1029</pre>
450
452
  </td>
451
453
  <td>
452
- <pre class="code"><span class="info file"># File 'motion-game', line 650</span>
454
+ <pre class="code"><span class="info file"># File 'motion-game', line 1029</span>
453
455
 
454
456
  <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
457
  </td>
@@ -460,7 +462,7 @@ point object.</p>
460
462
  <div class="method_details ">
461
463
  <h3 class="signature " id="--instance_method">
462
464
 
463
- - (<tt><span class='object_link'><a href="" title="MG::Point (class)">Point</a></span></tt>) <strong>-</strong>(point)
465
+ #<strong>-</strong>(point) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Point (class)">Point</a></span></tt>
464
466
 
465
467
 
466
468
 
@@ -517,10 +519,10 @@ given point object.</p>
517
519
  <pre class="lines">
518
520
 
519
521
 
520
- 656</pre>
522
+ 1035</pre>
521
523
  </td>
522
524
  <td>
523
- <pre class="code"><span class="info file"># File 'motion-game', line 656</span>
525
+ <pre class="code"><span class="info file"># File 'motion-game', line 1035</span>
524
526
 
525
527
  <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
528
  </td>
@@ -532,11 +534,12 @@ given point object.</p>
532
534
 
533
535
  </div>
534
536
 
535
- <div id="footer">
536
- Generated on Wed Aug 31 17:59:07 2016 by
537
+ <div id="footer">
538
+ Generated on Sun Nov 27 15:52:19 2016 by
537
539
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
538
- 0.8.7.6 (ruby-2.3.1).
540
+ 0.9.5 (ruby-2.3.3).
539
541
  </div>
540
542
 
543
+ </div>
541
544
  </body>
542
545
  </html>
@@ -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::Repeat
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::Repeat";
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 (R)</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">Repeat</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::Repeat
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::Repeat</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>(target_action, times) &#x21d2; Repeat </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 repeats the provided action a certain number of
147
+ times.</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>(target_action, times) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Repeat (class)">Repeat</a></span></tt>
174
+
175
+
176
+
177
+
178
+
179
+ </h3><div class="docstring">
180
+ <div class="discussion">
181
+
182
+ <p>Creates an action that repeats the provided action a certain number of
183
+ times.</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'>target_action</span>
195
+
196
+
197
+ <span class='type'>(<tt><span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span></tt>)</span>
198
+
199
+
200
+
201
+ &mdash;
202
+ <div class='inline'>
203
+ <p>the action to repeat.</p>
204
+ </div>
205
+
206
+ </li>
207
+
208
+ <li>
209
+
210
+ <span class='name'>times</span>
211
+
212
+
213
+ <span class='type'>(<tt>Integer</tt>)</span>
214
+
215
+
216
+
217
+ &mdash;
218
+ <div class='inline'>
219
+ <p>the number of times to repeat.</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
+ 304</pre>
234
+ </td>
235
+ <td>
236
+ <pre class="code"><span class="info file"># File 'motion-game', line 304</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_target_action'>target_action</span><span class='comma'>,</span> <span class='id identifier rubyid_times'>times</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>