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
@@ -1,239 +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::DelayTime
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::DelayTime";
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 (D)</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">DelayTime</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::DelayTime
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::DelayTime</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>(interval) &#x21d2; DelayTime </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 delays the action a certain amount of seconds.</p>
147
- </div></span>
148
-
149
- </li>
150
-
151
-
152
- </ul>
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
164
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span></h3>
165
- <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>
166
- <div id="constructor_details" class="method_details_list">
167
- <h2>Constructor Details</h2>
168
-
169
- <div class="method_details first">
170
- <h3 class="signature first" id="initialize-instance_method">
171
-
172
- #<strong>initialize</strong>(interval) &#x21d2; <tt><span class='object_link'><a href="" title="MG::DelayTime (class)">DelayTime</a></span></tt>
173
-
174
-
175
-
176
-
177
-
178
- </h3><div class="docstring">
179
- <div class="discussion">
180
-
181
- <p>Creates an action that delays the action a certain amount of seconds.</p>
182
-
183
-
184
- </div>
185
- </div>
186
- <div class="tags">
187
- <p class="tag_title">Parameters:</p>
188
- <ul class="param">
189
-
190
- <li>
191
-
192
- <span class='name'>interval</span>
193
-
194
-
195
- <span class='type'>(<tt>Float</tt>)</span>
196
-
197
-
198
-
199
- &mdash;
200
- <div class='inline'>
201
- <p>the interval to delay.</p>
202
- </div>
203
-
204
- </li>
205
-
206
- </ul>
207
-
208
-
209
- </div><table class="source_code">
210
- <tr>
211
- <td>
212
- <pre class="lines">
213
-
214
-
215
- 283</pre>
216
- </td>
217
- <td>
218
- <pre class="code"><span class="info file"># File 'motion-game', line 283</span>
219
-
220
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_interval'>interval</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
221
- </td>
222
- </tr>
223
- </table>
224
- </div>
225
-
226
- </div>
227
-
228
-
229
- </div>
230
-
231
- <div id="footer">
232
- Generated on Sun Dec 11 16:38:29 2016 by
233
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
234
- 0.9.5 (ruby-2.3.3).
235
- </div>
236
-
237
- </div>
238
- </body>
239
- </html>
data/doc/MG/Director.html DELETED
@@ -1,1301 +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::Director
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::Director";
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 (D)</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">Director</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::Director
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::Director</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>Director is a shared object that takes care of the scene graph.</p>
108
-
109
-
110
- </div>
111
- </div>
112
- <div class="tags">
113
-
114
-
115
- </div>
116
-
117
-
118
-
119
- <h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
120
- <ul class="summary">
121
-
122
- <li class="public ">
123
- <span class="summary_signature">
124
-
125
- <a href="#origin-instance_method" title="#origin (instance method)">#<strong>origin</strong> &#x21d2; Point </a>
126
-
127
-
128
-
129
- </span>
130
-
131
-
132
-
133
-
134
- <span class="note title readonly">readonly</span>
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
- <span class="summary_desc"><div class='inline'>
145
- <p>The visible origin of the director view in points.</p>
146
- </div></span>
147
-
148
- </li>
149
-
150
-
151
- <li class="public ">
152
- <span class="summary_signature">
153
-
154
- <a href="#show_stats%3F-instance_method" title="#show_stats? (instance method)">#<strong>show_stats?</strong> &#x21d2; Boolean </a>
155
-
156
-
157
-
158
- </span>
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
- <span class="summary_desc"><div class='inline'>
172
- <p>Controls whether the FPS (frame-per-second) statistic label is displayed in
173
- the bottom-left corner of the director view.</p>
174
- </div></span>
175
-
176
- </li>
177
-
178
-
179
- <li class="public ">
180
- <span class="summary_signature">
181
-
182
- <a href="#size-instance_method" title="#size (instance method)">#<strong>size</strong> &#x21d2; Size </a>
183
-
184
-
185
-
186
- </span>
187
-
188
-
189
-
190
-
191
- <span class="note title readonly">readonly</span>
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
- <span class="summary_desc"><div class='inline'>
202
- <p>The visible size of the director view in points.</p>
203
- </div></span>
204
-
205
- </li>
206
-
207
-
208
- </ul>
209
-
210
-
211
-
212
-
213
-
214
- <h2>
215
- Constructors
216
- <small><a href="#" class="summary_toggle">collapse</a></small>
217
- </h2>
218
-
219
- <ul class="summary">
220
-
221
- <li class="public ">
222
- <span class="summary_signature">
223
-
224
- <a href="#shared-class_method" title="shared (class method)">.<strong>shared</strong> &#x21d2; Director </a>
225
-
226
-
227
-
228
- </span>
229
-
230
-
231
-
232
-
233
-
234
-
235
-
236
-
237
-
238
- <span class="summary_desc"><div class='inline'>
239
- <p>The shared Director instance.</p>
240
- </div></span>
241
-
242
- </li>
243
-
244
-
245
- </ul>
246
-
247
- <h2>
248
- Managing Scenes
249
- <small><a href="#" class="summary_toggle">collapse</a></small>
250
- </h2>
251
-
252
- <ul class="summary">
253
-
254
- <li class="public ">
255
- <span class="summary_signature">
256
-
257
- <a href="#end-instance_method" title="#end (instance method)">#<strong>end</strong> &#x21d2; Director </a>
258
-
259
-
260
-
261
- </span>
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
- <span class="summary_desc"><div class='inline'>
272
- <p>Ends the execution of the running scene.</p>
273
- </div></span>
274
-
275
- </li>
276
-
277
-
278
- <li class="public ">
279
- <span class="summary_signature">
280
-
281
- <a href="#pause-instance_method" title="#pause (instance method)">#<strong>pause</strong> &#x21d2; Director </a>
282
-
283
-
284
-
285
- </span>
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
-
294
-
295
- <span class="summary_desc"><div class='inline'>
296
- <p>Pauses the execution of the running scene.</p>
297
- </div></span>
298
-
299
- </li>
300
-
301
-
302
- <li class="public ">
303
- <span class="summary_signature">
304
-
305
- <a href="#pop-instance_method" title="#pop (instance method)">#<strong>pop</strong> &#x21d2; Director </a>
306
-
307
-
308
-
309
- </span>
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
-
318
-
319
- <span class="summary_desc"><div class='inline'>
320
- <p>Pops the running scene from the stack, and starts running the previous
321
- scene.</p>
322
- </div></span>
323
-
324
- </li>
325
-
326
-
327
- <li class="public ">
328
- <span class="summary_signature">
329
-
330
- <a href="#push-instance_method" title="#push (instance method)">#<strong>push</strong>(scene) &#x21d2; Director </a>
331
-
332
-
333
-
334
- </span>
335
-
336
-
337
-
338
-
339
-
340
-
341
-
342
-
343
-
344
- <span class="summary_desc"><div class='inline'>
345
- <p>Suspends the execution of the running scene, and starts running the given
346
- scene instead.</p>
347
- </div></span>
348
-
349
- </li>
350
-
351
-
352
- <li class="public ">
353
- <span class="summary_signature">
354
-
355
- <a href="#replace-instance_method" title="#replace (instance method)">#<strong>replace</strong>(scene) &#x21d2; Director </a>
356
-
357
-
358
-
359
- </span>
360
-
361
-
362
-
363
-
364
-
365
-
366
-
367
-
368
-
369
- <span class="summary_desc"><div class='inline'>
370
- <p>Replaces the current scene with a new one.</p>
371
- </div></span>
372
-
373
- </li>
374
-
375
-
376
- <li class="public ">
377
- <span class="summary_signature">
378
-
379
- <a href="#resume-instance_method" title="#resume (instance method)">#<strong>resume</strong> &#x21d2; Director </a>
380
-
381
-
382
-
383
- </span>
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
- <span class="summary_desc"><div class='inline'>
394
- <p>Resumes the execution of the current paused scene.</p>
395
- </div></span>
396
-
397
- </li>
398
-
399
-
400
- <li class="public ">
401
- <span class="summary_signature">
402
-
403
- <a href="#run-instance_method" title="#run (instance method)">#<strong>run</strong>(scene) &#x21d2; Director </a>
404
-
405
-
406
-
407
- </span>
408
-
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
-
417
- <span class="summary_desc"><div class='inline'>
418
- <p>Runs the given scene object.</p>
419
- </div></span>
420
-
421
- </li>
422
-
423
-
424
- <li class="public ">
425
- <span class="summary_signature">
426
-
427
- <a href="#start_animation-instance_method" title="#start_animation (instance method)">#<strong>start_animation</strong> &#x21d2; Director </a>
428
-
429
-
430
-
431
- </span>
432
-
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440
-
441
- <span class="summary_desc"><div class='inline'>
442
- <p>The main loop is triggered again.</p>
443
- </div></span>
444
-
445
- </li>
446
-
447
-
448
- <li class="public ">
449
- <span class="summary_signature">
450
-
451
- <a href="#stop_animation-instance_method" title="#stop_animation (instance method)">#<strong>stop_animation</strong> &#x21d2; Director </a>
452
-
453
-
454
-
455
- </span>
456
-
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
- <span class="summary_desc"><div class='inline'>
466
- <p>Stops the animation.</p>
467
- </div></span>
468
-
469
- </li>
470
-
471
-
472
- </ul>
473
-
474
-
475
-
476
- <div id="instance_attr_details" class="attr_details">
477
- <h2>Instance Attribute Details</h2>
478
-
479
-
480
- <span id=""></span>
481
- <div class="method_details first">
482
- <h3 class="signature first" id="origin-instance_method">
483
-
484
- #<strong>origin</strong> &#x21d2; <tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt> <span class="extras">(readonly)</span>
485
-
486
-
487
-
488
-
489
-
490
- </h3><div class="docstring">
491
- <div class="discussion">
492
-
493
- <p>Returns the visible origin of the director view in points.</p>
494
-
495
-
496
- </div>
497
- </div>
498
- <div class="tags">
499
-
500
- <p class="tag_title">Returns:</p>
501
- <ul class="return">
502
-
503
- <li>
504
-
505
-
506
- <span class='type'>(<tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>)</span>
507
-
508
-
509
-
510
- &mdash;
511
- <div class='inline'>
512
- <p>the visible origin of the director view in points.</p>
513
- </div>
514
-
515
- </li>
516
-
517
- </ul>
518
-
519
- </div><table class="source_code">
520
- <tr>
521
- <td>
522
- <pre class="lines">
523
-
524
-
525
- 490
526
- 491
527
- 492</pre>
528
- </td>
529
- <td>
530
- <pre class="code"><span class="info file"># File 'motion-game', line 490</span>
531
-
532
- <span class='kw'>def</span> <span class='id identifier rubyid_origin'>origin</span>
533
- <span class='ivar'>@origin</span>
534
- <span class='kw'>end</span></pre>
535
- </td>
536
- </tr>
537
- </table>
538
- </div>
539
-
540
-
541
- <span id="show_stats?=-instance_method"></span>
542
- <div class="method_details ">
543
- <h3 class="signature " id="show_stats?-instance_method">
544
-
545
- #<strong>show_stats?</strong> &#x21d2; <tt>Boolean</tt>
546
-
547
-
548
-
549
-
550
-
551
- </h3><div class="docstring">
552
- <div class="discussion">
553
-
554
- <p>Controls whether the FPS (frame-per-second) statistic label is displayed in
555
- the bottom-left corner of the director view. By default it is hidden.</p>
556
-
557
-
558
- </div>
559
- </div>
560
- <div class="tags">
561
-
562
- <p class="tag_title">Returns:</p>
563
- <ul class="return">
564
-
565
- <li>
566
-
567
-
568
- <span class='type'>(<tt>Boolean</tt>)</span>
569
-
570
-
571
-
572
- &mdash;
573
- <div class='inline'>
574
- <p>whether the FPS label is displayed.</p>
575
- </div>
576
-
577
- </li>
578
-
579
- </ul>
580
-
581
- </div><table class="source_code">
582
- <tr>
583
- <td>
584
- <pre class="lines">
585
-
586
-
587
- 498
588
- 499
589
- 500</pre>
590
- </td>
591
- <td>
592
- <pre class="code"><span class="info file"># File 'motion-game', line 498</span>
593
-
594
- def show_stats?
595
- @show_stats?
596
- end</pre>
597
- </td>
598
- </tr>
599
- </table>
600
- </div>
601
-
602
-
603
- <span id=""></span>
604
- <div class="method_details ">
605
- <h3 class="signature " id="size-instance_method">
606
-
607
- #<strong>size</strong> &#x21d2; <tt><span class='object_link'><a href="Size.html" title="MG::Size (class)">Size</a></span></tt> <span class="extras">(readonly)</span>
608
-
609
-
610
-
611
-
612
-
613
- </h3><div class="docstring">
614
- <div class="discussion">
615
-
616
- <p>Returns the visible size of the director view in points.</p>
617
-
618
-
619
- </div>
620
- </div>
621
- <div class="tags">
622
-
623
- <p class="tag_title">Returns:</p>
624
- <ul class="return">
625
-
626
- <li>
627
-
628
-
629
- <span class='type'>(<tt><span class='object_link'><a href="Size.html" title="MG::Size (class)">Size</a></span></tt>)</span>
630
-
631
-
632
-
633
- &mdash;
634
- <div class='inline'>
635
- <p>the visible size of the director view in points.</p>
636
- </div>
637
-
638
- </li>
639
-
640
- </ul>
641
-
642
- </div><table class="source_code">
643
- <tr>
644
- <td>
645
- <pre class="lines">
646
-
647
-
648
- 493
649
- 494
650
- 495</pre>
651
- </td>
652
- <td>
653
- <pre class="code"><span class="info file"># File 'motion-game', line 493</span>
654
-
655
- <span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span>
656
- <span class='ivar'>@size</span>
657
- <span class='kw'>end</span></pre>
658
- </td>
659
- </tr>
660
- </table>
661
- </div>
662
-
663
- </div>
664
-
665
-
666
- <div id="class_method_details" class="method_details_list">
667
- <h2>Class Method Details</h2>
668
-
669
-
670
- <div class="method_details first">
671
- <h3 class="signature first" id="shared-class_method">
672
-
673
- .<strong>shared</strong> &#x21d2; <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
674
-
675
-
676
-
677
-
678
-
679
- </h3><div class="docstring">
680
- <div class="discussion">
681
-
682
- <p>Returns the shared Director instance.</p>
683
-
684
-
685
- </div>
686
- </div>
687
- <div class="tags">
688
-
689
- <p class="tag_title">Returns:</p>
690
- <ul class="return">
691
-
692
- <li>
693
-
694
-
695
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
696
-
697
-
698
-
699
- &mdash;
700
- <div class='inline'>
701
- <p>the shared Director instance.</p>
702
- </div>
703
-
704
- </li>
705
-
706
- </ul>
707
-
708
- </div><table class="source_code">
709
- <tr>
710
- <td>
711
- <pre class="lines">
712
-
713
-
714
- 439</pre>
715
- </td>
716
- <td>
717
- <pre class="code"><span class="info file"># File 'motion-game', line 439</span>
718
-
719
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_shared'>shared</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
720
- </td>
721
- </tr>
722
- </table>
723
- </div>
724
-
725
- </div>
726
-
727
- <div id="instance_method_details" class="method_details_list">
728
- <h2>Instance Method Details</h2>
729
-
730
-
731
- <div class="method_details first">
732
- <h3 class="signature first" id="end-instance_method">
733
-
734
- #<strong>end</strong> &#x21d2; <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
735
-
736
-
737
-
738
-
739
-
740
- </h3><div class="docstring">
741
- <div class="discussion">
742
-
743
- <p>Ends the execution of the running scene.</p>
744
-
745
-
746
- </div>
747
- </div>
748
- <div class="tags">
749
-
750
- <p class="tag_title">Returns:</p>
751
- <ul class="return">
752
-
753
- <li>
754
-
755
-
756
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
757
-
758
-
759
-
760
- &mdash;
761
- <div class='inline'>
762
- <p>the receiver.</p>
763
- </div>
764
-
765
- </li>
766
-
767
- </ul>
768
-
769
- </div><table class="source_code">
770
- <tr>
771
- <td>
772
- <pre class="lines">
773
-
774
-
775
- 468</pre>
776
- </td>
777
- <td>
778
- <pre class="code"><span class="info file"># File 'motion-game', line 468</span>
779
-
780
- <span class='kw'>def</span> <span class='kw'>end</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
781
- </td>
782
- </tr>
783
- </table>
784
- </div>
785
-
786
- <div class="method_details ">
787
- <h3 class="signature " id="pause-instance_method">
788
-
789
- #<strong>pause</strong> &#x21d2; <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
790
-
791
-
792
-
793
-
794
-
795
- </h3><div class="docstring">
796
- <div class="discussion">
797
-
798
- <p>Pauses the execution of the running scene.</p>
799
-
800
-
801
- </div>
802
- </div>
803
- <div class="tags">
804
-
805
- <p class="tag_title">Returns:</p>
806
- <ul class="return">
807
-
808
- <li>
809
-
810
-
811
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
812
-
813
-
814
-
815
- &mdash;
816
- <div class='inline'>
817
- <p>the receiver.</p>
818
- </div>
819
-
820
- </li>
821
-
822
- </ul>
823
-
824
- </div><table class="source_code">
825
- <tr>
826
- <td>
827
- <pre class="lines">
828
-
829
-
830
- 472</pre>
831
- </td>
832
- <td>
833
- <pre class="code"><span class="info file"># File 'motion-game', line 472</span>
834
-
835
- <span class='kw'>def</span> <span class='id identifier rubyid_pause'>pause</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
836
- </td>
837
- </tr>
838
- </table>
839
- </div>
840
-
841
- <div class="method_details ">
842
- <h3 class="signature " id="pop-instance_method">
843
-
844
- #<strong>pop</strong> &#x21d2; <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
845
-
846
-
847
-
848
-
849
-
850
- </h3><div class="docstring">
851
- <div class="discussion">
852
-
853
- <p>Pops the running scene from the stack, and starts running the previous
854
- scene. If there are no more scenes to run, the execution will be stopped.</p>
855
-
856
-
857
- </div>
858
- </div>
859
- <div class="tags">
860
-
861
- <p class="tag_title">Returns:</p>
862
- <ul class="return">
863
-
864
- <li>
865
-
866
-
867
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
868
-
869
-
870
-
871
- &mdash;
872
- <div class='inline'>
873
- <p>the receiver.</p>
874
- </div>
875
-
876
- </li>
877
-
878
- </ul>
879
-
880
- </div><table class="source_code">
881
- <tr>
882
- <td>
883
- <pre class="lines">
884
-
885
-
886
- 464</pre>
887
- </td>
888
- <td>
889
- <pre class="code"><span class="info file"># File 'motion-game', line 464</span>
890
-
891
- <span class='kw'>def</span> <span class='id identifier rubyid_pop'>pop</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
892
- </td>
893
- </tr>
894
- </table>
895
- </div>
896
-
897
- <div class="method_details ">
898
- <h3 class="signature " id="push-instance_method">
899
-
900
- #<strong>push</strong>(scene) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
901
-
902
-
903
-
904
-
905
-
906
- </h3><div class="docstring">
907
- <div class="discussion">
908
-
909
- <p>Suspends the execution of the running scene, and starts running the given
910
- scene instead.</p>
911
-
912
-
913
- </div>
914
- </div>
915
- <div class="tags">
916
- <p class="tag_title">Parameters:</p>
917
- <ul class="param">
918
-
919
- <li>
920
-
921
- <span class='name'>scene</span>
922
-
923
-
924
- <span class='type'>(<tt><span class='object_link'><a href="Scene.html" title="MG::Scene (class)">Scene</a></span></tt>)</span>
925
-
926
-
927
-
928
- &mdash;
929
- <div class='inline'>
930
- <p>the new scene to run.</p>
931
- </div>
932
-
933
- </li>
934
-
935
- </ul>
936
-
937
- <p class="tag_title">Returns:</p>
938
- <ul class="return">
939
-
940
- <li>
941
-
942
-
943
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
944
-
945
-
946
-
947
- &mdash;
948
- <div class='inline'>
949
- <p>the receiver.</p>
950
- </div>
951
-
952
- </li>
953
-
954
- </ul>
955
-
956
- </div><table class="source_code">
957
- <tr>
958
- <td>
959
- <pre class="lines">
960
-
961
-
962
- 459</pre>
963
- </td>
964
- <td>
965
- <pre class="code"><span class="info file"># File 'motion-game', line 459</span>
966
-
967
- <span class='kw'>def</span> <span class='id identifier rubyid_push'>push</span><span class='lparen'>(</span><span class='id identifier rubyid_scene'>scene</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
968
- </td>
969
- </tr>
970
- </table>
971
- </div>
972
-
973
- <div class="method_details ">
974
- <h3 class="signature " id="replace-instance_method">
975
-
976
- #<strong>replace</strong>(scene) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
977
-
978
-
979
-
980
-
981
-
982
- </h3><div class="docstring">
983
- <div class="discussion">
984
-
985
- <p>Replaces the current scene with a new one. The running scene will be
986
- terminated.</p>
987
-
988
-
989
- </div>
990
- </div>
991
- <div class="tags">
992
- <p class="tag_title">Parameters:</p>
993
- <ul class="param">
994
-
995
- <li>
996
-
997
- <span class='name'>scene</span>
998
-
999
-
1000
- <span class='type'>(<tt><span class='object_link'><a href="Scene.html" title="MG::Scene (class)">Scene</a></span></tt>)</span>
1001
-
1002
-
1003
-
1004
- &mdash;
1005
- <div class='inline'>
1006
- <p>the scene to replace the current one with.</p>
1007
- </div>
1008
-
1009
- </li>
1010
-
1011
- </ul>
1012
-
1013
- <p class="tag_title">Returns:</p>
1014
- <ul class="return">
1015
-
1016
- <li>
1017
-
1018
-
1019
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
1020
-
1021
-
1022
-
1023
- &mdash;
1024
- <div class='inline'>
1025
- <p>the receiver.</p>
1026
- </div>
1027
-
1028
- </li>
1029
-
1030
- </ul>
1031
-
1032
- </div><table class="source_code">
1033
- <tr>
1034
- <td>
1035
- <pre class="lines">
1036
-
1037
-
1038
- 453</pre>
1039
- </td>
1040
- <td>
1041
- <pre class="code"><span class="info file"># File 'motion-game', line 453</span>
1042
-
1043
- <span class='kw'>def</span> <span class='id identifier rubyid_replace'>replace</span><span class='lparen'>(</span><span class='id identifier rubyid_scene'>scene</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1044
- </td>
1045
- </tr>
1046
- </table>
1047
- </div>
1048
-
1049
- <div class="method_details ">
1050
- <h3 class="signature " id="resume-instance_method">
1051
-
1052
- #<strong>resume</strong> &#x21d2; <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
1053
-
1054
-
1055
-
1056
-
1057
-
1058
- </h3><div class="docstring">
1059
- <div class="discussion">
1060
-
1061
- <p>Resumes the execution of the current paused scene.</p>
1062
-
1063
-
1064
- </div>
1065
- </div>
1066
- <div class="tags">
1067
-
1068
- <p class="tag_title">Returns:</p>
1069
- <ul class="return">
1070
-
1071
- <li>
1072
-
1073
-
1074
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
1075
-
1076
-
1077
-
1078
- &mdash;
1079
- <div class='inline'>
1080
- <p>the receiver.</p>
1081
- </div>
1082
-
1083
- </li>
1084
-
1085
- </ul>
1086
-
1087
- </div><table class="source_code">
1088
- <tr>
1089
- <td>
1090
- <pre class="lines">
1091
-
1092
-
1093
- 476</pre>
1094
- </td>
1095
- <td>
1096
- <pre class="code"><span class="info file"># File 'motion-game', line 476</span>
1097
-
1098
- <span class='kw'>def</span> <span class='id identifier rubyid_resume'>resume</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1099
- </td>
1100
- </tr>
1101
- </table>
1102
- </div>
1103
-
1104
- <div class="method_details ">
1105
- <h3 class="signature " id="run-instance_method">
1106
-
1107
- #<strong>run</strong>(scene) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
1108
-
1109
-
1110
-
1111
-
1112
-
1113
- </h3><div class="docstring">
1114
- <div class="discussion">
1115
-
1116
- <p>Runs the given scene object.</p>
1117
-
1118
-
1119
- </div>
1120
- </div>
1121
- <div class="tags">
1122
- <p class="tag_title">Parameters:</p>
1123
- <ul class="param">
1124
-
1125
- <li>
1126
-
1127
- <span class='name'>scene</span>
1128
-
1129
-
1130
- <span class='type'>(<tt><span class='object_link'><a href="Scene.html" title="MG::Scene (class)">Scene</a></span></tt>)</span>
1131
-
1132
-
1133
-
1134
- &mdash;
1135
- <div class='inline'>
1136
- <p>the scene to run.</p>
1137
- </div>
1138
-
1139
- </li>
1140
-
1141
- </ul>
1142
-
1143
- <p class="tag_title">Returns:</p>
1144
- <ul class="return">
1145
-
1146
- <li>
1147
-
1148
-
1149
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
1150
-
1151
-
1152
-
1153
- &mdash;
1154
- <div class='inline'>
1155
- <p>the receiver.</p>
1156
- </div>
1157
-
1158
- </li>
1159
-
1160
- </ul>
1161
-
1162
- </div><table class="source_code">
1163
- <tr>
1164
- <td>
1165
- <pre class="lines">
1166
-
1167
-
1168
- 447</pre>
1169
- </td>
1170
- <td>
1171
- <pre class="code"><span class="info file"># File 'motion-game', line 447</span>
1172
-
1173
- <span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span><span class='id identifier rubyid_scene'>scene</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1174
- </td>
1175
- </tr>
1176
- </table>
1177
- </div>
1178
-
1179
- <div class="method_details ">
1180
- <h3 class="signature " id="start_animation-instance_method">
1181
-
1182
- #<strong>start_animation</strong> &#x21d2; <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
1183
-
1184
-
1185
-
1186
-
1187
-
1188
- </h3><div class="docstring">
1189
- <div class="discussion">
1190
-
1191
- <p>The main loop is triggered again.</p>
1192
-
1193
-
1194
- </div>
1195
- </div>
1196
- <div class="tags">
1197
-
1198
- <p class="tag_title">Returns:</p>
1199
- <ul class="return">
1200
-
1201
- <li>
1202
-
1203
-
1204
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
1205
-
1206
-
1207
-
1208
- &mdash;
1209
- <div class='inline'>
1210
- <p>the receiver.</p>
1211
- </div>
1212
-
1213
- </li>
1214
-
1215
- </ul>
1216
-
1217
- </div><table class="source_code">
1218
- <tr>
1219
- <td>
1220
- <pre class="lines">
1221
-
1222
-
1223
- 480</pre>
1224
- </td>
1225
- <td>
1226
- <pre class="code"><span class="info file"># File 'motion-game', line 480</span>
1227
-
1228
- <span class='kw'>def</span> <span class='id identifier rubyid_start_animation'>start_animation</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1229
- </td>
1230
- </tr>
1231
- </table>
1232
- </div>
1233
-
1234
- <div class="method_details ">
1235
- <h3 class="signature " id="stop_animation-instance_method">
1236
-
1237
- #<strong>stop_animation</strong> &#x21d2; <tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>
1238
-
1239
-
1240
-
1241
-
1242
-
1243
- </h3><div class="docstring">
1244
- <div class="discussion">
1245
-
1246
- <p>Stops the animation.</p>
1247
-
1248
-
1249
- </div>
1250
- </div>
1251
- <div class="tags">
1252
-
1253
- <p class="tag_title">Returns:</p>
1254
- <ul class="return">
1255
-
1256
- <li>
1257
-
1258
-
1259
- <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Director (class)">Director</a></span></tt>)</span>
1260
-
1261
-
1262
-
1263
- &mdash;
1264
- <div class='inline'>
1265
- <p>the receiver.</p>
1266
- </div>
1267
-
1268
- </li>
1269
-
1270
- </ul>
1271
-
1272
- </div><table class="source_code">
1273
- <tr>
1274
- <td>
1275
- <pre class="lines">
1276
-
1277
-
1278
- 484</pre>
1279
- </td>
1280
- <td>
1281
- <pre class="code"><span class="info file"># File 'motion-game', line 484</span>
1282
-
1283
- <span class='kw'>def</span> <span class='id identifier rubyid_stop_animation'>stop_animation</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1284
- </td>
1285
- </tr>
1286
- </table>
1287
- </div>
1288
-
1289
- </div>
1290
-
1291
- </div>
1292
-
1293
- <div id="footer">
1294
- Generated on Sun Dec 11 16:38:29 2016 by
1295
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1296
- 0.9.5 (ruby-2.3.3).
1297
- </div>
1298
-
1299
- </div>
1300
- </body>
1301
- </html>