motion-game 1.1.7 → 1.1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -0
  3. data/build/android/motion-cocos.jar +0 -0
  4. metadata +2 -66
  5. data/doc/MG.html +0 -131
  6. data/doc/MG/Action.html +0 -402
  7. data/doc/MG/Animate.html +0 -281
  8. data/doc/MG/Application.html +0 -335
  9. data/doc/MG/Audio.html +0 -1268
  10. data/doc/MG/Blink.html +0 -257
  11. data/doc/MG/Button.html +0 -725
  12. data/doc/MG/Color.html +0 -535
  13. data/doc/MG/DelayTime.html +0 -239
  14. data/doc/MG/Director.html +0 -1301
  15. data/doc/MG/Draw.html +0 -813
  16. data/doc/MG/Events.html +0 -129
  17. data/doc/MG/Events/Acceleration.html +0 -505
  18. data/doc/MG/Events/Touch.html +0 -235
  19. data/doc/MG/FadeIn.html +0 -240
  20. data/doc/MG/FadeOut.html +0 -240
  21. data/doc/MG/FadeTo.html +0 -256
  22. data/doc/MG/File.html +0 -219
  23. data/doc/MG/Follow.html +0 -241
  24. data/doc/MG/JumpBy.html +0 -292
  25. data/doc/MG/JumpTo.html +0 -287
  26. data/doc/MG/Layout.html +0 -516
  27. data/doc/MG/List.html +0 -1053
  28. data/doc/MG/Menu.html +0 -458
  29. data/doc/MG/MoveBy.html +0 -259
  30. data/doc/MG/MoveTo.html +0 -257
  31. data/doc/MG/Node.html +0 -2013
  32. data/doc/MG/Parallax.html +0 -297
  33. data/doc/MG/Particle.html +0 -1224
  34. data/doc/MG/Point.html +0 -543
  35. data/doc/MG/Repeat.html +0 -257
  36. data/doc/MG/RepeatForever.html +0 -239
  37. data/doc/MG/RotateBy.html +0 -259
  38. data/doc/MG/RotateTo.html +0 -257
  39. data/doc/MG/ScaleBy.html +0 -255
  40. data/doc/MG/ScaleTo.html +0 -255
  41. data/doc/MG/Scene.html +0 -1544
  42. data/doc/MG/Scroll.html +0 -533
  43. data/doc/MG/Sequence.html +0 -241
  44. data/doc/MG/Size.html +0 -741
  45. data/doc/MG/SkewBy.html +0 -273
  46. data/doc/MG/SkewTo.html +0 -273
  47. data/doc/MG/Slider.html +0 -338
  48. data/doc/MG/Spawn.html +0 -239
  49. data/doc/MG/Speed.html +0 -259
  50. data/doc/MG/Sprite.html +0 -2591
  51. data/doc/MG/Text.html +0 -921
  52. data/doc/MG/TintBy.html +0 -272
  53. data/doc/MG/TintTo.html +0 -274
  54. data/doc/MG/Web.html +0 -831
  55. data/doc/MG/Widget.html +0 -552
  56. data/doc/_index.html +0 -574
  57. data/doc/class_list.html +0 -51
  58. data/doc/css/common.css +0 -1
  59. data/doc/css/full_list.css +0 -58
  60. data/doc/css/style.css +0 -481
  61. data/doc/file.README.html +0 -192
  62. data/doc/file_list.html +0 -56
  63. data/doc/frames.html +0 -17
  64. data/doc/index.html +0 -192
  65. data/doc/js/app.js +0 -243
  66. data/doc/js/full_list.js +0 -216
  67. data/doc/js/jquery.js +0 -4
  68. data/doc/method_list.html +0 -1635
  69. data/doc/top-level-namespace.html +0 -112
