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/Sequence.html DELETED
@@ -1,241 +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::Sequence
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::Sequence";
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 (S)</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">Sequence</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::Sequence
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::Sequence</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>(actions) &#x21d2; Sequence </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 runs actions sequentially, one after another on the
147
- receiver.</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>(actions) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Sequence (class)">Sequence</a></span></tt>
174
-
175
-
176
-
177
-
178
-
179
- </h3><div class="docstring">
180
- <div class="discussion">
181
-
182
- <p>Creates an action that runs actions sequentially, one after another on the
183
- receiver.</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'>actions</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 array of actions to run in sequence</p>
204
- </div>
205
-
206
- </li>
207
-
208
- </ul>
209
-
210
-
211
- </div><table class="source_code">
212
- <tr>
213
- <td>
214
- <pre class="lines">
215
-
216
-
217
- 250</pre>
218
- </td>
219
- <td>
220
- <pre class="code"><span class="info file"># File 'motion-game', line 250</span>
221
-
222
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_actions'>actions</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
223
- </td>
224
- </tr>
225
- </table>
226
- </div>
227
-
228
- </div>
229
-
230
-
231
- </div>
232
-
233
- <div id="footer">
234
- Generated on Sun Dec 11 16:38:29 2016 by
235
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
236
- 0.9.5 (ruby-2.3.3).
237
- </div>
238
-
239
- </div>
240
- </body>
241
- </html>
data/doc/MG/Size.html DELETED
@@ -1,741 +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::Size
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::Size";
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 (S)</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">Size</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::Size
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::Size</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 size represents the dimensions of width and height of an object. When
108
- calling a method that expects a <code>Size</code> object, a 2-element
109
- <code>Array</code> can be passed instead, as a convenience shortcut. For
110
- 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_size'>size</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='int'>200</span><span class='comma'>,</span> <span class='int'>400</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_size'>size</span> <span class='op'>=</span> <span class='const'>MG</span><span class='op'>::</span><span class='const'>Size</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
118
- <span class='id identifier rubyid_size'>size</span><span class='period'>.</span><span class='id identifier rubyid_x'>x</span> <span class='op'>=</span> <span class='int'>200</span>
119
- <span class='id identifier rubyid_size'>size</span><span class='period'>.</span><span class='id identifier rubyid_y'>y</span> <span class='op'>=</span> <span class='int'>400</span>
120
- <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_size'>size</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="#height-instance_method" title="#height (instance method)">#<strong>height</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 size height.</p>
158
- </div></span>
159
-
160
- </li>
161
-
162
-
163
- <li class="public ">
164
- <span class="summary_signature">
165
-
166
- <a href="#width-instance_method" title="#width (instance method)">#<strong>width</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 size width.</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="#%2A-instance_method" title="#* (instance method)">#<strong>*</strong>(delta) &#x21d2; Size </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>Multiplies the dimensions of the receiver with the given number.</p>
222
- </div></span>
223
-
224
- </li>
225
-
226
-
227
- <li class="public ">
228
- <span class="summary_signature">
229
-
230
- <a href="#%2B-instance_method" title="#+ (instance method)">#<strong>+</strong>(size) &#x21d2; Size </a>
231
-
232
-
233
-
234
- </span>
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
- <span class="summary_desc"><div class='inline'>
245
- <p>Adds the dimensions of the receiver with the dimensions of the given size
246
- object.</p>
247
- </div></span>
248
-
249
- </li>
250
-
251
-
252
- <li class="public ">
253
- <span class="summary_signature">
254
-
255
- <a href="#--instance_method" title="#- (instance method)">#<strong>-</strong>(size) &#x21d2; Size </a>
256
-
257
-
258
-
259
- </span>
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
- <span class="summary_desc"><div class='inline'>
270
- <p>Substracts the dimensions of the receiver with the dimensions of the given
271
- size object.</p>
272
- </div></span>
273
-
274
- </li>
275
-
276
-
277
- <li class="public ">
278
- <span class="summary_signature">
279
-
280
- <a href="#%2F-instance_method" title="#/ (instance method)">#<strong>/</strong>(delta) &#x21d2; Size </a>
281
-
282
-
283
-
284
- </span>
285
-
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
-
294
- <span class="summary_desc"><div class='inline'>
295
- <p>Divides the dimensions of the receiver with the given number.</p>
296
- </div></span>
297
-
298
- </li>
299
-
300
-
301
- </ul>
302
-
303
-
304
-
305
- <div id="instance_attr_details" class="attr_details">
306
- <h2>Instance Attribute Details</h2>
307
-
308
-
309
- <span id="height=-instance_method"></span>
310
- <div class="method_details first">
311
- <h3 class="signature first" id="height-instance_method">
312
-
313
- #<strong>height</strong> &#x21d2; <tt>Float</tt>
314
-
315
-
316
-
317
-
318
-
319
- </h3><div class="docstring">
320
- <div class="discussion">
321
-
322
- <p>Returns the size height.</p>
323
-
324
-
325
- </div>
326
- </div>
327
- <div class="tags">
328
-
329
- <p class="tag_title">Returns:</p>
330
- <ul class="return">
331
-
332
- <li>
333
-
334
-
335
- <span class='type'>(<tt>Float</tt>)</span>
336
-
337
-
338
-
339
- &mdash;
340
- <div class='inline'>
341
- <p>the size height.</p>
342
- </div>
343
-
344
- </li>
345
-
346
- </ul>
347
-
348
- </div><table class="source_code">
349
- <tr>
350
- <td>
351
- <pre class="lines">
352
-
353
-
354
- 1080
355
- 1081
356
- 1082</pre>
357
- </td>
358
- <td>
359
- <pre class="code"><span class="info file"># File 'motion-game', line 1080</span>
360
-
361
- <span class='kw'>def</span> <span class='id identifier rubyid_height'>height</span>
362
- <span class='ivar'>@height</span>
363
- <span class='kw'>end</span></pre>
364
- </td>
365
- </tr>
366
- </table>
367
- </div>
368
-
369
-
370
- <span id="width=-instance_method"></span>
371
- <div class="method_details ">
372
- <h3 class="signature " id="width-instance_method">
373
-
374
- #<strong>width</strong> &#x21d2; <tt>Float</tt>
375
-
376
-
377
-
378
-
379
-
380
- </h3><div class="docstring">
381
- <div class="discussion">
382
-
383
- <p>Returns the size width.</p>
384
-
385
-
386
- </div>
387
- </div>
388
- <div class="tags">
389
-
390
- <p class="tag_title">Returns:</p>
391
- <ul class="return">
392
-
393
- <li>
394
-
395
-
396
- <span class='type'>(<tt>Float</tt>)</span>
397
-
398
-
399
-
400
- &mdash;
401
- <div class='inline'>
402
- <p>the size width.</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
- 1077
416
- 1078
417
- 1079</pre>
418
- </td>
419
- <td>
420
- <pre class="code"><span class="info file"># File 'motion-game', line 1077</span>
421
-
422
- <span class='kw'>def</span> <span class='id identifier rubyid_width'>width</span>
423
- <span class='ivar'>@width</span>
424
- <span class='kw'>end</span></pre>
425
- </td>
426
- </tr>
427
- </table>
428
- </div>
429
-
430
- </div>
431
-
432
-
433
- <div id="instance_method_details" class="method_details_list">
434
- <h2>Instance Method Details</h2>
435
-
436
-
437
- <div class="method_details first">
438
- <h3 class="signature first" id="*-instance_method">
439
-
440
- #<strong>*</strong>(delta) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>
441
-
442
-
443
-
444
-
445
-
446
- </h3><div class="docstring">
447
- <div class="discussion">
448
-
449
- <p>Multiplies the dimensions of the receiver with the given number.</p>
450
-
451
-
452
- </div>
453
- </div>
454
- <div class="tags">
455
- <p class="tag_title">Parameters:</p>
456
- <ul class="param">
457
-
458
- <li>
459
-
460
- <span class='name'>delta</span>
461
-
462
-
463
- <span class='type'>(<tt>Float</tt>)</span>
464
-
465
-
466
-
467
- &mdash;
468
- <div class='inline'>
469
- <p>the number to multiply the receiver with.</p>
470
- </div>
471
-
472
- </li>
473
-
474
- </ul>
475
-
476
- <p class="tag_title">Returns:</p>
477
- <ul class="return">
478
-
479
- <li>
480
-
481
-
482
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>)</span>
483
-
484
-
485
-
486
- &mdash;
487
- <div class='inline'>
488
- <p>a new Size object.</p>
489
- </div>
490
-
491
- </li>
492
-
493
- </ul>
494
-
495
- </div><table class="source_code">
496
- <tr>
497
- <td>
498
- <pre class="lines">
499
-
500
-
501
- 1105</pre>
502
- </td>
503
- <td>
504
- <pre class="code"><span class="info file"># File 'motion-game', line 1105</span>
505
-
506
- <span class='kw'>def</span> <span class='op'>*</span><span class='lparen'>(</span><span class='id identifier rubyid_delta'>delta</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
507
- </td>
508
- </tr>
509
- </table>
510
- </div>
511
-
512
- <div class="method_details ">
513
- <h3 class="signature " id="+-instance_method">
514
-
515
- #<strong>+</strong>(size) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>
516
-
517
-
518
-
519
-
520
-
521
- </h3><div class="docstring">
522
- <div class="discussion">
523
-
524
- <p>Adds the dimensions of the receiver with the dimensions of the given size
525
- object.</p>
526
-
527
-
528
- </div>
529
- </div>
530
- <div class="tags">
531
- <p class="tag_title">Parameters:</p>
532
- <ul class="param">
533
-
534
- <li>
535
-
536
- <span class='name'>size</span>
537
-
538
-
539
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>)</span>
540
-
541
-
542
-
543
- </li>
544
-
545
- </ul>
546
-
547
- <p class="tag_title">Returns:</p>
548
- <ul class="return">
549
-
550
- <li>
551
-
552
-
553
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>)</span>
554
-
555
-
556
-
557
- &mdash;
558
- <div class='inline'>
559
- <p>a new Size object.</p>
560
- </div>
561
-
562
- </li>
563
-
564
- </ul>
565
-
566
- </div><table class="source_code">
567
- <tr>
568
- <td>
569
- <pre class="lines">
570
-
571
-
572
- 1089</pre>
573
- </td>
574
- <td>
575
- <pre class="code"><span class="info file"># File 'motion-game', line 1089</span>
576
-
577
- <span class='kw'>def</span> <span class='op'>+</span><span class='lparen'>(</span><span class='id identifier rubyid_size'>size</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
578
- </td>
579
- </tr>
580
- </table>
581
- </div>
582
-
583
- <div class="method_details ">
584
- <h3 class="signature " id="--instance_method">
585
-
586
- #<strong>-</strong>(size) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>
587
-
588
-
589
-
590
-
591
-
592
- </h3><div class="docstring">
593
- <div class="discussion">
594
-
595
- <p>Substracts the dimensions of the receiver with the dimensions of the given
596
- size object.</p>
597
-
598
-
599
- </div>
600
- </div>
601
- <div class="tags">
602
- <p class="tag_title">Parameters:</p>
603
- <ul class="param">
604
-
605
- <li>
606
-
607
- <span class='name'>size</span>
608
-
609
-
610
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>)</span>
611
-
612
-
613
-
614
- </li>
615
-
616
- </ul>
617
-
618
- <p class="tag_title">Returns:</p>
619
- <ul class="return">
620
-
621
- <li>
622
-
623
-
624
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>)</span>
625
-
626
-
627
-
628
- &mdash;
629
- <div class='inline'>
630
- <p>a new Size object.</p>
631
- </div>
632
-
633
- </li>
634
-
635
- </ul>
636
-
637
- </div><table class="source_code">
638
- <tr>
639
- <td>
640
- <pre class="lines">
641
-
642
-
643
- 1095</pre>
644
- </td>
645
- <td>
646
- <pre class="code"><span class="info file"># File 'motion-game', line 1095</span>
647
-
648
- <span class='kw'>def</span> <span class='op'>-</span><span class='lparen'>(</span><span class='id identifier rubyid_size'>size</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
649
- </td>
650
- </tr>
651
- </table>
652
- </div>
653
-
654
- <div class="method_details ">
655
- <h3 class="signature " id="/-instance_method">
656
-
657
- #<strong>/</strong>(delta) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>
658
-
659
-
660
-
661
-
662
-
663
- </h3><div class="docstring">
664
- <div class="discussion">
665
-
666
- <p>Divides the dimensions of the receiver with the given number.</p>
667
-
668
-
669
- </div>
670
- </div>
671
- <div class="tags">
672
- <p class="tag_title">Parameters:</p>
673
- <ul class="param">
674
-
675
- <li>
676
-
677
- <span class='name'>delta</span>
678
-
679
-
680
- <span class='type'>(<tt>Float</tt>)</span>
681
-
682
-
683
-
684
- &mdash;
685
- <div class='inline'>
686
- <p>the number to divide the receiver with.</p>
687
- </div>
688
-
689
- </li>
690
-
691
- </ul>
692
-
693
- <p class="tag_title">Returns:</p>
694
- <ul class="return">
695
-
696
- <li>
697
-
698
-
699
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>)</span>
700
-
701
-
702
-
703
- &mdash;
704
- <div class='inline'>
705
- <p>a new Size object.</p>
706
- </div>
707
-
708
- </li>
709
-
710
- </ul>
711
-
712
- </div><table class="source_code">
713
- <tr>
714
- <td>
715
- <pre class="lines">
716
-
717
-
718
- 1100</pre>
719
- </td>
720
- <td>
721
- <pre class="code"><span class="info file"># File 'motion-game', line 1100</span>
722
-
723
- <span class='kw'>def</span> <span class='op'>/</span><span class='lparen'>(</span><span class='id identifier rubyid_delta'>delta</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
724
- </td>
725
- </tr>
726
- </table>
727
- </div>
728
-
729
- </div>
730
-
731
- </div>
732
-
733
- <div id="footer">
734
- Generated on Sun Dec 11 16:38:30 2016 by
735
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
736
- 0.9.5 (ruby-2.3.3).
737
- </div>
738
-
739
- </div>
740
- </body>
741
- </html>