motion-game 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/build/android/armeabi/libmotion-cocos.a +0 -0
- data/build/android/motion-cocos.jar +0 -0
- data/build/android/x86/libmotion-cocos.a +0 -0
- data/build/ios/libmotion-cocos.a +0 -0
- data/build/tvos/libmotion-cocos.a +0 -0
- data/doc/MG.html +40 -38
- data/doc/MG/Action.html +402 -0
- data/doc/MG/Animate.html +281 -0
- data/doc/MG/Application.html +55 -52
- data/doc/MG/Audio.html +96 -93
- data/doc/MG/Blink.html +257 -0
- data/doc/MG/Button.html +82 -79
- data/doc/MG/Color.html +70 -67
- data/doc/MG/DelayTime.html +239 -0
- data/doc/MG/Director.html +256 -95
- data/doc/MG/Draw.html +67 -64
- data/doc/MG/Events.html +39 -37
- data/doc/MG/Events/Acceleration.html +70 -67
- data/doc/MG/Events/Touch.html +52 -49
- data/doc/MG/FadeIn.html +240 -0
- data/doc/MG/FadeOut.html +240 -0
- data/doc/MG/FadeTo.html +256 -0
- data/doc/MG/File.html +50 -47
- data/doc/MG/Follow.html +241 -0
- data/doc/MG/JumpBy.html +292 -0
- data/doc/MG/JumpTo.html +287 -0
- data/doc/MG/Layout.html +70 -67
- data/doc/MG/List.html +88 -85
- data/doc/MG/Menu.html +65 -62
- data/doc/MG/MoveBy.html +259 -0
- data/doc/MG/MoveTo.html +257 -0
- data/doc/MG/Node.html +393 -133
- data/doc/MG/Parallax.html +51 -48
- data/doc/MG/Particle.html +118 -115
- data/doc/MG/Point.html +67 -64
- data/doc/MG/Repeat.html +257 -0
- data/doc/MG/RepeatForever.html +239 -0
- data/doc/MG/RotateBy.html +259 -0
- data/doc/MG/RotateTo.html +257 -0
- data/doc/MG/ScaleBy.html +255 -0
- data/doc/MG/ScaleTo.html +255 -0
- data/doc/MG/Scene.html +110 -107
- data/doc/MG/Scroll.html +70 -67
- data/doc/MG/Sequence.html +241 -0
- data/doc/MG/Size.html +75 -72
- data/doc/MG/SkewBy.html +273 -0
- data/doc/MG/SkewTo.html +273 -0
- data/doc/MG/Slider.html +58 -55
- data/doc/MG/Spawn.html +239 -0
- data/doc/MG/Speed.html +259 -0
- data/doc/MG/Sprite.html +547 -144
- data/doc/MG/Text.html +94 -91
- data/doc/MG/TintBy.html +272 -0
- data/doc/MG/TintTo.html +274 -0
- data/doc/MG/Web.html +77 -74
- data/doc/MG/Widget.html +70 -67
- data/doc/_index.html +223 -33
- data/doc/class_list.html +24 -31
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +220 -78
- data/doc/file.README.html +29 -30
- data/doc/file_list.html +26 -30
- data/doc/frames.html +7 -16
- data/doc/index.html +29 -30
- data/doc/js/app.js +100 -76
- data/doc/js/full_list.js +170 -135
- data/doc/method_list.html +1096 -500
- data/doc/top-level-namespace.html +35 -35
- data/lib/motion-game/android/main_activity.rb +21 -0
- data/lib/motion-game/ios/app_delegate.rb +14 -0
- data/lib/motion-game/tvos/app_delegate.rb +16 -0
- data/template/motion-game/files/app/application.rb +8 -0
- metadata +28 -4
@@ -0,0 +1,239 @@
|
|
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::RepeatForever
|
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::RepeatForever";
|
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 (R)</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">RepeatForever</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::RepeatForever
|
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::RepeatForever</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>(target_action) ⇒ RepeatForever </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 repeats the provided action forever.</p>
|
147
|
+
</div></span>
|
148
|
+
|
149
|
+
</li>
|
150
|
+
|
151
|
+
|
152
|
+
</ul>
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span></h3>
|
165
|
+
<p class="inherited"><span class='object_link'><a href="Action.html#clone-instance_method" title="MG::Action#clone (method)">#clone</a></span>, <span class='object_link'><a href="Action.html#reverse-instance_method" title="MG::Action#reverse (method)">#reverse</a></span></p>
|
166
|
+
<div id="constructor_details" class="method_details_list">
|
167
|
+
<h2>Constructor Details</h2>
|
168
|
+
|
169
|
+
<div class="method_details first">
|
170
|
+
<h3 class="signature first" id="initialize-instance_method">
|
171
|
+
|
172
|
+
#<strong>initialize</strong>(target_action) ⇒ <tt><span class='object_link'><a href="" title="MG::RepeatForever (class)">RepeatForever</a></span></tt>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
</h3><div class="docstring">
|
179
|
+
<div class="discussion">
|
180
|
+
|
181
|
+
<p>Creates an action that repeats the provided action forever.</p>
|
182
|
+
|
183
|
+
|
184
|
+
</div>
|
185
|
+
</div>
|
186
|
+
<div class="tags">
|
187
|
+
<p class="tag_title">Parameters:</p>
|
188
|
+
<ul class="param">
|
189
|
+
|
190
|
+
<li>
|
191
|
+
|
192
|
+
<span class='name'>target_action</span>
|
193
|
+
|
194
|
+
|
195
|
+
<span class='type'>(<tt><span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span></tt>)</span>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
—
|
200
|
+
<div class='inline'>
|
201
|
+
<p>the action to repeat.</p>
|
202
|
+
</div>
|
203
|
+
|
204
|
+
</li>
|
205
|
+
|
206
|
+
</ul>
|
207
|
+
|
208
|
+
|
209
|
+
</div><table class="source_code">
|
210
|
+
<tr>
|
211
|
+
<td>
|
212
|
+
<pre class="lines">
|
213
|
+
|
214
|
+
|
215
|
+
315</pre>
|
216
|
+
</td>
|
217
|
+
<td>
|
218
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 315</span>
|
219
|
+
|
220
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_target_action'>target_action</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
221
|
+
</td>
|
222
|
+
</tr>
|
223
|
+
</table>
|
224
|
+
</div>
|
225
|
+
|
226
|
+
</div>
|
227
|
+
|
228
|
+
|
229
|
+
</div>
|
230
|
+
|
231
|
+
<div id="footer">
|
232
|
+
Generated on Sun Nov 27 15:52:18 2016 by
|
233
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
234
|
+
0.9.5 (ruby-2.3.3).
|
235
|
+
</div>
|
236
|
+
|
237
|
+
</div>
|
238
|
+
</body>
|
239
|
+
</html>
|
@@ -0,0 +1,259 @@
|
|
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::RotateBy
|
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::RotateBy";
|
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 (R)</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">RotateBy</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::RotateBy
|
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::RotateBy</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>(delta_angle, interval) ⇒ Sprite </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 will rotates the position of the receiver to a new
|
147
|
+
angle determined by the sum of the current rotation and the given
|
148
|
+
<code>delta_angle</code> object.</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>(delta_angle, interval) ⇒ <tt><span class='object_link'><a href="Sprite.html" title="MG::Sprite (class)">Sprite</a></span></tt>
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
</h3><div class="docstring">
|
181
|
+
<div class="discussion">
|
182
|
+
|
183
|
+
<p>Creates an action that will rotates the position of the receiver to a new
|
184
|
+
angle determined by the sum of the current rotation and the given
|
185
|
+
<code>delta_angle</code> object.</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'>delta_angle</span>
|
197
|
+
|
198
|
+
|
199
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
—
|
204
|
+
<div class='inline'>
|
205
|
+
<p>the angle to add to the current rotation</p>
|
206
|
+
</div>
|
207
|
+
|
208
|
+
</li>
|
209
|
+
|
210
|
+
<li>
|
211
|
+
|
212
|
+
<span class='name'>interval</span>
|
213
|
+
|
214
|
+
|
215
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
—
|
220
|
+
<div class='inline'>
|
221
|
+
<p>the animation interval.</p>
|
222
|
+
</div>
|
223
|
+
|
224
|
+
</li>
|
225
|
+
|
226
|
+
</ul>
|
227
|
+
|
228
|
+
|
229
|
+
</div><table class="source_code">
|
230
|
+
<tr>
|
231
|
+
<td>
|
232
|
+
<pre class="lines">
|
233
|
+
|
234
|
+
|
235
|
+
93</pre>
|
236
|
+
</td>
|
237
|
+
<td>
|
238
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 93</span>
|
239
|
+
|
240
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_delta_angle'>delta_angle</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>
|
241
|
+
</td>
|
242
|
+
</tr>
|
243
|
+
</table>
|
244
|
+
</div>
|
245
|
+
|
246
|
+
</div>
|
247
|
+
|
248
|
+
|
249
|
+
</div>
|
250
|
+
|
251
|
+
<div id="footer">
|
252
|
+
Generated on Sun Nov 27 15:52:18 2016 by
|
253
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
254
|
+
0.9.5 (ruby-2.3.3).
|
255
|
+
</div>
|
256
|
+
|
257
|
+
</div>
|
258
|
+
</body>
|
259
|
+
</html>
|