data/doc/MG/Blink.html DELETED
@@ -1,257 +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::Blink
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::Blink";
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 (B)</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">Blink</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::Blink
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::Blink</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>(blinks, interval) &#x21d2; Blink </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 Blinks the receiver by modifying it&#39;s visible
147
- attribute.</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>(blinks, interval) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Blink (class)">Blink</a></span></tt>
174
-
175
-
176
-
177
-
178
-
179
- </h3><div class="docstring">
180
- <div class="discussion">
181
-
182
- <p>Creates an action that Blinks the receiver by modifying it&#39;s visible
183
- attribute.</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'>blinks</span>
195
-
196
-
197
- <span class='type'>(<tt>Integer</tt>)</span>
198
-
199
-
200
-
201
- &mdash;
202
- <div class='inline'>
203
- <p>the number of times to blink.</p>
204
- </div>
205
-
206
- </li>
207
-
208
- <li>
209
-
210
- <span class='name'>interval</span>
211
-
212
-
213
- <span class='type'>(<tt>Float</tt>)</span>
214
-
215
-
216
-
217
- &mdash;
218
- <div class='inline'>
219
- <p>the animation interval.</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
- 238</pre>
234
- </td>
235
- <td>
236
- <pre class="code"><span class="info file"># File 'motion-game', line 238</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_blinks'>blinks</span><span class='comma'>,</span> <span class='id identifier rubyid_interval'>interval</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 Dec 11 16:38:29 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>
data/doc/MG/Button.html DELETED
@@ -1,725 +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::Button
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::Button";
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 (B)</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">Button</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::Button
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="Widget.html" title="MG::Widget (class)">Widget</a></span></span>
75
-
76
- <ul class="fullTree">
77
- <li>Object</li>
78
-
79
- <li class="next"><span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></li>
80
-
81
- <li class="next"><span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></li>
82
-
83
- <li class="next">MG::Button</li>
84
-
85
- </ul>
86
- <a href="#" class="inheritanceTree">show all</a>
87
-
88
- </dd>
89
- </dl>
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
- <dl>
102
- <dt>Defined in:</dt>
103
- <dd>motion-game</dd>
104
- </dl>
105
-
106
- </div>
107
-
108
- <h2>Overview</h2><div class="docstring">
109
- <div class="discussion">
110
-
111
- <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
112
- the button is activated. Example:</p>
113
-
114
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_button'>button</span> <span class='op'>=</span> <span class='const'>Button</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Touch me!</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
115
- <span class='id identifier rubyid_button'>button</span><span class='period'>.</span><span class='id identifier rubyid_on_touch'>on_touch</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_type'>type</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>touched!</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='symbol'>:end</span> <span class='rbrace'>}</span>
116
- </code></pre>
117
-
118
-
119
- </div>
120
- </div>
121
- <div class="tags">
122
-
123
-
124
- </div>
125
-
126
-
127
-
128
- <h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
129
- <ul class="summary">
130
-
131
- <li class="public ">
132
- <span class="summary_signature">
133
-
134
- <a href="#font-instance_method" title="#font (instance method)">#<strong>font</strong> &#x21d2; String </a>
135
-
136
-
137
-
138
- </span>
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
- <span class="summary_desc"><div class='inline'>
152
- <p>Name of the font used for the button title.</p>
153
- </div></span>
154
-
155
- </li>
156
-
157
-
158
- <li class="public ">
159
- <span class="summary_signature">
160
-
161
- <a href="#font_size-instance_method" title="#font_size (instance method)">#<strong>font_size</strong> &#x21d2; Integer </a>
162
-
163
-
164
-
165
- </span>
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
- <span class="summary_desc"><div class='inline'>
179
- <p>Size of the font used by for button title.</p>
180
- </div></span>
181
-
182
- </li>
183
-
184
-
185
- <li class="public ">
186
- <span class="summary_signature">
187
-
188
- <a href="#text-instance_method" title="#text (instance method)">#<strong>text</strong> &#x21d2; String </a>
189
-
190
-
191
-
192
- </span>
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
- <span class="summary_desc"><div class='inline'>
206
- <p>Title of the button.</p>
207
- </div></span>
208
-
209
- </li>
210
-
211
-
212
- <li class="public ">
213
- <span class="summary_signature">
214
-
215
- <a href="#text_color-instance_method" title="#text_color (instance method)">#<strong>text_color</strong> &#x21d2; Color </a>
216
-
217
-
218
-
219
- </span>
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
-
231
-
232
- <span class="summary_desc"><div class='inline'>
233
- <p>Color of the title.</p>
234
- </div></span>
235
-
236
- </li>
237
-
238
-
239
- <li class="public ">
240
- <span class="summary_signature">
241
-
242
- <a href="#zoom_scale-instance_method" title="#zoom_scale (instance method)">#<strong>zoom_scale</strong> &#x21d2; Float </a>
243
-
244
-
245
-
246
- </span>
247
-
248
-
249
-
250
-
251
-
252
-
253
-
254
-
255
-
256
-
257
-
258
-
259
- <span class="summary_desc"><div class='inline'>
260
- <p>The value with which the button will zoom when the user presses it.</p>
261
- </div></span>
262
-
263
- </li>
264
-
265
-
266
- </ul>
267
-
268
-
269
-
270
-
271
-
272
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
273
- <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>, <span class='object_link'><a href="Widget.html#touch_enabled%3F-instance_method" title="MG::Widget#touch_enabled? (method)">#touch_enabled?</a></span></p>
274
-
275
-
276
-
277
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
278
- <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>
279
-
280
-
281
-
282
- <h2>
283
- Constructors
284
- <small><a href="#" class="summary_toggle">collapse</a></small>
285
- </h2>
286
-
287
- <ul class="summary">
288
-
289
- <li class="public ">
290
- <span class="summary_signature">
291
-
292
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(title = &#39;&#39;) &#x21d2; Button </a>
293
-
294
-
295
-
296
- </span>
297
-
298
-
299
- <span class="note title constructor">constructor</span>
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
- <span class="summary_desc"><div class='inline'>
309
- <p>Creates a new Button widget with an optional title.</p>
310
- </div></span>
311
-
312
- </li>
313
-
314
-
315
- </ul>
316
-
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
-
325
-
326
-
327
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
328
- <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>
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
-
338
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
339
- <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>, <span class='object_link'><a href="Node.html#run_action-instance_method" title="MG::Node#run_action (method)">#run_action</a></span>, <span class='object_link'><a href="Node.html#stop_action-instance_method" title="MG::Node#stop_action (method)">#stop_action</a></span>, <span class='object_link'><a href="Node.html#stop_all_actions-instance_method" title="MG::Node#stop_all_actions (method)">#stop_all_actions</a></span></p>
340
- <div id="constructor_details" class="method_details_list">
341
- <h2>Constructor Details</h2>
342
-
343
- <div class="method_details first">
344
- <h3 class="signature first" id="initialize-instance_method">
345
-
346
- #<strong>initialize</strong>(title = &#39;&#39;) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Button (class)">Button</a></span></tt>
347
-
348
-
349
-
350
-
351
-
352
- </h3><div class="docstring">
353
- <div class="discussion">
354
-
355
- <p>Creates a new Button widget with an optional title.</p>
356
-
357
-
358
- </div>
359
- </div>
360
- <div class="tags">
361
- <p class="tag_title">Parameters:</p>
362
- <ul class="param">
363
-
364
- <li>
365
-
366
- <span class='name'>title</span>
367
-
368
-
369
- <span class='type'>(<tt>String</tt>)</span>
370
-
371
-
372
- <em class="default">(defaults to: <tt>&#39;&#39;</tt>)</em>
373
-
374
-
375
- &mdash;
376
- <div class='inline'>
377
- <p>title for the button.</p>
378
- </div>
379
-
380
- </li>
381
-
382
- </ul>
383
-
384
-
385
- </div><table class="source_code">
386
- <tr>
387
- <td>
388
- <pre class="lines">
389
-
390
-
391
- 1225</pre>
392
- </td>
393
- <td>
394
- <pre class="code"><span class="info file"># File 'motion-game', line 1225</span>
395
-
396
- <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>
397
- </td>
398
- </tr>
399
- </table>
400
- </div>
401
-
402
- </div>
403
-
404
- <div id="instance_attr_details" class="attr_details">
405
- <h2>Instance Attribute Details</h2>
406
-
407
-
408
- <span id="font=-instance_method"></span>
409
- <div class="method_details first">
410
- <h3 class="signature first" id="font-instance_method">
411
-
412
- #<strong>font</strong> &#x21d2; <tt>String</tt>
413
-
414
-
415
-
416
-
417
-
418
- </h3><div class="docstring">
419
- <div class="discussion">
420
-
421
- <p>Returns name of the font used for the button title.</p>
422
-
423
-
424
- </div>
425
- </div>
426
- <div class="tags">
427
-
428
- <p class="tag_title">Returns:</p>
429
- <ul class="return">
430
-
431
- <li>
432
-
433
-
434
- <span class='type'>(<tt>String</tt>)</span>
435
-
436
-
437
-
438
- &mdash;
439
- <div class='inline'>
440
- <p>name of the font used for the button title.</p>
441
- </div>
442
-
443
- </li>
444
-
445
- </ul>
446
-
447
- </div><table class="source_code">
448
- <tr>
449
- <td>
450
- <pre class="lines">
451
-
452
-
453
- 1237
454
- 1238
455
- 1239</pre>
456
- </td>
457
- <td>
458
- <pre class="code"><span class="info file"># File 'motion-game', line 1237</span>
459
-
460
- <span class='kw'>def</span> <span class='id identifier rubyid_font'>font</span>
461
- <span class='ivar'>@font</span>
462
- <span class='kw'>end</span></pre>
463
- </td>
464
- </tr>
465
- </table>
466
- </div>
467
-
468
-
469
- <span id="font_size=-instance_method"></span>
470
- <div class="method_details ">
471
- <h3 class="signature " id="font_size-instance_method">
472
-
473
- #<strong>font_size</strong> &#x21d2; <tt>Integer</tt>
474
-
475
-
476
-
477
-
478
-
479
- </h3><div class="docstring">
480
- <div class="discussion">
481
-
482
- <p>Returns size of the font used by for button title.</p>
483
-
484
-
485
- </div>
486
- </div>
487
- <div class="tags">
488
-
489
- <p class="tag_title">Returns:</p>
490
- <ul class="return">
491
-
492
- <li>
493
-
494
-
495
- <span class='type'>(<tt>Integer</tt>)</span>
496
-
497
-
498
-
499
- &mdash;
500
- <div class='inline'>
501
- <p>size of the font used by for button title.</p>
502
- </div>
503
-
504
- </li>
505
-
506
- </ul>
507
-
508
- </div><table class="source_code">
509
- <tr>
510
- <td>
511
- <pre class="lines">
512
-
513
-
514
- 1240
515
- 1241
516
- 1242</pre>
517
- </td>
518
- <td>
519
- <pre class="code"><span class="info file"># File 'motion-game', line 1240</span>
520
-
521
- <span class='kw'>def</span> <span class='id identifier rubyid_font_size'>font_size</span>
522
- <span class='ivar'>@font_size</span>
523
- <span class='kw'>end</span></pre>
524
- </td>
525
- </tr>
526
- </table>
527
- </div>
528
-
529
-
530
- <span id="text=-instance_method"></span>
531
- <div class="method_details ">
532
- <h3 class="signature " id="text-instance_method">
533
-
534
- #<strong>text</strong> &#x21d2; <tt>String</tt>
535
-
536
-
537
-
538
-
539
-
540
- </h3><div class="docstring">
541
- <div class="discussion">
542
-
543
- <p>Returns title of the button.</p>
544
-
545
-
546
- </div>
547
- </div>
548
- <div class="tags">
549
-
550
- <p class="tag_title">Returns:</p>
551
- <ul class="return">
552
-
553
- <li>
554
-
555
-
556
- <span class='type'>(<tt>String</tt>)</span>
557
-
558
-
559
-
560
- &mdash;
561
- <div class='inline'>
562
- <p>title of the button.</p>
563
- </div>
564
-
565
- </li>
566
-
567
- </ul>
568
-
569
- </div><table class="source_code">
570
- <tr>
571
- <td>
572
- <pre class="lines">
573
-
574
-
575
- 1231
576
- 1232
577
- 1233</pre>
578
- </td>
579
- <td>
580
- <pre class="code"><span class="info file"># File 'motion-game', line 1231</span>
581
-
582
- <span class='kw'>def</span> <span class='id identifier rubyid_text'>text</span>
583
- <span class='ivar'>@text</span>
584
- <span class='kw'>end</span></pre>
585
- </td>
586
- </tr>
587
- </table>
588
- </div>
589
-
590
-
591
- <span id="text_color=-instance_method"></span>
592
- <div class="method_details ">
593
- <h3 class="signature " id="text_color-instance_method">
594
-
595
- #<strong>text_color</strong> &#x21d2; <tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>
596
-
597
-
598
-
599
-
600
-
601
- </h3><div class="docstring">
602
- <div class="discussion">
603
-
604
- <p>Returns color of the title.</p>
605
-
606
-
607
- </div>
608
- </div>
609
- <div class="tags">
610
-
611
- <p class="tag_title">Returns:</p>
612
- <ul class="return">
613
-
614
- <li>
615
-
616
-
617
- <span class='type'>(<tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>)</span>
618
-
619
-
620
-
621
- &mdash;
622
- <div class='inline'>
623
- <p>color of the title.</p>
624
- </div>
625
-
626
- </li>
627
-
628
- </ul>
629
-
630
- </div><table class="source_code">
631
- <tr>
632
- <td>
633
- <pre class="lines">
634
-
635
-
636
- 1234
637
- 1235
638
- 1236</pre>
639
- </td>
640
- <td>
641
- <pre class="code"><span class="info file"># File 'motion-game', line 1234</span>
642
-
643
- <span class='kw'>def</span> <span class='id identifier rubyid_text_color'>text_color</span>
644
- <span class='ivar'>@text_color</span>
645
- <span class='kw'>end</span></pre>
646
- </td>
647
- </tr>
648
- </table>
649
- </div>
650
-
651
-
652
- <span id="zoom_scale=-instance_method"></span>
653
- <div class="method_details ">
654
- <h3 class="signature " id="zoom_scale-instance_method">
655
-
656
- #<strong>zoom_scale</strong> &#x21d2; <tt>Float</tt>
657
-
658
-
659
-
660
-
661
-
662
- </h3><div class="docstring">
663
- <div class="discussion">
664
-
665
- <p>Returns the value with which the button will zoom when the user presses it.</p>
666
-
667
-
668
- </div>
669
- </div>
670
- <div class="tags">
671
-
672
- <p class="tag_title">Returns:</p>
673
- <ul class="return">
674
-
675
- <li>
676
-
677
-
678
- <span class='type'>(<tt>Float</tt>)</span>
679
-
680
-
681
-
682
- &mdash;
683
- <div class='inline'>
684
- <p>the value with which the button will zoom when the user presses it.</p>
685
- </div>
686
-
687
- </li>
688
-
689
- </ul>
690
-
691
- </div><table class="source_code">
692
- <tr>
693
- <td>
694
- <pre class="lines">
695
-
696
-
697
- 1244
698
- 1245
699
- 1246</pre>
700
- </td>
701
- <td>
702
- <pre class="code"><span class="info file"># File 'motion-game', line 1244</span>
703
-
704
- <span class='kw'>def</span> <span class='id identifier rubyid_zoom_scale'>zoom_scale</span>
705
- <span class='ivar'>@zoom_scale</span>
706
- <span class='kw'>end</span></pre>
707
- </td>
708
- </tr>
709
- </table>
710
- </div>
711
-
712
- </div>
713
-
714
-
715
- </div>
716
-
717
- <div id="footer">
718
- Generated on Sun Dec 11 16:38:30 2016 by
719
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
720
- 0.9.5 (ruby-2.3.3).
721
- </div>
722
-
723
- </div>
724
- </body>
725
- </html>