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/Animate.html
DELETED
@@ -1,281 +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::Animate
|
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::Animate";
|
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 (A)</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">Animate</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::Animate
|
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::Animate</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>(frame_names, delay, loops = 1) ⇒ Animate </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 animation action where the sprite display frame will be changed
|
147
|
-
to the given frames in <code>frame_names</code> based on the given
|
148
|
-
<code>delay</code> and repeated <code>loops</code> times.</p>
|
149
|
-
</div></span>
|
150
|
-
|
151
|
-
</li>
|
152
|
-
|
153
|
-
|
154
|
-
</ul>
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span></h3>
|
167
|
-
<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>
|
168
|
-
<div id="constructor_details" class="method_details_list">
|
169
|
-
<h2>Constructor Details</h2>
|
170
|
-
|
171
|
-
<div class="method_details first">
|
172
|
-
<h3 class="signature first" id="initialize-instance_method">
|
173
|
-
|
174
|
-
#<strong>initialize</strong>(frame_names, delay, loops = 1) ⇒ <tt><span class='object_link'><a href="" title="MG::Animate (class)">Animate</a></span></tt>
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
</h3><div class="docstring">
|
181
|
-
<div class="discussion">
|
182
|
-
|
183
|
-
<p>Creates an animation action where the sprite display frame will be changed
|
184
|
-
to the given frames in <code>frame_names</code> based on the given
|
185
|
-
<code>delay</code> and repeated <code>loops</code> times.</p>
|
186
|
-
|
187
|
-
|
188
|
-
</div>
|
189
|
-
</div>
|
190
|
-
<div class="tags">
|
191
|
-
<p class="tag_title">Parameters:</p>
|
192
|
-
<ul class="param">
|
193
|
-
|
194
|
-
<li>
|
195
|
-
|
196
|
-
<span class='name'>frame_names</span>
|
197
|
-
|
198
|
-
|
199
|
-
<span class='type'>(<tt>Array<String></tt>)</span>
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
—
|
204
|
-
<div class='inline'>
|
205
|
-
<p>an array of sprite frames to load and use for the animation, which can be
|
206
|
-
either the names of standalone image files in the application's
|
207
|
-
resource directory or the names of sprite frames loaded from a spritesheet
|
208
|
-
using <span class='object_link'><a href="Sprite.html#load-class_method" title="MG::Sprite.load (method)">Sprite.load</a></span>.</p>
|
209
|
-
</div>
|
210
|
-
|
211
|
-
</li>
|
212
|
-
|
213
|
-
<li>
|
214
|
-
|
215
|
-
<span class='name'>delay</span>
|
216
|
-
|
217
|
-
|
218
|
-
<span class='type'>(<tt>Float</tt>)</span>
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
—
|
223
|
-
<div class='inline'>
|
224
|
-
<p>the delay in seconds between each frame animation.</p>
|
225
|
-
</div>
|
226
|
-
|
227
|
-
</li>
|
228
|
-
|
229
|
-
<li>
|
230
|
-
|
231
|
-
<span class='name'>loops</span>
|
232
|
-
|
233
|
-
|
234
|
-
<span class='type'>(<tt>Integer</tt>, <tt>Symbol</tt>)</span>
|
235
|
-
|
236
|
-
|
237
|
-
<em class="default">(defaults to: <tt>1</tt>)</em>
|
238
|
-
|
239
|
-
|
240
|
-
—
|
241
|
-
<div class='inline'>
|
242
|
-
<p>the number of times the animation should loop. If given the
|
243
|
-
<code>:forever</code> symbol, the animation will loop forever.</p>
|
244
|
-
</div>
|
245
|
-
|
246
|
-
</li>
|
247
|
-
|
248
|
-
</ul>
|
249
|
-
|
250
|
-
|
251
|
-
</div><table class="source_code">
|
252
|
-
<tr>
|
253
|
-
<td>
|
254
|
-
<pre class="lines">
|
255
|
-
|
256
|
-
|
257
|
-
339</pre>
|
258
|
-
</td>
|
259
|
-
<td>
|
260
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 339</span>
|
261
|
-
|
262
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_frame_names'>frame_names</span><span class='comma'>,</span> <span class='id identifier rubyid_delay'>delay</span><span class='comma'>,</span> <span class='id identifier rubyid_loops'>loops</span><span class='op'>=</span><span class='int'>1</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
263
|
-
</td>
|
264
|
-
</tr>
|
265
|
-
</table>
|
266
|
-
</div>
|
267
|
-
|
268
|
-
</div>
|
269
|
-
|
270
|
-
|
271
|
-
</div>
|
272
|
-
|
273
|
-
<div id="footer">
|
274
|
-
Generated on Sun Dec 11 16:38:29 2016 by
|
275
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
276
|
-
0.9.5 (ruby-2.3.3).
|
277
|
-
</div>
|
278
|
-
|
279
|
-
</div>
|
280
|
-
</body>
|
281
|
-
</html>
|
data/doc/MG/Application.html
DELETED
@@ -1,335 +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::Application
|
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::Application";
|
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 (A)</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">Application</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::Application
|
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::Application</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>The application class. A proper subclass is generated for you by the
|
108
|
-
project template with a <span class='object_link'><a href="#start-instance_method" title="MG::Application#start (method)">#start</a></span> method, in which you are responsible to
|
109
|
-
create a scene and ask the director to run it:</p>
|
110
|
-
|
111
|
-
<pre class="code ruby"><code class="ruby"><span class='kw'>class</span> <span class='const'>Application</span> <span class='op'><</span> <span class='const'>MG</span><span class='op'>::</span><span class='const'>Application</span>
|
112
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_start'>start</span>
|
113
|
-
<span class='const'>MG</span><span class='op'>::</span><span class='const'>Director</span><span class='period'>.</span><span class='id identifier rubyid_shared'>shared</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span><span class='const'>MyScene</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='rparen'>)</span>
|
114
|
-
<span class='kw'>end</span>
|
115
|
-
<span class='kw'>end</span>
|
116
|
-
</code></pre>
|
117
|
-
|
118
|
-
|
119
|
-
</div>
|
120
|
-
</div>
|
121
|
-
<div class="tags">
|
122
|
-
|
123
|
-
|
124
|
-
</div>
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
<h2>
|
133
|
-
Constructors
|
134
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
135
|
-
</h2>
|
136
|
-
|
137
|
-
<ul class="summary">
|
138
|
-
|
139
|
-
<li class="public ">
|
140
|
-
<span class="summary_signature">
|
141
|
-
|
142
|
-
<a href="#shared-class_method" title="shared (class method)">.<strong>shared</strong> ⇒ Application </a>
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
</span>
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
<span class="summary_desc"><div class='inline'>
|
157
|
-
<p>The shared Application instance.</p>
|
158
|
-
</div></span>
|
159
|
-
|
160
|
-
</li>
|
161
|
-
|
162
|
-
|
163
|
-
</ul>
|
164
|
-
|
165
|
-
<h2>
|
166
|
-
Entry Point
|
167
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
168
|
-
</h2>
|
169
|
-
|
170
|
-
<ul class="summary">
|
171
|
-
|
172
|
-
<li class="public ">
|
173
|
-
<span class="summary_signature">
|
174
|
-
|
175
|
-
<a href="#start-instance_method" title="#start (instance method)">#<strong>start</strong> ⇒ Application </a>
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
</span>
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
<span class="summary_desc"><div class='inline'>
|
190
|
-
<p>This method is called when the application finished launching.</p>
|
191
|
-
</div></span>
|
192
|
-
|
193
|
-
</li>
|
194
|
-
|
195
|
-
|
196
|
-
</ul>
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
<div id="class_method_details" class="method_details_list">
|
202
|
-
<h2>Class Method Details</h2>
|
203
|
-
|
204
|
-
|
205
|
-
<div class="method_details first">
|
206
|
-
<h3 class="signature first" id="shared-class_method">
|
207
|
-
|
208
|
-
.<strong>shared</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Application (class)">Application</a></span></tt>
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
</h3><div class="docstring">
|
215
|
-
<div class="discussion">
|
216
|
-
|
217
|
-
<p>Returns the shared Application instance.</p>
|
218
|
-
|
219
|
-
|
220
|
-
</div>
|
221
|
-
</div>
|
222
|
-
<div class="tags">
|
223
|
-
|
224
|
-
<p class="tag_title">Returns:</p>
|
225
|
-
<ul class="return">
|
226
|
-
|
227
|
-
<li>
|
228
|
-
|
229
|
-
|
230
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Application (class)">Application</a></span></tt>)</span>
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
—
|
235
|
-
<div class='inline'>
|
236
|
-
<p>the shared Application instance.</p>
|
237
|
-
</div>
|
238
|
-
|
239
|
-
</li>
|
240
|
-
|
241
|
-
</ul>
|
242
|
-
|
243
|
-
</div><table class="source_code">
|
244
|
-
<tr>
|
245
|
-
<td>
|
246
|
-
<pre class="lines">
|
247
|
-
|
248
|
-
|
249
|
-
355</pre>
|
250
|
-
</td>
|
251
|
-
<td>
|
252
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 355</span>
|
253
|
-
|
254
|
-
<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>
|
255
|
-
</td>
|
256
|
-
</tr>
|
257
|
-
</table>
|
258
|
-
</div>
|
259
|
-
|
260
|
-
</div>
|
261
|
-
|
262
|
-
<div id="instance_method_details" class="method_details_list">
|
263
|
-
<h2>Instance Method Details</h2>
|
264
|
-
|
265
|
-
|
266
|
-
<div class="method_details first">
|
267
|
-
<h3 class="signature first" id="start-instance_method">
|
268
|
-
|
269
|
-
#<strong>start</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Application (class)">Application</a></span></tt>
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
</h3><div class="docstring">
|
276
|
-
<div class="discussion">
|
277
|
-
|
278
|
-
<p>This method is called when the application finished launching. This method
|
279
|
-
is empty by default, and you are responsible to provide a custom
|
280
|
-
implementation that will create the interface of your game.</p>
|
281
|
-
|
282
|
-
|
283
|
-
</div>
|
284
|
-
</div>
|
285
|
-
<div class="tags">
|
286
|
-
|
287
|
-
<p class="tag_title">Returns:</p>
|
288
|
-
<ul class="return">
|
289
|
-
|
290
|
-
<li>
|
291
|
-
|
292
|
-
|
293
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="MG::Application (class)">Application</a></span></tt>)</span>
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
—
|
298
|
-
<div class='inline'>
|
299
|
-
<p>the receiver.</p>
|
300
|
-
</div>
|
301
|
-
|
302
|
-
</li>
|
303
|
-
|
304
|
-
</ul>
|
305
|
-
|
306
|
-
</div><table class="source_code">
|
307
|
-
<tr>
|
308
|
-
<td>
|
309
|
-
<pre class="lines">
|
310
|
-
|
311
|
-
|
312
|
-
364</pre>
|
313
|
-
</td>
|
314
|
-
<td>
|
315
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 364</span>
|
316
|
-
|
317
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_start'>start</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
318
|
-
</td>
|
319
|
-
</tr>
|
320
|
-
</table>
|
321
|
-
</div>
|
322
|
-
|
323
|
-
</div>
|
324
|
-
|
325
|
-
</div>
|
326
|
-
|
327
|
-
<div id="footer">
|
328
|
-
Generated on Sun Dec 11 16:38:29 2016 by
|
329
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
330
|
-
0.9.5 (ruby-2.3.3).
|
331
|
-
</div>
|
332
|
-
|
333
|
-
</div>
|
334
|
-
</body>
|
335
|
-
</html>
|