motion-game 1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +7 -0
  2. data/build/android/armeabi/libchipmunk.a +0 -0
  3. data/build/android/armeabi/libcrypto.a +0 -0
  4. data/build/android/armeabi/libcurl.a +0 -0
  5. data/build/android/armeabi/libfreetype.a +0 -0
  6. data/build/android/armeabi/libjpeg.a +0 -0
  7. data/build/android/armeabi/libmotion-cocos.a +0 -0
  8. data/build/android/armeabi/libpng.a +0 -0
  9. data/build/android/armeabi/libssl.a +0 -0
  10. data/build/android/armeabi/libtiff.a +0 -0
  11. data/build/android/armeabi/libwebp.a +0 -0
  12. data/build/android/armeabi/libwebsockets.a +0 -0
  13. data/build/android/motion-cocos.jar +0 -0
  14. data/build/android/x86/libchipmunk.a +0 -0
  15. data/build/android/x86/libcrypto.a +0 -0
  16. data/build/android/x86/libcurl.a +0 -0
  17. data/build/android/x86/libfreetype.a +0 -0
  18. data/build/android/x86/libjpeg.a +0 -0
  19. data/build/android/x86/libmotion-cocos.a +0 -0
  20. data/build/android/x86/libpng.a +0 -0
  21. data/build/android/x86/libssl.a +0 -0
  22. data/build/android/x86/libtiff.a +0 -0
  23. data/build/android/x86/libwebp.a +0 -0
  24. data/build/android/x86/libwebsockets.a +0 -0
  25. data/build/ios/libchipmunk.a +0 -0
  26. data/build/ios/libcurl.a +0 -0
  27. data/build/ios/libfreetype.a +0 -0
  28. data/build/ios/libjpeg.a +0 -0
  29. data/build/ios/libmotion-cocos.a +0 -0
  30. data/build/ios/libpng.a +0 -0
  31. data/build/ios/libtiff.a +0 -0
  32. data/build/ios/libwebp.a +0 -0
  33. data/build/ios/libwebsockets.a +0 -0
  34. data/doc/MG.html +129 -0
  35. data/doc/MG/Application.html +332 -0
  36. data/doc/MG/Audio.html +1049 -0
  37. data/doc/MG/Button.html +722 -0
  38. data/doc/MG/Color.html +528 -0
  39. data/doc/MG/Director.html +1140 -0
  40. data/doc/MG/Draw.html +437 -0
  41. data/doc/MG/Events.html +127 -0
  42. data/doc/MG/Events/Acceleration.html +502 -0
  43. data/doc/MG/Events/Touch.html +232 -0
  44. data/doc/MG/Layout.html +513 -0
  45. data/doc/MG/List.html +1050 -0
  46. data/doc/MG/Node.html +1752 -0
  47. data/doc/MG/Parallax.html +294 -0
  48. data/doc/MG/Particle.html +1221 -0
  49. data/doc/MG/Point.html +540 -0
  50. data/doc/MG/Scene.html +1250 -0
  51. data/doc/MG/Scroll.html +530 -0
  52. data/doc/MG/Size.html +737 -0
  53. data/doc/MG/Slider.html +335 -0
  54. data/doc/MG/Sprite.html +2066 -0
  55. data/doc/MG/Text.html +918 -0
  56. data/doc/MG/Web.html +828 -0
  57. data/doc/MG/Widget.html +460 -0
  58. data/doc/_index.html +362 -0
  59. data/doc/class_list.html +58 -0
  60. data/doc/css/common.css +1 -0
  61. data/doc/css/full_list.css +57 -0
  62. data/doc/css/style.css +339 -0
  63. data/doc/file.README.html +114 -0
  64. data/doc/file_list.html +60 -0
  65. data/doc/frames.html +26 -0
  66. data/doc/index.html +114 -0
  67. data/doc/js/app.js +219 -0
  68. data/doc/js/full_list.js +181 -0
  69. data/doc/js/jquery.js +4 -0
  70. data/doc/method_list.html +933 -0
  71. data/doc/top-level-namespace.html +112 -0
  72. data/lib/motion-game.rb +1 -0
  73. data/lib/motion-game/android.rb +23 -0
  74. data/lib/motion-game/android/main_activity.rb +2 -0
  75. data/lib/motion-game/ios.rb +14 -0
  76. data/lib/motion-game/ios/app_delegate.rb +20 -0
  77. data/lib/motion-game/ios/root_view_controller.rb +14 -0
  78. data/lib/motion-game/project.rb +1 -0
  79. data/lib/motion-game/shortcuts.rb +177 -0
  80. data/template/motion-game/files/Gemfile +5 -0
  81. data/template/motion-game/files/Rakefile +12 -0
  82. data/template/motion-game/files/app/application.rb +5 -0
  83. data/template/motion-game/files/app/main_scene.rb +7 -0
  84. data/template/motion-game/files/config/android.rb.erb +6 -0
  85. data/template/motion-game/files/config/ios.rb.erb +6 -0
  86. metadata +130 -0
