motion-game 1.1.5 → 1.1.6
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/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
data/doc/MG/Draw.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: MG::Draw
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "MG::Draw";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!MG/Draw.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,50 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
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">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (D)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Draw</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
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>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
62
|
+
<iframe id="search_frame" src="../class_list.html"></iframe>
|
65
63
|
|
66
|
-
|
64
|
+
<div id="content"><h1>Class: MG::Draw
|
67
65
|
|
68
66
|
|
69
67
|
|
70
68
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
69
|
+
<div class="box_info">
|
73
70
|
|
74
|
-
|
75
|
-
<
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
76
74
|
<span class="inheritName"><span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></span>
|
77
75
|
|
78
76
|
<ul class="fullTree">
|
@@ -85,21 +83,25 @@
|
|
85
83
|
</ul>
|
86
84
|
<a href="#" class="inheritanceTree">show all</a>
|
87
85
|
|
88
|
-
|
89
|
-
|
86
|
+
</dd>
|
87
|
+
</dl>
|
88
|
+
|
89
|
+
|
90
90
|
|
91
91
|
|
92
|
-
|
93
92
|
|
94
|
-
|
95
93
|
|
96
94
|
|
95
|
+
|
96
|
+
|
97
|
+
|
97
98
|
|
98
|
-
|
99
|
-
<
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>motion-game</dd>
|
102
|
+
</dl>
|
100
103
|
|
101
|
-
</
|
102
|
-
<div class="clear"></div>
|
104
|
+
</div>
|
103
105
|
|
104
106
|
|
105
107
|
|
@@ -116,7 +118,7 @@
|
|
116
118
|
|
117
119
|
<h2>
|
118
120
|
Draw Operations
|
119
|
-
<small
|
121
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
120
122
|
</h2>
|
121
123
|
|
122
124
|
<ul class="summary">
|
@@ -124,7 +126,7 @@
|
|
124
126
|
<li class="public ">
|
125
127
|
<span class="summary_signature">
|
126
128
|
|
127
|
-
<a href="#clear-instance_method" title="#clear (instance method)"
|
129
|
+
<a href="#clear-instance_method" title="#clear (instance method)">#<strong>clear</strong> ⇒ Draw </a>
|
128
130
|
|
129
131
|
|
130
132
|
|
@@ -148,7 +150,7 @@
|
|
148
150
|
<li class="public ">
|
149
151
|
<span class="summary_signature">
|
150
152
|
|
151
|
-
<a href="#dot-instance_method" title="#dot (instance method)"
|
153
|
+
<a href="#dot-instance_method" title="#dot (instance method)">#<strong>dot</strong>(pos, radius, color) ⇒ Draw </a>
|
152
154
|
|
153
155
|
|
154
156
|
|
@@ -173,7 +175,7 @@ color.</p>
|
|
173
175
|
<li class="public ">
|
174
176
|
<span class="summary_signature">
|
175
177
|
|
176
|
-
<a href="#line-instance_method" title="#line (instance method)"
|
178
|
+
<a href="#line-instance_method" title="#line (instance method)">#<strong>line</strong>(origin, destination, thickness, color) ⇒ Draw </a>
|
177
179
|
|
178
180
|
|
179
181
|
|
@@ -197,7 +199,7 @@ color.</p>
|
|
197
199
|
<li class="public ">
|
198
200
|
<span class="summary_signature">
|
199
201
|
|
200
|
-
<a href="#rect-instance_method" title="#rect (instance method)"
|
202
|
+
<a href="#rect-instance_method" title="#rect (instance method)">#<strong>rect</strong>(origin, destination, color, fill = false) ⇒ Draw </a>
|
201
203
|
|
202
204
|
|
203
205
|
|
@@ -221,7 +223,7 @@ color.</p>
|
|
221
223
|
<li class="public ">
|
222
224
|
<span class="summary_signature">
|
223
225
|
|
224
|
-
<a href="#triangle-instance_method" title="#triangle (instance method)"
|
226
|
+
<a href="#triangle-instance_method" title="#triangle (instance method)">#<strong>triangle</strong>(position1, position2, position3, color) ⇒ Draw </a>
|
225
227
|
|
226
228
|
|
227
229
|
|
@@ -255,7 +257,7 @@ color.</p>
|
|
255
257
|
|
256
258
|
|
257
259
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
258
|
-
<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#delete-instance_method" title="MG::Node#delete (method)">#delete</a></span>, <span class='object_link'><a href="Node.html#delete_from_parent-instance_method" title="MG::Node#delete_from_parent (method)">#delete_from_parent</a></span>, <span class='object_link'><a href="Node.html#intersects%3F-instance_method" title="MG::Node#intersects? (method)">#intersects?</a></span>, <span class='object_link'><a href="Node.html#parent-instance_method" title="MG::Node#parent (method)">#parent</a></span></p>
|
260
|
+
<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#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>
|
259
261
|
|
260
262
|
|
261
263
|
<div id="instance_method_details" class="method_details_list">
|
@@ -265,7 +267,7 @@ color.</p>
|
|
265
267
|
<div class="method_details first">
|
266
268
|
<h3 class="signature first" id="clear-instance_method">
|
267
269
|
|
268
|
-
|
270
|
+
#<strong>clear</strong> ⇒ <tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>
|
269
271
|
|
270
272
|
|
271
273
|
|
@@ -306,10 +308,10 @@ color.</p>
|
|
306
308
|
<pre class="lines">
|
307
309
|
|
308
310
|
|
309
|
-
|
311
|
+
774</pre>
|
310
312
|
</td>
|
311
313
|
<td>
|
312
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
314
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 774</span>
|
313
315
|
|
314
316
|
<span class='kw'>def</span> <span class='id identifier rubyid_clear'>clear</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
315
317
|
</td>
|
@@ -320,7 +322,7 @@ color.</p>
|
|
320
322
|
<div class="method_details ">
|
321
323
|
<h3 class="signature " id="dot-instance_method">
|
322
324
|
|
323
|
-
|
325
|
+
#<strong>dot</strong>(pos, radius, color) ⇒ <tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>
|
324
326
|
|
325
327
|
|
326
328
|
|
@@ -414,10 +416,10 @@ color.</p>
|
|
414
416
|
<pre class="lines">
|
415
417
|
|
416
418
|
|
417
|
-
|
419
|
+
781</pre>
|
418
420
|
</td>
|
419
421
|
<td>
|
420
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
422
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 781</span>
|
421
423
|
|
422
424
|
<span class='kw'>def</span> <span class='id identifier rubyid_dot'>dot</span><span class='lparen'>(</span><span class='id identifier rubyid_pos'>pos</span><span class='comma'>,</span> <span class='id identifier rubyid_radius'>radius</span><span class='comma'>,</span> <span class='id identifier rubyid_color'>color</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
423
425
|
</td>
|
@@ -428,7 +430,7 @@ color.</p>
|
|
428
430
|
<div class="method_details ">
|
429
431
|
<h3 class="signature " id="line-instance_method">
|
430
432
|
|
431
|
-
|
433
|
+
#<strong>line</strong>(origin, destination, thickness, color) ⇒ <tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>
|
432
434
|
|
433
435
|
|
434
436
|
|
@@ -537,10 +539,10 @@ color.</p>
|
|
537
539
|
<pre class="lines">
|
538
540
|
|
539
541
|
|
540
|
-
|
542
|
+
797</pre>
|
541
543
|
</td>
|
542
544
|
<td>
|
543
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
545
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 797</span>
|
544
546
|
|
545
547
|
<span class='kw'>def</span> <span class='id identifier rubyid_line'>line</span><span class='lparen'>(</span><span class='id identifier rubyid_origin'>origin</span><span class='comma'>,</span> <span class='id identifier rubyid_destination'>destination</span><span class='comma'>,</span> <span class='id identifier rubyid_thickness'>thickness</span><span class='comma'>,</span> <span class='id identifier rubyid_color'>color</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
546
548
|
</td>
|
@@ -551,7 +553,7 @@ color.</p>
|
|
551
553
|
<div class="method_details ">
|
552
554
|
<h3 class="signature " id="rect-instance_method">
|
553
555
|
|
554
|
-
|
556
|
+
#<strong>rect</strong>(origin, destination, color, fill = false) ⇒ <tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>
|
555
557
|
|
556
558
|
|
557
559
|
|
@@ -662,10 +664,10 @@ color.</p>
|
|
662
664
|
<pre class="lines">
|
663
665
|
|
664
666
|
|
665
|
-
|
667
|
+
789</pre>
|
666
668
|
</td>
|
667
669
|
<td>
|
668
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
670
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 789</span>
|
669
671
|
|
670
672
|
<span class='kw'>def</span> <span class='id identifier rubyid_rect'>rect</span><span class='lparen'>(</span><span class='id identifier rubyid_origin'>origin</span><span class='comma'>,</span> <span class='id identifier rubyid_destination'>destination</span><span class='comma'>,</span> <span class='id identifier rubyid_color'>color</span><span class='comma'>,</span> <span class='id identifier rubyid_fill'>fill</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
671
673
|
</td>
|
@@ -676,7 +678,7 @@ color.</p>
|
|
676
678
|
<div class="method_details ">
|
677
679
|
<h3 class="signature " id="triangle-instance_method">
|
678
680
|
|
679
|
-
|
681
|
+
#<strong>triangle</strong>(position1, position2, position3, color) ⇒ <tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>
|
680
682
|
|
681
683
|
|
682
684
|
|
@@ -785,10 +787,10 @@ color.</p>
|
|
785
787
|
<pre class="lines">
|
786
788
|
|
787
789
|
|
788
|
-
|
790
|
+
805</pre>
|
789
791
|
</td>
|
790
792
|
<td>
|
791
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
793
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 805</span>
|
792
794
|
|
793
795
|
<span class='kw'>def</span> <span class='id identifier rubyid_triangle'>triangle</span><span class='lparen'>(</span><span class='id identifier rubyid_position1'>position1</span><span class='comma'>,</span> <span class='id identifier rubyid_position2'>position2</span><span class='comma'>,</span> <span class='id identifier rubyid_position3'>position3</span><span class='comma'>,</span> <span class='id identifier rubyid_color'>color</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
794
796
|
</td>
|
@@ -800,11 +802,12 @@ color.</p>
|
|
800
802
|
|
801
803
|
</div>
|
802
804
|
|
803
|
-
|
804
|
-
Generated on
|
805
|
+
<div id="footer">
|
806
|
+
Generated on Sun Nov 27 15:52:19 2016 by
|
805
807
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
806
|
-
0.
|
808
|
+
0.9.5 (ruby-2.3.3).
|
807
809
|
</div>
|
808
810
|
|
811
|
+
</div>
|
809
812
|
</body>
|
810
813
|
</html>
|
data/doc/MG/Events.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: MG::Events
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "MG::Events";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!MG/Events.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,61 +27,63 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
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">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (E)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Events</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
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>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
62
|
+
<iframe id="search_frame" src="../class_list.html"></iframe>
|
65
63
|
|
66
|
-
|
64
|
+
<div id="content"><h1>Module: MG::Events
|
67
65
|
|
68
66
|
|
69
67
|
|
70
68
|
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
71
|
|
72
|
-
<dl class="box">
|
73
72
|
|
74
73
|
|
75
|
-
|
76
74
|
|
77
|
-
|
78
75
|
|
79
76
|
|
77
|
+
|
78
|
+
|
79
|
+
|
80
80
|
|
81
|
-
|
82
|
-
<
|
81
|
+
<dl>
|
82
|
+
<dt>Defined in:</dt>
|
83
|
+
<dd>motion-game</dd>
|
84
|
+
</dl>
|
83
85
|
|
84
|
-
</
|
85
|
-
<div class="clear"></div>
|
86
|
+
</div>
|
86
87
|
|
87
88
|
<h2>Overview</h2><div class="docstring">
|
88
89
|
<div class="discussion">
|
@@ -117,11 +118,12 @@ the game engine. You typically never instantiate these classes yourself.</p>
|
|
117
118
|
|
118
119
|
</div>
|
119
120
|
|
120
|
-
|
121
|
-
Generated on
|
121
|
+
<div id="footer">
|
122
|
+
Generated on Sun Nov 27 15:52:18 2016 by
|
122
123
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
123
|
-
0.
|
124
|
+
0.9.5 (ruby-2.3.3).
|
124
125
|
</div>
|
125
126
|
|
127
|
+
</div>
|
126
128
|
</body>
|
127
129
|
</html>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: MG::Events::Acceleration
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "MG::Events::Acceleration";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!MG/Events/Acceleration.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,50 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
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">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (A)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../MG.html" title="MG (module)">MG</a></span></span> » <span class='title'><span class='object_link'><a href="../Events.html" title="MG::Events (module)">Events</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Acceleration</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
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>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
62
|
+
<iframe id="search_frame" src="../../class_list.html"></iframe>
|
65
63
|
|
66
|
-
|
64
|
+
<div id="content"><h1>Class: MG::Events::Acceleration
|
67
65
|
|
68
66
|
|
69
67
|
|
70
68
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
69
|
+
<div class="box_info">
|
73
70
|
|
74
|
-
|
75
|
-
<
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
76
74
|
<span class="inheritName">Object</span>
|
77
75
|
|
78
76
|
<ul class="fullTree">
|
@@ -83,21 +81,25 @@
|
|
83
81
|
</ul>
|
84
82
|
<a href="#" class="inheritanceTree">show all</a>
|
85
83
|
|
86
|
-
|
87
|
-
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
88
88
|
|
89
89
|
|
90
|
-
|
91
90
|
|
92
|
-
|
93
91
|
|
94
92
|
|
93
|
+
|
94
|
+
|
95
|
+
|
95
96
|
|
96
|
-
|
97
|
-
<
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>motion-game</dd>
|
100
|
+
</dl>
|
98
101
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
102
|
+
</div>
|
101
103
|
|
102
104
|
<h2>Overview</h2><div class="docstring">
|
103
105
|
<div class="discussion">
|
@@ -115,13 +117,13 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
115
117
|
|
116
118
|
|
117
119
|
|
118
|
-
<h2>Properties <small
|
120
|
+
<h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
119
121
|
<ul class="summary">
|
120
122
|
|
121
123
|
<li class="public ">
|
122
124
|
<span class="summary_signature">
|
123
125
|
|
124
|
-
<a href="#timestamp-instance_method" title="#timestamp (instance method)"
|
126
|
+
<a href="#timestamp-instance_method" title="#timestamp (instance method)">#<strong>timestamp</strong> ⇒ Float </a>
|
125
127
|
|
126
128
|
|
127
129
|
|
@@ -150,7 +152,7 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
150
152
|
<li class="public ">
|
151
153
|
<span class="summary_signature">
|
152
154
|
|
153
|
-
<a href="#x-instance_method" title="#x (instance method)"
|
155
|
+
<a href="#x-instance_method" title="#x (instance method)">#<strong>x</strong> ⇒ Float </a>
|
154
156
|
|
155
157
|
|
156
158
|
|
@@ -179,7 +181,7 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
179
181
|
<li class="public ">
|
180
182
|
<span class="summary_signature">
|
181
183
|
|
182
|
-
<a href="#y-instance_method" title="#y (instance method)"
|
184
|
+
<a href="#y-instance_method" title="#y (instance method)">#<strong>y</strong> ⇒ Float </a>
|
183
185
|
|
184
186
|
|
185
187
|
|
@@ -208,7 +210,7 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
208
210
|
<li class="public ">
|
209
211
|
<span class="summary_signature">
|
210
212
|
|
211
|
-
<a href="#z-instance_method" title="#z (instance method)"
|
213
|
+
<a href="#z-instance_method" title="#z (instance method)">#<strong>z</strong> ⇒ Float </a>
|
212
214
|
|
213
215
|
|
214
216
|
|
@@ -248,7 +250,7 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
248
250
|
<div class="method_details first">
|
249
251
|
<h3 class="signature first" id="timestamp-instance_method">
|
250
252
|
|
251
|
-
|
253
|
+
#<strong>timestamp</strong> ⇒ <tt>Float</tt> <span class="extras">(readonly)</span>
|
252
254
|
|
253
255
|
|
254
256
|
|
@@ -289,12 +291,12 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
289
291
|
<pre class="lines">
|
290
292
|
|
291
293
|
|
292
|
-
|
293
|
-
|
294
|
-
|
294
|
+
497
|
295
|
+
498
|
296
|
+
499</pre>
|
295
297
|
</td>
|
296
298
|
<td>
|
297
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
299
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 497</span>
|
298
300
|
|
299
301
|
<span class='kw'>def</span> <span class='id identifier rubyid_timestamp'>timestamp</span>
|
300
302
|
<span class='ivar'>@timestamp</span>
|
@@ -309,7 +311,7 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
309
311
|
<div class="method_details ">
|
310
312
|
<h3 class="signature " id="x-instance_method">
|
311
313
|
|
312
|
-
|
314
|
+
#<strong>x</strong> ⇒ <tt>Float</tt> <span class="extras">(readonly)</span>
|
313
315
|
|
314
316
|
|
315
317
|
|
@@ -350,12 +352,12 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
350
352
|
<pre class="lines">
|
351
353
|
|
352
354
|
|
353
|
-
|
354
|
-
|
355
|
-
|
355
|
+
488
|
356
|
+
489
|
357
|
+
490</pre>
|
356
358
|
</td>
|
357
359
|
<td>
|
358
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
360
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 488</span>
|
359
361
|
|
360
362
|
<span class='kw'>def</span> <span class='id identifier rubyid_x'>x</span>
|
361
363
|
<span class='ivar'>@x</span>
|
@@ -370,7 +372,7 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
370
372
|
<div class="method_details ">
|
371
373
|
<h3 class="signature " id="y-instance_method">
|
372
374
|
|
373
|
-
|
375
|
+
#<strong>y</strong> ⇒ <tt>Float</tt> <span class="extras">(readonly)</span>
|
374
376
|
|
375
377
|
|
376
378
|
|
@@ -411,12 +413,12 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
411
413
|
<pre class="lines">
|
412
414
|
|
413
415
|
|
414
|
-
|
415
|
-
|
416
|
-
|
416
|
+
491
|
417
|
+
492
|
418
|
+
493</pre>
|
417
419
|
</td>
|
418
420
|
<td>
|
419
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
421
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 491</span>
|
420
422
|
|
421
423
|
<span class='kw'>def</span> <span class='id identifier rubyid_y'>y</span>
|
422
424
|
<span class='ivar'>@y</span>
|
@@ -431,7 +433,7 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
431
433
|
<div class="method_details ">
|
432
434
|
<h3 class="signature " id="z-instance_method">
|
433
435
|
|
434
|
-
|
436
|
+
#<strong>z</strong> ⇒ <tt>Float</tt> <span class="extras">(readonly)</span>
|
435
437
|
|
436
438
|
|
437
439
|
|
@@ -472,12 +474,12 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
472
474
|
<pre class="lines">
|
473
475
|
|
474
476
|
|
475
|
-
|
476
|
-
|
477
|
-
|
477
|
+
494
|
478
|
+
495
|
479
|
+
496</pre>
|
478
480
|
</td>
|
479
481
|
<td>
|
480
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
482
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 494</span>
|
481
483
|
|
482
484
|
<span class='kw'>def</span> <span class='id identifier rubyid_z'>z</span>
|
483
485
|
<span class='ivar'>@z</span>
|
@@ -492,11 +494,12 @@ the device, usually from the <span class='object_link'><a href="../Scene.html#on
|
|
492
494
|
|
493
495
|
</div>
|
494
496
|
|
495
|
-
|
496
|
-
Generated on
|
497
|
+
<div id="footer">
|
498
|
+
Generated on Sun Nov 27 15:52:18 2016 by
|
497
499
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
498
|
-
0.
|
500
|
+
0.9.5 (ruby-2.3.3).
|
499
501
|
</div>
|
500
502
|
|
503
|
+
</div>
|
501
504
|
</body>
|
502
505
|
</html>
|