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.
- checksums.yaml +4 -4
- data/.yardopts +2 -0
- data/build/android/motion-cocos.jar +0 -0
- metadata +2 -66
- data/doc/MG.html +0 -131
- data/doc/MG/Action.html +0 -402
- data/doc/MG/Animate.html +0 -281
- data/doc/MG/Application.html +0 -335
- data/doc/MG/Audio.html +0 -1268
- data/doc/MG/Blink.html +0 -257
- data/doc/MG/Button.html +0 -725
- data/doc/MG/Color.html +0 -535
- data/doc/MG/DelayTime.html +0 -239
- data/doc/MG/Director.html +0 -1301
- data/doc/MG/Draw.html +0 -813
- data/doc/MG/Events.html +0 -129
- data/doc/MG/Events/Acceleration.html +0 -505
- data/doc/MG/Events/Touch.html +0 -235
- data/doc/MG/FadeIn.html +0 -240
- data/doc/MG/FadeOut.html +0 -240
- data/doc/MG/FadeTo.html +0 -256
- data/doc/MG/File.html +0 -219
- data/doc/MG/Follow.html +0 -241
- data/doc/MG/JumpBy.html +0 -292
- data/doc/MG/JumpTo.html +0 -287
- data/doc/MG/Layout.html +0 -516
- data/doc/MG/List.html +0 -1053
- data/doc/MG/Menu.html +0 -458
- data/doc/MG/MoveBy.html +0 -259
- data/doc/MG/MoveTo.html +0 -257
- data/doc/MG/Node.html +0 -2013
- data/doc/MG/Parallax.html +0 -297
- data/doc/MG/Particle.html +0 -1224
- data/doc/MG/Point.html +0 -543
- data/doc/MG/Repeat.html +0 -257
- data/doc/MG/RepeatForever.html +0 -239
- data/doc/MG/RotateBy.html +0 -259
- data/doc/MG/RotateTo.html +0 -257
- data/doc/MG/ScaleBy.html +0 -255
- data/doc/MG/ScaleTo.html +0 -255
- data/doc/MG/Scene.html +0 -1544
- data/doc/MG/Scroll.html +0 -533
- data/doc/MG/Sequence.html +0 -241
- data/doc/MG/Size.html +0 -741
- data/doc/MG/SkewBy.html +0 -273
- data/doc/MG/SkewTo.html +0 -273
- data/doc/MG/Slider.html +0 -338
- data/doc/MG/Spawn.html +0 -239
- data/doc/MG/Speed.html +0 -259
- data/doc/MG/Sprite.html +0 -2591
- data/doc/MG/Text.html +0 -921
- data/doc/MG/TintBy.html +0 -272
- data/doc/MG/TintTo.html +0 -274
- data/doc/MG/Web.html +0 -831
- data/doc/MG/Widget.html +0 -552
- data/doc/_index.html +0 -574
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -481
- data/doc/file.README.html +0 -192
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -192
- data/doc/js/app.js +0 -243
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1635
- data/doc/top-level-namespace.html +0 -112
data/doc/MG/Web.html
DELETED
@@ -1,831 +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::Web
|
8
|
-
|
9
|
-
— 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::Web";
|
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 (W)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">Web</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::Web
|
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::Web</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
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
<h2>Instance Attribute Summary</h2>
|
115
|
-
|
116
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
|
117
|
-
<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>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
122
|
-
<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>
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
<h2>
|
127
|
-
Constructors
|
128
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
129
|
-
</h2>
|
130
|
-
|
131
|
-
<ul class="summary">
|
132
|
-
|
133
|
-
<li class="public ">
|
134
|
-
<span class="summary_signature">
|
135
|
-
|
136
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ Web </a>
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
</span>
|
141
|
-
|
142
|
-
|
143
|
-
<span class="note title constructor">constructor</span>
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
<span class="summary_desc"><div class='inline'>
|
153
|
-
<p>Creates a new Web widget.</p>
|
154
|
-
</div></span>
|
155
|
-
|
156
|
-
</li>
|
157
|
-
|
158
|
-
|
159
|
-
</ul>
|
160
|
-
|
161
|
-
<h2>
|
162
|
-
Loading Data
|
163
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
164
|
-
</h2>
|
165
|
-
|
166
|
-
<ul class="summary">
|
167
|
-
|
168
|
-
<li class="public ">
|
169
|
-
<span class="summary_signature">
|
170
|
-
|
171
|
-
<a href="#load_file-instance_method" title="#load_file (instance method)">#<strong>load_file</strong>(path) ⇒ Web </a>
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
</span>
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
<span class="summary_desc"><div class='inline'>
|
186
|
-
<p>Loads a given file into the widget.</p>
|
187
|
-
</div></span>
|
188
|
-
|
189
|
-
</li>
|
190
|
-
|
191
|
-
|
192
|
-
<li class="public ">
|
193
|
-
<span class="summary_signature">
|
194
|
-
|
195
|
-
<a href="#load_html-instance_method" title="#load_html (instance method)">#<strong>load_html</strong>(str, baseurl) ⇒ Web </a>
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
</span>
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
<span class="summary_desc"><div class='inline'>
|
210
|
-
<p>Loads a given HTML data into the widget.</p>
|
211
|
-
</div></span>
|
212
|
-
|
213
|
-
</li>
|
214
|
-
|
215
|
-
|
216
|
-
<li class="public ">
|
217
|
-
<span class="summary_signature">
|
218
|
-
|
219
|
-
<a href="#load_url-instance_method" title="#load_url (instance method)">#<strong>load_url</strong>(url) ⇒ Web </a>
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
</span>
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
<span class="summary_desc"><div class='inline'>
|
234
|
-
<p>Loads a given URL into the widget.</p>
|
235
|
-
</div></span>
|
236
|
-
|
237
|
-
</li>
|
238
|
-
|
239
|
-
|
240
|
-
<li class="public ">
|
241
|
-
<span class="summary_signature">
|
242
|
-
|
243
|
-
<a href="#reload-instance_method" title="#reload (instance method)">#<strong>reload</strong> ⇒ Web </a>
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
</span>
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
<span class="summary_desc"><div class='inline'>
|
258
|
-
<p>Reloads the current context.</p>
|
259
|
-
</div></span>
|
260
|
-
|
261
|
-
</li>
|
262
|
-
|
263
|
-
|
264
|
-
<li class="public ">
|
265
|
-
<span class="summary_signature">
|
266
|
-
|
267
|
-
<a href="#stop-instance_method" title="#stop (instance method)">#<strong>stop</strong> ⇒ Web </a>
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
</span>
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
<span class="summary_desc"><div class='inline'>
|
282
|
-
<p>Stops the current loading.</p>
|
283
|
-
</div></span>
|
284
|
-
|
285
|
-
</li>
|
286
|
-
|
287
|
-
|
288
|
-
</ul>
|
289
|
-
|
290
|
-
<h2>
|
291
|
-
JavaScript Interface
|
292
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
293
|
-
</h2>
|
294
|
-
|
295
|
-
<ul class="summary">
|
296
|
-
|
297
|
-
<li class="public ">
|
298
|
-
<span class="summary_signature">
|
299
|
-
|
300
|
-
<a href="#evaluate-instance_method" title="#evaluate (instance method)">#<strong>evaluate</strong>(expr) ⇒ Web </a>
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
</span>
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
<span class="summary_desc"><div class='inline'>
|
315
|
-
<p>Evaluates the given JavaScript expression.</p>
|
316
|
-
</div></span>
|
317
|
-
|
318
|
-
</li>
|
319
|
-
|
320
|
-
|
321
|
-
</ul>
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
|
334
|
-
<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>
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
345
|
-
<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>
|
346
|
-
<div id="constructor_details" class="method_details_list">
|
347
|
-
<h2>Constructor Details</h2>
|
348
|
-
|
349
|
-
<div class="method_details first">
|
350
|
-
<h3 class="signature first" id="initialize-instance_method">
|
351
|
-
|
352
|
-
#<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
</h3><div class="docstring">
|
359
|
-
<div class="discussion">
|
360
|
-
|
361
|
-
<p>Creates a new Web widget.</p>
|
362
|
-
|
363
|
-
|
364
|
-
</div>
|
365
|
-
</div>
|
366
|
-
<div class="tags">
|
367
|
-
|
368
|
-
|
369
|
-
</div><table class="source_code">
|
370
|
-
<tr>
|
371
|
-
<td>
|
372
|
-
<pre class="lines">
|
373
|
-
|
374
|
-
|
375
|
-
1369</pre>
|
376
|
-
</td>
|
377
|
-
<td>
|
378
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1369</span>
|
379
|
-
|
380
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
381
|
-
</td>
|
382
|
-
</tr>
|
383
|
-
</table>
|
384
|
-
</div>
|
385
|
-
|
386
|
-
</div>
|
387
|
-
|
388
|
-
|
389
|
-
<div id="instance_method_details" class="method_details_list">
|
390
|
-
<h2>Instance Method Details</h2>
|
391
|
-
|
392
|
-
|
393
|
-
<div class="method_details first">
|
394
|
-
<h3 class="signature first" id="evaluate-instance_method">
|
395
|
-
|
396
|
-
#<strong>evaluate</strong>(expr) ⇒ <tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
</h3><div class="docstring">
|
403
|
-
<div class="discussion">
|
404
|
-
|
405
|
-
<p>Evaluates the given JavaScript expression.</p>
|
406
|
-
|
407
|
-
|
408
|
-
</div>
|
409
|
-
</div>
|
410
|
-
<div class="tags">
|
411
|
-
<p class="tag_title">Parameters:</p>
|
412
|
-
<ul class="param">
|
413
|
-
|
414
|
-
<li>
|
415
|
-
|
416
|
-
<span class='name'>expr</span>
|
417
|
-
|
418
|
-
|
419
|
-
<span class='type'>(<tt>String</tt>)</span>
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
—
|
424
|
-
<div class='inline'>
|
425
|
-
<p>a JavaScript expression to evaluate.</p>
|
426
|
-
</div>
|
427
|
-
|
428
|
-
</li>
|
429
|
-
|
430
|
-
</ul>
|
431
|
-
|
432
|
-
<p class="tag_title">Returns:</p>
|
433
|
-
<ul class="return">
|
434
|
-
|
435
|
-
<li>
|
436
|
-
|
437
|
-
|
438
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>)</span>
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
—
|
443
|
-
<div class='inline'>
|
444
|
-
<p>the receiver.</p>
|
445
|
-
</div>
|
446
|
-
|
447
|
-
</li>
|
448
|
-
|
449
|
-
</ul>
|
450
|
-
|
451
|
-
</div><table class="source_code">
|
452
|
-
<tr>
|
453
|
-
<td>
|
454
|
-
<pre class="lines">
|
455
|
-
|
456
|
-
|
457
|
-
1404</pre>
|
458
|
-
</td>
|
459
|
-
<td>
|
460
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1404</span>
|
461
|
-
|
462
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_evaluate'>evaluate</span><span class='lparen'>(</span><span class='id identifier rubyid_expr'>expr</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
463
|
-
</td>
|
464
|
-
</tr>
|
465
|
-
</table>
|
466
|
-
</div>
|
467
|
-
|
468
|
-
<div class="method_details ">
|
469
|
-
<h3 class="signature " id="load_file-instance_method">
|
470
|
-
|
471
|
-
#<strong>load_file</strong>(path) ⇒ <tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
</h3><div class="docstring">
|
478
|
-
<div class="discussion">
|
479
|
-
|
480
|
-
<p>Loads a given file into the widget.</p>
|
481
|
-
|
482
|
-
|
483
|
-
</div>
|
484
|
-
</div>
|
485
|
-
<div class="tags">
|
486
|
-
<p class="tag_title">Parameters:</p>
|
487
|
-
<ul class="param">
|
488
|
-
|
489
|
-
<li>
|
490
|
-
|
491
|
-
<span class='name'>path</span>
|
492
|
-
|
493
|
-
|
494
|
-
<span class='type'>(<tt>String</tt>)</span>
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
—
|
499
|
-
<div class='inline'>
|
500
|
-
<p>the file to load.</p>
|
501
|
-
</div>
|
502
|
-
|
503
|
-
</li>
|
504
|
-
|
505
|
-
</ul>
|
506
|
-
|
507
|
-
<p class="tag_title">Returns:</p>
|
508
|
-
<ul class="return">
|
509
|
-
|
510
|
-
<li>
|
511
|
-
|
512
|
-
|
513
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>)</span>
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
—
|
518
|
-
<div class='inline'>
|
519
|
-
<p>the receiver.</p>
|
520
|
-
</div>
|
521
|
-
|
522
|
-
</li>
|
523
|
-
|
524
|
-
</ul>
|
525
|
-
|
526
|
-
</div><table class="source_code">
|
527
|
-
<tr>
|
528
|
-
<td>
|
529
|
-
<pre class="lines">
|
530
|
-
|
531
|
-
|
532
|
-
1388</pre>
|
533
|
-
</td>
|
534
|
-
<td>
|
535
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1388</span>
|
536
|
-
|
537
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_load_file'>load_file</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
538
|
-
</td>
|
539
|
-
</tr>
|
540
|
-
</table>
|
541
|
-
</div>
|
542
|
-
|
543
|
-
<div class="method_details ">
|
544
|
-
<h3 class="signature " id="load_html-instance_method">
|
545
|
-
|
546
|
-
#<strong>load_html</strong>(str, baseurl) ⇒ <tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
</h3><div class="docstring">
|
553
|
-
<div class="discussion">
|
554
|
-
|
555
|
-
<p>Loads a given HTML data into the widget.</p>
|
556
|
-
|
557
|
-
|
558
|
-
</div>
|
559
|
-
</div>
|
560
|
-
<div class="tags">
|
561
|
-
<p class="tag_title">Parameters:</p>
|
562
|
-
<ul class="param">
|
563
|
-
|
564
|
-
<li>
|
565
|
-
|
566
|
-
<span class='name'>str</span>
|
567
|
-
|
568
|
-
|
569
|
-
<span class='type'>(<tt>String</tt>)</span>
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
—
|
574
|
-
<div class='inline'>
|
575
|
-
<p>the HTML string to load.</p>
|
576
|
-
</div>
|
577
|
-
|
578
|
-
</li>
|
579
|
-
|
580
|
-
<li>
|
581
|
-
|
582
|
-
<span class='name'>baseurl</span>
|
583
|
-
|
584
|
-
|
585
|
-
<span class='type'>(<tt>String</tt>)</span>
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
—
|
590
|
-
<div class='inline'>
|
591
|
-
<p>the base URL for the content.</p>
|
592
|
-
</div>
|
593
|
-
|
594
|
-
</li>
|
595
|
-
|
596
|
-
</ul>
|
597
|
-
|
598
|
-
<p class="tag_title">Returns:</p>
|
599
|
-
<ul class="return">
|
600
|
-
|
601
|
-
<li>
|
602
|
-
|
603
|
-
|
604
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>)</span>
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
—
|
609
|
-
<div class='inline'>
|
610
|
-
<p>the receiver.</p>
|
611
|
-
</div>
|
612
|
-
|
613
|
-
</li>
|
614
|
-
|
615
|
-
</ul>
|
616
|
-
|
617
|
-
</div><table class="source_code">
|
618
|
-
<tr>
|
619
|
-
<td>
|
620
|
-
<pre class="lines">
|
621
|
-
|
622
|
-
|
623
|
-
1378</pre>
|
624
|
-
</td>
|
625
|
-
<td>
|
626
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1378</span>
|
627
|
-
|
628
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_load_html'>load_html</span><span class='lparen'>(</span><span class='id identifier rubyid_str'>str</span><span class='comma'>,</span> <span class='id identifier rubyid_baseurl'>baseurl</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
629
|
-
</td>
|
630
|
-
</tr>
|
631
|
-
</table>
|
632
|
-
</div>
|
633
|
-
|
634
|
-
<div class="method_details ">
|
635
|
-
<h3 class="signature " id="load_url-instance_method">
|
636
|
-
|
637
|
-
#<strong>load_url</strong>(url) ⇒ <tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
</h3><div class="docstring">
|
644
|
-
<div class="discussion">
|
645
|
-
|
646
|
-
<p>Loads a given URL into the widget.</p>
|
647
|
-
|
648
|
-
|
649
|
-
</div>
|
650
|
-
</div>
|
651
|
-
<div class="tags">
|
652
|
-
<p class="tag_title">Parameters:</p>
|
653
|
-
<ul class="param">
|
654
|
-
|
655
|
-
<li>
|
656
|
-
|
657
|
-
<span class='name'>url</span>
|
658
|
-
|
659
|
-
|
660
|
-
<span class='type'>(<tt>String</tt>)</span>
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
—
|
665
|
-
<div class='inline'>
|
666
|
-
<p>the URL to load.</p>
|
667
|
-
</div>
|
668
|
-
|
669
|
-
</li>
|
670
|
-
|
671
|
-
</ul>
|
672
|
-
|
673
|
-
<p class="tag_title">Returns:</p>
|
674
|
-
<ul class="return">
|
675
|
-
|
676
|
-
<li>
|
677
|
-
|
678
|
-
|
679
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>)</span>
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
—
|
684
|
-
<div class='inline'>
|
685
|
-
<p>the receiver.</p>
|
686
|
-
</div>
|
687
|
-
|
688
|
-
</li>
|
689
|
-
|
690
|
-
</ul>
|
691
|
-
|
692
|
-
</div><table class="source_code">
|
693
|
-
<tr>
|
694
|
-
<td>
|
695
|
-
<pre class="lines">
|
696
|
-
|
697
|
-
|
698
|
-
1383</pre>
|
699
|
-
</td>
|
700
|
-
<td>
|
701
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1383</span>
|
702
|
-
|
703
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_load_url'>load_url</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
704
|
-
</td>
|
705
|
-
</tr>
|
706
|
-
</table>
|
707
|
-
</div>
|
708
|
-
|
709
|
-
<div class="method_details ">
|
710
|
-
<h3 class="signature " id="reload-instance_method">
|
711
|
-
|
712
|
-
#<strong>reload</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
</h3><div class="docstring">
|
719
|
-
<div class="discussion">
|
720
|
-
|
721
|
-
<p>Reloads the current context.</p>
|
722
|
-
|
723
|
-
|
724
|
-
</div>
|
725
|
-
</div>
|
726
|
-
<div class="tags">
|
727
|
-
|
728
|
-
<p class="tag_title">Returns:</p>
|
729
|
-
<ul class="return">
|
730
|
-
|
731
|
-
<li>
|
732
|
-
|
733
|
-
|
734
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>)</span>
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
—
|
739
|
-
<div class='inline'>
|
740
|
-
<p>the receiver.</p>
|
741
|
-
</div>
|
742
|
-
|
743
|
-
</li>
|
744
|
-
|
745
|
-
</ul>
|
746
|
-
|
747
|
-
</div><table class="source_code">
|
748
|
-
<tr>
|
749
|
-
<td>
|
750
|
-
<pre class="lines">
|
751
|
-
|
752
|
-
|
753
|
-
1396</pre>
|
754
|
-
</td>
|
755
|
-
<td>
|
756
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1396</span>
|
757
|
-
|
758
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_reload'>reload</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
759
|
-
</td>
|
760
|
-
</tr>
|
761
|
-
</table>
|
762
|
-
</div>
|
763
|
-
|
764
|
-
<div class="method_details ">
|
765
|
-
<h3 class="signature " id="stop-instance_method">
|
766
|
-
|
767
|
-
#<strong>stop</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
</h3><div class="docstring">
|
774
|
-
<div class="discussion">
|
775
|
-
|
776
|
-
<p>Stops the current loading.</p>
|
777
|
-
|
778
|
-
|
779
|
-
</div>
|
780
|
-
</div>
|
781
|
-
<div class="tags">
|
782
|
-
|
783
|
-
<p class="tag_title">Returns:</p>
|
784
|
-
<ul class="return">
|
785
|
-
|
786
|
-
<li>
|
787
|
-
|
788
|
-
|
789
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Web (class)">Web</a></span></tt>)</span>
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
—
|
794
|
-
<div class='inline'>
|
795
|
-
<p>the receiver.</p>
|
796
|
-
</div>
|
797
|
-
|
798
|
-
</li>
|
799
|
-
|
800
|
-
</ul>
|
801
|
-
|
802
|
-
</div><table class="source_code">
|
803
|
-
<tr>
|
804
|
-
<td>
|
805
|
-
<pre class="lines">
|
806
|
-
|
807
|
-
|
808
|
-
1392</pre>
|
809
|
-
</td>
|
810
|
-
<td>
|
811
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1392</span>
|
812
|
-
|
813
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_stop'>stop</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
814
|
-
</td>
|
815
|
-
</tr>
|
816
|
-
</table>
|
817
|
-
</div>
|
818
|
-
|
819
|
-
</div>
|
820
|
-
|
821
|
-
</div>
|
822
|
-
|
823
|
-
<div id="footer">
|
824
|
-
Generated on Sun Dec 11 16:38:30 2016 by
|
825
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
826
|
-
0.9.5 (ruby-2.3.3).
|
827
|
-
</div>
|
828
|
-
|
829
|
-
</div>
|
830
|
-
</body>
|
831
|
-
</html>
|