@@ -0,0 +1,722 @@
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">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: MG::Button
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
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
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../';
20
+ framesUrl = "../frames.html#!MG/Button.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../_index.html">Index (B)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
36
+ &raquo;
37
+ <span class="title">Button</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ 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
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: MG::Button
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next"><span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></li>
82
+
83
+ <li class="next"><span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></li>
84
+
85
+ <li class="next">MG::Button</li>
86
+
87
+ </ul>
88
+ <a href="#" class="inheritanceTree">show all</a>
89
+
90
+ </dd>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dt class="r2 last">Defined in:</dt>
101
+ <dd class="r2 last">motion-game</dd>
102
+
103
+ </dl>
104
+ <div class="clear"></div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+
109
+ <p>A button widget. The <span class='object_link'><a href="Widget.html#on_touch-instance_method" title="MG::Widget#on_touch (method)">Widget#on_touch</a></span> method can be used to set a callback when
110
+ the button is activated. Example:</p>
111
+
112
+ <pre class="ruby"><span class="ruby-identifier">button</span> = <span class="ruby-constant">Button</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&quot;Touch me!&quot;</span>)
113
+ <span class="ruby-identifier">button</span>.<span class="ruby-identifier">on_touch</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">type</span><span class="ruby-operator">|</span> <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;touched!&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> :<span class="ruby-keyword">end</span> }
114
+ </pre>
115
+
116
+
117
+ </div>
118
+ </div>
119
+ <div class="tags">
120
+
121
+
122
+ </div>
123
+
124
+
125
+
126
+ <h2>Properties <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
127
+ <ul class="summary">
128
+
129
+ <li class="public ">
130
+ <span class="summary_signature">
131
+
132
+ <a href="#font-instance_method" title="#font (instance method)">- (String) <strong>font</strong> </a>
133
+
134
+
135
+
136
+ </span>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+ <span class="summary_desc"><div class='inline'>
150
+ <p>Name of the font used for the button title.</p>
151
+ </div></span>
152
+
153
+ </li>
154
+
155
+
156
+ <li class="public ">
157
+ <span class="summary_signature">
158
+
159
+ <a href="#font_size-instance_method" title="#font_size (instance method)">- (Integer) <strong>font_size</strong> </a>
160
+
161
+
162
+
163
+ </span>
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ <span class="summary_desc"><div class='inline'>
177
+ <p>Size of the font used by for button title.</p>
178
+ </div></span>
179
+
180
+ </li>
181
+
182
+
183
+ <li class="public ">
184
+ <span class="summary_signature">
185
+
186
+ <a href="#text-instance_method" title="#text (instance method)">- (String) <strong>text</strong> </a>
187
+
188
+
189
+
190
+ </span>
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+ <span class="summary_desc"><div class='inline'>
204
+ <p>Title of the button.</p>
205
+ </div></span>
206
+
207
+ </li>
208
+
209
+
210
+ <li class="public ">
211
+ <span class="summary_signature">
212
+
213
+ <a href="#text_color-instance_method" title="#text_color (instance method)">- (Color) <strong>text_color</strong> </a>
214
+
215
+
216
+
217
+ </span>
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+ <span class="summary_desc"><div class='inline'>
231
+ <p>Color of the title.</p>
232
+ </div></span>
233
+
234
+ </li>
235
+
236
+
237
+ <li class="public ">
238
+ <span class="summary_signature">
239
+
240
+ <a href="#zoom_scale-instance_method" title="#zoom_scale (instance method)">- (Float) <strong>zoom_scale</strong> </a>
241
+
242
+
243
+
244
+ </span>
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+ <span class="summary_desc"><div class='inline'>
258
+ <p>The value with which the button will zoom when the user presses it.</p>
259
+ </div></span>
260
+
261
+ </li>
262
+
263
+
264
+ </ul>
265
+
266
+
267
+
268
+
269
+
270
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
271
+ <p class="inherited"><span class='object_link'><a href="Widget.html#enabled%3F-instance_method" title="MG::Widget#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="Widget.html#highlighted%3F-instance_method" title="MG::Widget#highlighted? (method)">#highlighted?</a></span></p>
272
+
273
+
274
+
275
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
276
+ <p class="inherited"><span class='object_link'><a href="Node.html#alpha-instance_method" title="MG::Node#alpha (method)">#alpha</a></span>, <span class='object_link'><a href="Node.html#anchor_point-instance_method" title="MG::Node#anchor_point (method)">#anchor_point</a></span>, <span class='object_link'><a href="Node.html#color-instance_method" title="MG::Node#color (method)">#color</a></span>, <span class='object_link'><a href="Node.html#name-instance_method" title="MG::Node#name (method)">#name</a></span>, <span class='object_link'><a href="Node.html#position-instance_method" title="MG::Node#position (method)">#position</a></span>, <span class='object_link'><a href="Node.html#rotation-instance_method" title="MG::Node#rotation (method)">#rotation</a></span>, <span class='object_link'><a href="Node.html#scale-instance_method" title="MG::Node#scale (method)">#scale</a></span>, <span class='object_link'><a href="Node.html#size-instance_method" title="MG::Node#size (method)">#size</a></span>, <span class='object_link'><a href="Node.html#visible%3F-instance_method" title="MG::Node#visible? (method)">#visible?</a></span>, <span class='object_link'><a href="Node.html#z_index-instance_method" title="MG::Node#z_index (method)">#z_index</a></span></p>
277
+
278
+
279
+
280
+ <h2>
281
+ Constructors
282
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
283
+ </h2>
284
+
285
+ <ul class="summary">
286
+
287
+ <li class="public ">
288
+ <span class="summary_signature">
289
+
290
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Button) <strong>initialize</strong>(title = &#39;&#39;) </a>
291
+
292
+
293
+
294
+ </span>
295
+
296
+
297
+ <span class="note title constructor">constructor</span>
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+ <span class="summary_desc"><div class='inline'>
307
+ <p>Creates a new Button widget with an optional title.</p>
308
+ </div></span>
309
+
310
+ </li>
311
+
312
+
313
+ </ul>
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
326
+ <p class="inherited"><span class='object_link'><a href="Widget.html#on_touch-instance_method" title="MG::Widget#on_touch (method)">#on_touch</a></span></p>
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
337
+ <p class="inherited"><span class='object_link'><a href="Node.html#add-instance_method" title="MG::Node#add (method)">#add</a></span>, <span class='object_link'><a href="Node.html#children-instance_method" title="MG::Node#children (method)">#children</a></span>, <span class='object_link'><a href="Node.html#clear-instance_method" title="MG::Node#clear (method)">#clear</a></span>, <span class='object_link'><a href="Node.html#delete-instance_method" title="MG::Node#delete (method)">#delete</a></span>, <span class='object_link'><a href="Node.html#delete_from_parent-instance_method" title="MG::Node#delete_from_parent (method)">#delete_from_parent</a></span>, <span class='object_link'><a href="Node.html#intersects%3F-instance_method" title="MG::Node#intersects? (method)">#intersects?</a></span>, <span class='object_link'><a href="Node.html#parent-instance_method" title="MG::Node#parent (method)">#parent</a></span></p>
338
+ <div id="constructor_details" class="method_details_list">
339
+ <h2>Constructor Details</h2>
340
+
341
+ <div class="method_details first">
342
+ <h3 class="signature first" id="initialize-instance_method">
343
+
344
+ - (<tt><span class='object_link'><a href="" title="MG::Button (class)">Button</a></span></tt>) <strong>initialize</strong>(title = &#39;&#39;)
345
+
346
+
347
+
348
+
349
+
350
+ </h3><div class="docstring">
351
+ <div class="discussion">
352
+
353
+ <p>Creates a new Button widget with an optional title.</p>
354
+
355
+
356
+ </div>
357
+ </div>
358
+ <div class="tags">
359
+ <p class="tag_title">Parameters:</p>
360
+ <ul class="param">
361
+
362
+ <li>
363
+
364
+ <span class='name'>title</span>
365
+
366
+
367
+ <span class='type'>(<tt>String</tt>)</span>
368
+
369
+
370
+ <em class="default">(defaults to: <tt>&#39;&#39;</tt>)</em>
371
+
372
+
373
+ &mdash;
374
+ <div class='inline'>
375
+ <p>title for the button.</p>
376
+ </div>
377
+
378
+ </li>
379
+
380
+ </ul>
381
+
382
+
383
+ </div><table class="source_code">
384
+ <tr>
385
+ <td>
386
+ <pre class="lines">
387
+
388
+
389
+ 744</pre>
390
+ </td>
391
+ <td>
392
+ <pre class="code"><span class="info file"># File 'motion-game', line 744</span>
393
+
394
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_title'>title</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
395
+ </td>
396
+ </tr>
397
+ </table>
398
+ </div>
399
+
400
+ </div>
401
+
402
+ <div id="instance_attr_details" class="attr_details">
403
+ <h2>Instance Attribute Details</h2>
404
+
405
+
406
+ <span id="font=-instance_method"></span>
407
+ <div class="method_details first">
408
+ <h3 class="signature first" id="font-instance_method">
409
+
410
+ - (<tt>String</tt>) <strong>font</strong>
411
+
412
+
413
+
414
+
415
+
416
+ </h3><div class="docstring">
417
+ <div class="discussion">
418
+
419
+ <p>Returns name of the font used for the button title.</p>
420
+
421
+
422
+ </div>
423
+ </div>
424
+ <div class="tags">
425
+
426
+ <p class="tag_title">Returns:</p>
427
+ <ul class="return">
428
+
429
+ <li>
430
+
431
+
432
+ <span class='type'>(<tt>String</tt>)</span>
433
+
434
+
435
+
436
+ &mdash;
437
+ <div class='inline'>
438
+ <p>name of the font used for the button title.</p>
439
+ </div>
440
+
441
+ </li>
442
+
443
+ </ul>
444
+
445
+ </div><table class="source_code">
446
+ <tr>
447
+ <td>
448
+ <pre class="lines">
449
+
450
+
451
+ 756
452
+ 757
453
+ 758</pre>
454
+ </td>
455
+ <td>
456
+ <pre class="code"><span class="info file"># File 'motion-game', line 756</span>
457
+
458
+ <span class='kw'>def</span> <span class='id identifier rubyid_font'>font</span>
459
+ <span class='ivar'>@font</span>
460
+ <span class='kw'>end</span></pre>
461
+ </td>
462
+ </tr>
463
+ </table>
464
+ </div>
465
+
466
+
467
+ <span id="font_size=-instance_method"></span>
468
+ <div class="method_details ">
469
+ <h3 class="signature " id="font_size-instance_method">
470
+
471
+ - (<tt>Integer</tt>) <strong>font_size</strong>
472
+
473
+
474
+
475
+
476
+
477
+ </h3><div class="docstring">
478
+ <div class="discussion">
479
+
480
+ <p>Returns size of the font used by for button title.</p>
481
+
482
+
483
+ </div>
484
+ </div>
485
+ <div class="tags">
486
+
487
+ <p class="tag_title">Returns:</p>
488
+ <ul class="return">
489
+
490
+ <li>
491
+
492
+
493
+ <span class='type'>(<tt>Integer</tt>)</span>
494
+
495
+
496
+
497
+ &mdash;
498
+ <div class='inline'>
499
+ <p>size of the font used by for button title.</p>
500
+ </div>
501
+
502
+ </li>
503
+
504
+ </ul>
505
+
506
+ </div><table class="source_code">
507
+ <tr>
508
+ <td>
509
+ <pre class="lines">
510
+
511
+
512
+ 759
513
+ 760
514
+ 761</pre>
515
+ </td>
516
+ <td>
517
+ <pre class="code"><span class="info file"># File 'motion-game', line 759</span>
518
+
519
+ <span class='kw'>def</span> <span class='id identifier rubyid_font_size'>font_size</span>
520
+ <span class='ivar'>@font_size</span>
521
+ <span class='kw'>end</span></pre>
522
+ </td>
523
+ </tr>
524
+ </table>
525
+ </div>
526
+
527
+
528
+ <span id="text=-instance_method"></span>
529
+ <div class="method_details ">
530
+ <h3 class="signature " id="text-instance_method">
531
+
532
+ - (<tt>String</tt>) <strong>text</strong>
533
+
534
+
535
+
536
+
537
+
538
+ </h3><div class="docstring">
539
+ <div class="discussion">
540
+
541
+ <p>Returns title of the button.</p>
542
+
543
+
544
+ </div>
545
+ </div>
546
+ <div class="tags">
547
+
548
+ <p class="tag_title">Returns:</p>
549
+ <ul class="return">
550
+
551
+ <li>
552
+
553
+
554
+ <span class='type'>(<tt>String</tt>)</span>
555
+
556
+
557
+
558
+ &mdash;
559
+ <div class='inline'>
560
+ <p>title of the button.</p>
561
+ </div>
562
+
563
+ </li>
564
+
565
+ </ul>
566
+
567
+ </div><table class="source_code">
568
+ <tr>
569
+ <td>
570
+ <pre class="lines">
571
+
572
+
573
+ 750
574
+ 751
575
+ 752</pre>
576
+ </td>
577
+ <td>
578
+ <pre class="code"><span class="info file"># File 'motion-game', line 750</span>
579
+
580
+ <span class='kw'>def</span> <span class='id identifier rubyid_text'>text</span>
581
+ <span class='ivar'>@text</span>
582
+ <span class='kw'>end</span></pre>
583
+ </td>
584
+ </tr>
585
+ </table>
586
+ </div>
587
+
588
+
589
+ <span id="text_color=-instance_method"></span>
590
+ <div class="method_details ">
591
+ <h3 class="signature " id="text_color-instance_method">
592
+
593
+ - (<tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>) <strong>text_color</strong>
594
+
595
+
596
+
597
+
598
+
599
+ </h3><div class="docstring">
600
+ <div class="discussion">
601
+
602
+ <p>Returns color of the title.</p>
603
+
604
+
605
+ </div>
606
+ </div>
607
+ <div class="tags">
608
+
609
+ <p class="tag_title">Returns:</p>
610
+ <ul class="return">
611
+
612
+ <li>
613
+
614
+
615
+ <span class='type'>(<tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>)</span>
616
+
617
+
618
+
619
+ &mdash;
620
+ <div class='inline'>
621
+ <p>color of the title.</p>
622
+ </div>
623
+
624
+ </li>
625
+
626
+ </ul>
627
+
628
+ </div><table class="source_code">
629
+ <tr>
630
+ <td>
631
+ <pre class="lines">
632
+
633
+
634
+ 753
635
+ 754
636
+ 755</pre>
637
+ </td>
638
+ <td>
639
+ <pre class="code"><span class="info file"># File 'motion-game', line 753</span>
640
+
641
+ <span class='kw'>def</span> <span class='id identifier rubyid_text_color'>text_color</span>
642
+ <span class='ivar'>@text_color</span>
643
+ <span class='kw'>end</span></pre>
644
+ </td>
645
+ </tr>
646
+ </table>
647
+ </div>
648
+
649
+
650
+ <span id="zoom_scale=-instance_method"></span>
651
+ <div class="method_details ">
652
+ <h3 class="signature " id="zoom_scale-instance_method">
653
+
654
+ - (<tt>Float</tt>) <strong>zoom_scale</strong>
655
+
656
+
657
+
658
+
659
+
660
+ </h3><div class="docstring">
661
+ <div class="discussion">
662
+
663
+ <p>Returns the value with which the button will zoom when the user presses it.</p>
664
+
665
+
666
+ </div>
667
+ </div>
668
+ <div class="tags">
669
+
670
+ <p class="tag_title">Returns:</p>
671
+ <ul class="return">
672
+
673
+ <li>
674
+
675
+
676
+ <span class='type'>(<tt>Float</tt>)</span>
677
+
678
+
679
+
680
+ &mdash;
681
+ <div class='inline'>
682
+ <p>the value with which the button will zoom when the user presses it.</p>
683
+ </div>
684
+
685
+ </li>
686
+
687
+ </ul>
688
+
689
+ </div><table class="source_code">
690
+ <tr>
691
+ <td>
692
+ <pre class="lines">
693
+
694
+
695
+ 763
696
+ 764
697
+ 765</pre>
698
+ </td>
699
+ <td>
700
+ <pre class="code"><span class="info file"># File 'motion-game', line 763</span>
701
+
702
+ <span class='kw'>def</span> <span class='id identifier rubyid_zoom_scale'>zoom_scale</span>
703
+ <span class='ivar'>@zoom_scale</span>
704
+ <span class='kw'>end</span></pre>
705
+ </td>
706
+ </tr>
707
+ </table>
708
+ </div>
709
+
710
+ </div>
711
+
712
+
713
+ </div>
714
+
715
+ <div id="footer">
716
+ Generated on Thu Sep 3 15:12:08 2015 by
717
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
718
+ 0.8.7.6 (ruby-2.0.0).
719
+ </div>
720
+
721
+ </body>
722
+ </html>