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/Size.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::Size
|
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::Size";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!MG/Size.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 (S)</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">Size</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::Size
|
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">
|
@@ -129,13 +131,13 @@ example,</p>
|
|
129
131
|
|
130
132
|
|
131
133
|
|
132
|
-
<h2>Properties <small
|
134
|
+
<h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
133
135
|
<ul class="summary">
|
134
136
|
|
135
137
|
<li class="public ">
|
136
138
|
<span class="summary_signature">
|
137
139
|
|
138
|
-
<a href="#height-instance_method" title="#height (instance method)"
|
140
|
+
<a href="#height-instance_method" title="#height (instance method)">#<strong>height</strong> ⇒ Float </a>
|
139
141
|
|
140
142
|
|
141
143
|
|
@@ -162,7 +164,7 @@ example,</p>
|
|
162
164
|
<li class="public ">
|
163
165
|
<span class="summary_signature">
|
164
166
|
|
165
|
-
<a href="#width-instance_method" title="#width (instance method)"
|
167
|
+
<a href="#width-instance_method" title="#width (instance method)">#<strong>width</strong> ⇒ Float </a>
|
166
168
|
|
167
169
|
|
168
170
|
|
@@ -194,7 +196,7 @@ example,</p>
|
|
194
196
|
|
195
197
|
<h2>
|
196
198
|
Helpers
|
197
|
-
<small
|
199
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
198
200
|
</h2>
|
199
201
|
|
200
202
|
<ul class="summary">
|
@@ -202,7 +204,7 @@ example,</p>
|
|
202
204
|
<li class="public ">
|
203
205
|
<span class="summary_signature">
|
204
206
|
|
205
|
-
<a href="#%2A-instance_method" title="#* (instance method)"
|
207
|
+
<a href="#%2A-instance_method" title="#* (instance method)">#<strong>*</strong>(delta) ⇒ Size </a>
|
206
208
|
|
207
209
|
|
208
210
|
|
@@ -226,7 +228,7 @@ example,</p>
|
|
226
228
|
<li class="public ">
|
227
229
|
<span class="summary_signature">
|
228
230
|
|
229
|
-
<a href="#%2B-instance_method" title="#+ (instance method)"
|
231
|
+
<a href="#%2B-instance_method" title="#+ (instance method)">#<strong>+</strong>(size) ⇒ Size </a>
|
230
232
|
|
231
233
|
|
232
234
|
|
@@ -251,7 +253,7 @@ object.</p>
|
|
251
253
|
<li class="public ">
|
252
254
|
<span class="summary_signature">
|
253
255
|
|
254
|
-
<a href="#--instance_method" title="#- (instance method)"
|
256
|
+
<a href="#--instance_method" title="#- (instance method)">#<strong>-</strong>(size) ⇒ Size </a>
|
255
257
|
|
256
258
|
|
257
259
|
|
@@ -276,7 +278,7 @@ size object.</p>
|
|
276
278
|
<li class="public ">
|
277
279
|
<span class="summary_signature">
|
278
280
|
|
279
|
-
<a href="#%2F-instance_method" title="#/ (instance method)"
|
281
|
+
<a href="#%2F-instance_method" title="#/ (instance method)">#<strong>/</strong>(delta) ⇒ Size </a>
|
280
282
|
|
281
283
|
|
282
284
|
|
@@ -309,7 +311,7 @@ size object.</p>
|
|
309
311
|
<div class="method_details first">
|
310
312
|
<h3 class="signature first" id="height-instance_method">
|
311
313
|
|
312
|
-
|
314
|
+
#<strong>height</strong> ⇒ <tt>Float</tt>
|
313
315
|
|
314
316
|
|
315
317
|
|
@@ -350,12 +352,12 @@ size object.</p>
|
|
350
352
|
<pre class="lines">
|
351
353
|
|
352
354
|
|
353
|
-
|
354
|
-
|
355
|
-
|
355
|
+
1056
|
356
|
+
1057
|
357
|
+
1058</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 1056</span>
|
359
361
|
|
360
362
|
<span class='kw'>def</span> <span class='id identifier rubyid_height'>height</span>
|
361
363
|
<span class='ivar'>@height</span>
|
@@ -370,7 +372,7 @@ size object.</p>
|
|
370
372
|
<div class="method_details ">
|
371
373
|
<h3 class="signature " id="width-instance_method">
|
372
374
|
|
373
|
-
|
375
|
+
#<strong>width</strong> ⇒ <tt>Float</tt>
|
374
376
|
|
375
377
|
|
376
378
|
|
@@ -411,12 +413,12 @@ size object.</p>
|
|
411
413
|
<pre class="lines">
|
412
414
|
|
413
415
|
|
414
|
-
|
415
|
-
|
416
|
-
|
416
|
+
1053
|
417
|
+
1054
|
418
|
+
1055</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 1053</span>
|
420
422
|
|
421
423
|
<span class='kw'>def</span> <span class='id identifier rubyid_width'>width</span>
|
422
424
|
<span class='ivar'>@width</span>
|
@@ -436,7 +438,7 @@ size object.</p>
|
|
436
438
|
<div class="method_details first">
|
437
439
|
<h3 class="signature first" id="*-instance_method">
|
438
440
|
|
439
|
-
|
441
|
+
#<strong>*</strong>(delta) ⇒ <tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>
|
440
442
|
|
441
443
|
|
442
444
|
|
@@ -497,10 +499,10 @@ size object.</p>
|
|
497
499
|
<pre class="lines">
|
498
500
|
|
499
501
|
|
500
|
-
|
502
|
+
1081</pre>
|
501
503
|
</td>
|
502
504
|
<td>
|
503
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
505
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1081</span>
|
504
506
|
|
505
507
|
<span class='kw'>def</span> <span class='op'>*</span><span class='lparen'>(</span><span class='id identifier rubyid_delta'>delta</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
506
508
|
</td>
|
@@ -511,7 +513,7 @@ size object.</p>
|
|
511
513
|
<div class="method_details ">
|
512
514
|
<h3 class="signature " id="+-instance_method">
|
513
515
|
|
514
|
-
|
516
|
+
#<strong>+</strong>(size) ⇒ <tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>
|
515
517
|
|
516
518
|
|
517
519
|
|
@@ -568,10 +570,10 @@ object.</p>
|
|
568
570
|
<pre class="lines">
|
569
571
|
|
570
572
|
|
571
|
-
|
573
|
+
1065</pre>
|
572
574
|
</td>
|
573
575
|
<td>
|
574
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
576
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1065</span>
|
575
577
|
|
576
578
|
<span class='kw'>def</span> <span class='op'>+</span><span class='lparen'>(</span><span class='id identifier rubyid_size'>size</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
577
579
|
</td>
|
@@ -582,7 +584,7 @@ object.</p>
|
|
582
584
|
<div class="method_details ">
|
583
585
|
<h3 class="signature " id="--instance_method">
|
584
586
|
|
585
|
-
|
587
|
+
#<strong>-</strong>(size) ⇒ <tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>
|
586
588
|
|
587
589
|
|
588
590
|
|
@@ -639,10 +641,10 @@ size object.</p>
|
|
639
641
|
<pre class="lines">
|
640
642
|
|
641
643
|
|
642
|
-
|
644
|
+
1071</pre>
|
643
645
|
</td>
|
644
646
|
<td>
|
645
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
647
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1071</span>
|
646
648
|
|
647
649
|
<span class='kw'>def</span> <span class='op'>-</span><span class='lparen'>(</span><span class='id identifier rubyid_size'>size</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
648
650
|
</td>
|
@@ -653,7 +655,7 @@ size object.</p>
|
|
653
655
|
<div class="method_details ">
|
654
656
|
<h3 class="signature " id="/-instance_method">
|
655
657
|
|
656
|
-
|
658
|
+
#<strong>/</strong>(delta) ⇒ <tt><span class='object_link'><a href="" title="MG::Size (class)">Size</a></span></tt>
|
657
659
|
|
658
660
|
|
659
661
|
|
@@ -714,10 +716,10 @@ size object.</p>
|
|
714
716
|
<pre class="lines">
|
715
717
|
|
716
718
|
|
717
|
-
|
719
|
+
1076</pre>
|
718
720
|
</td>
|
719
721
|
<td>
|
720
|
-
<pre class="code"><span class="info file"># File 'motion-game', line
|
722
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 1076</span>
|
721
723
|
|
722
724
|
<span class='kw'>def</span> <span class='op'>/</span><span class='lparen'>(</span><span class='id identifier rubyid_delta'>delta</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
723
725
|
</td>
|
@@ -729,11 +731,12 @@ size object.</p>
|
|
729
731
|
|
730
732
|
</div>
|
731
733
|
|
732
|
-
|
733
|
-
Generated on
|
734
|
+
<div id="footer">
|
735
|
+
Generated on Sun Nov 27 15:52:19 2016 by
|
734
736
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
735
|
-
0.
|
737
|
+
0.9.5 (ruby-2.3.3).
|
736
738
|
</div>
|
737
739
|
|
740
|
+
</div>
|
738
741
|
</body>
|
739
742
|
</html>
|
data/doc/MG/SkewBy.html
ADDED
@@ -0,0 +1,273 @@
|
|
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::SkewBy
|
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::SkewBy";
|
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 (S)</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">SkewBy</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::SkewBy
|
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::SkewBy</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_x_angle, delta_y_angle, interval) ⇒ SkewBy </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 skews a Node object to given angles by modifying
|
147
|
+
it's skewX and skewY attributes by delta_x_angle and delta_y_angle.</p>
|
148
|
+
</div></span>
|
149
|
+
|
150
|
+
</li>
|
151
|
+
|
152
|
+
|
153
|
+
</ul>
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Action.html" title="MG::Action (class)">Action</a></span></h3>
|
166
|
+
<p class="inherited"><span class='object_link'><a href="Action.html#clone-instance_method" title="MG::Action#clone (method)">#clone</a></span>, <span class='object_link'><a href="Action.html#reverse-instance_method" title="MG::Action#reverse (method)">#reverse</a></span></p>
|
167
|
+
<div id="constructor_details" class="method_details_list">
|
168
|
+
<h2>Constructor Details</h2>
|
169
|
+
|
170
|
+
<div class="method_details first">
|
171
|
+
<h3 class="signature first" id="initialize-instance_method">
|
172
|
+
|
173
|
+
#<strong>initialize</strong>(delta_x_angle, delta_y_angle, interval) ⇒ <tt><span class='object_link'><a href="" title="MG::SkewBy (class)">SkewBy</a></span></tt>
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
</h3><div class="docstring">
|
180
|
+
<div class="discussion">
|
181
|
+
|
182
|
+
<p>Creates an action that skews a Node object to given angles by modifying
|
183
|
+
it's skewX and skewY attributes by delta_x_angle and delta_y_angle.</p>
|
184
|
+
|
185
|
+
|
186
|
+
</div>
|
187
|
+
</div>
|
188
|
+
<div class="tags">
|
189
|
+
<p class="tag_title">Parameters:</p>
|
190
|
+
<ul class="param">
|
191
|
+
|
192
|
+
<li>
|
193
|
+
|
194
|
+
<span class='name'>delta_x_angle</span>
|
195
|
+
|
196
|
+
|
197
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
—
|
202
|
+
<div class='inline'>
|
203
|
+
<p>the skew X delta angle</p>
|
204
|
+
</div>
|
205
|
+
|
206
|
+
</li>
|
207
|
+
|
208
|
+
<li>
|
209
|
+
|
210
|
+
<span class='name'>delta_y_angle</span>
|
211
|
+
|
212
|
+
|
213
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
—
|
218
|
+
<div class='inline'>
|
219
|
+
<p>the skew Y delta angle</p>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
</li>
|
223
|
+
|
224
|
+
<li>
|
225
|
+
|
226
|
+
<span class='name'>interval</span>
|
227
|
+
|
228
|
+
|
229
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
—
|
234
|
+
<div class='inline'>
|
235
|
+
<p>the animation interval.</p>
|
236
|
+
</div>
|
237
|
+
|
238
|
+
</li>
|
239
|
+
|
240
|
+
</ul>
|
241
|
+
|
242
|
+
|
243
|
+
</div><table class="source_code">
|
244
|
+
<tr>
|
245
|
+
<td>
|
246
|
+
<pre class="lines">
|
247
|
+
|
248
|
+
|
249
|
+
144</pre>
|
250
|
+
</td>
|
251
|
+
<td>
|
252
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 144</span>
|
253
|
+
|
254
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_delta_x_angle'>delta_x_angle</span><span class='comma'>,</span> <span class='id identifier rubyid_delta_y_angle'>delta_y_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>
|
255
|
+
</td>
|
256
|
+
</tr>
|
257
|
+
</table>
|
258
|
+
</div>
|
259
|
+
|
260
|
+
</div>
|
261
|
+
|
262
|
+
|
263
|
+
</div>
|
264
|
+
|
265
|
+
<div id="footer">
|
266
|
+
Generated on Sun Nov 27 15:52:18 2016 by
|
267
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
268
|
+
0.9.5 (ruby-2.3.3).
|
269
|
+
</div>
|
270
|
+
|
271
|
+
</div>
|
272
|
+
</body>
|
273
|
+
</html>
|