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.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/build/android/armeabi/libmotion-cocos.a +0 -0
  3. data/build/android/motion-cocos.jar +0 -0
  4. data/build/android/x86/libmotion-cocos.a +0 -0
  5. data/build/ios/libmotion-cocos.a +0 -0
  6. data/build/tvos/libmotion-cocos.a +0 -0
  7. data/doc/MG.html +40 -38
  8. data/doc/MG/Action.html +402 -0
  9. data/doc/MG/Animate.html +281 -0
  10. data/doc/MG/Application.html +55 -52
  11. data/doc/MG/Audio.html +96 -93
  12. data/doc/MG/Blink.html +257 -0
  13. data/doc/MG/Button.html +82 -79
  14. data/doc/MG/Color.html +70 -67
  15. data/doc/MG/DelayTime.html +239 -0
  16. data/doc/MG/Director.html +256 -95
  17. data/doc/MG/Draw.html +67 -64
  18. data/doc/MG/Events.html +39 -37
  19. data/doc/MG/Events/Acceleration.html +70 -67
  20. data/doc/MG/Events/Touch.html +52 -49
  21. data/doc/MG/FadeIn.html +240 -0
  22. data/doc/MG/FadeOut.html +240 -0
  23. data/doc/MG/FadeTo.html +256 -0
  24. data/doc/MG/File.html +50 -47
  25. data/doc/MG/Follow.html +241 -0
  26. data/doc/MG/JumpBy.html +292 -0
  27. data/doc/MG/JumpTo.html +287 -0
  28. data/doc/MG/Layout.html +70 -67
  29. data/doc/MG/List.html +88 -85
  30. data/doc/MG/Menu.html +65 -62
  31. data/doc/MG/MoveBy.html +259 -0
  32. data/doc/MG/MoveTo.html +257 -0
  33. data/doc/MG/Node.html +393 -133
  34. data/doc/MG/Parallax.html +51 -48
  35. data/doc/MG/Particle.html +118 -115
  36. data/doc/MG/Point.html +67 -64
  37. data/doc/MG/Repeat.html +257 -0
  38. data/doc/MG/RepeatForever.html +239 -0
  39. data/doc/MG/RotateBy.html +259 -0
  40. data/doc/MG/RotateTo.html +257 -0
  41. data/doc/MG/ScaleBy.html +255 -0
  42. data/doc/MG/ScaleTo.html +255 -0
  43. data/doc/MG/Scene.html +110 -107
  44. data/doc/MG/Scroll.html +70 -67
  45. data/doc/MG/Sequence.html +241 -0
  46. data/doc/MG/Size.html +75 -72
  47. data/doc/MG/SkewBy.html +273 -0
  48. data/doc/MG/SkewTo.html +273 -0
  49. data/doc/MG/Slider.html +58 -55
  50. data/doc/MG/Spawn.html +239 -0
  51. data/doc/MG/Speed.html +259 -0
  52. data/doc/MG/Sprite.html +547 -144
  53. data/doc/MG/Text.html +94 -91
  54. data/doc/MG/TintBy.html +272 -0
  55. data/doc/MG/TintTo.html +274 -0
  56. data/doc/MG/Web.html +77 -74
  57. data/doc/MG/Widget.html +70 -67
  58. data/doc/_index.html +223 -33
  59. data/doc/class_list.html +24 -31
  60. data/doc/css/full_list.css +32 -31
  61. data/doc/css/style.css +220 -78
  62. data/doc/file.README.html +29 -30
  63. data/doc/file_list.html +26 -30
  64. data/doc/frames.html +7 -16
  65. data/doc/index.html +29 -30
  66. data/doc/js/app.js +100 -76
  67. data/doc/js/full_list.js +170 -135
  68. data/doc/method_list.html +1096 -500
  69. data/doc/top-level-namespace.html +35 -35
  70. data/lib/motion-game/android/main_activity.rb +21 -0
  71. data/lib/motion-game/ios/app_delegate.rb +14 -0
  72. data/lib/motion-game/tvos/app_delegate.rb +16 -0
  73. data/template/motion-game/files/app/application.rb +8 -0
  74. metadata +28 -4
@@ -1,12 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
7
  Class: MG::Text
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.6
9
+ &mdash; 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
- hasFrames = window.top.frames.main ? true : false;
18
+ pathId = "MG::Text";
19
19
  relpath = '../';
20
- framesUrl = "../frames.html#!MG/Text.html";
21
20
  </script>
22
21
 
23
22
 
@@ -28,51 +27,50 @@
28
27
 
29
28
  </head>
30
29
  <body>
31
- <div id="header">
32
- <div id="menu">
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 (T)</a> &raquo;
35
40
  <span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">Text</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
- <div id="search">
46
+ <div id="search">
44
47
 
45
48
  <a class="full_list_link" id="class_list_link"
46
49
  href="../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../method_list.html">
52
- Method List
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
- <div class="clear"></div>
62
- </div>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
62
+ <iframe id="search_frame" src="../class_list.html"></iframe>
65
63
 
66
- <div id="content"><h1>Class: MG::Text
64
+ <div id="content"><h1>Class: MG::Text
67
65
 
68
66
 
69
67
 
70
68
  </h1>
71
-
72
- <dl class="box">
69
+ <div class="box_info">
73
70
 
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
71
+ <dl>
72
+ <dt>Inherits:</dt>
73
+ <dd>
76
74
  <span class="inheritName"><span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></span>
77
75
 
78
76
  <ul class="fullTree">
@@ -87,33 +85,37 @@
87
85
  </ul>
88
86
  <a href="#" class="inheritanceTree">show all</a>
89
87
 
90
- </dd>
91
-
88
+ </dd>
89
+ </dl>
90
+
91
+
92
92
 
93
93
 
94
-
95
94
 
96
-
97
95
 
98
96
 
97
+
98
+
99
+
99
100
 
100
- <dt class="r2 last">Defined in:</dt>
101
- <dd class="r2 last">motion-game</dd>
101
+ <dl>
102
+ <dt>Defined in:</dt>
103
+ <dd>motion-game</dd>
104
+ </dl>
102
105
 
103
- </dl>
104
- <div class="clear"></div>
106
+ </div>
105
107
 
106
108
 
107
109
 
108
110
 
109
111
 
110
- <h2>Properties <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
112
+ <h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
111
113
  <ul class="summary">
112
114
 
113
115
  <li class="public ">
114
116
  <span class="summary_signature">
115
117
 
116
- <a href="#area_size-instance_method" title="#area_size (instance method)">- (Size) <strong>area_size</strong> </a>
118
+ <a href="#area_size-instance_method" title="#area_size (instance method)">#<strong>area_size</strong> &#x21d2; Size </a>
117
119
 
118
120
 
119
121
 
@@ -140,7 +142,7 @@
140
142
  <li class="public ">
141
143
  <span class="summary_signature">
142
144
 
143
- <a href="#font-instance_method" title="#font (instance method)">- (String) <strong>font</strong> </a>
145
+ <a href="#font-instance_method" title="#font (instance method)">#<strong>font</strong> &#x21d2; String </a>
144
146
 
145
147
 
146
148
 
@@ -167,7 +169,7 @@
167
169
  <li class="public ">
168
170
  <span class="summary_signature">
169
171
 
170
- <a href="#font_size-instance_method" title="#font_size (instance method)">- (Integer) <strong>font_size</strong> </a>
172
+ <a href="#font_size-instance_method" title="#font_size (instance method)">#<strong>font_size</strong> &#x21d2; Integer </a>
171
173
 
172
174
 
173
175
 
@@ -194,7 +196,7 @@
194
196
  <li class="public ">
195
197
  <span class="summary_signature">
196
198
 
197
- <a href="#horizontal_align-instance_method" title="#horizontal_align (instance method)">- (:left, ...) <strong>horizontal_align</strong> </a>
199
+ <a href="#horizontal_align-instance_method" title="#horizontal_align (instance method)">#<strong>horizontal_align</strong> &#x21d2; :left, ... </a>
198
200
 
199
201
 
200
202
 
@@ -221,7 +223,7 @@
221
223
  <li class="public ">
222
224
  <span class="summary_signature">
223
225
 
224
- <a href="#text-instance_method" title="#text (instance method)">- (String) <strong>text</strong> </a>
226
+ <a href="#text-instance_method" title="#text (instance method)">#<strong>text</strong> &#x21d2; String </a>
225
227
 
226
228
 
227
229
 
@@ -248,7 +250,7 @@
248
250
  <li class="public ">
249
251
  <span class="summary_signature">
250
252
 
251
- <a href="#text_color-instance_method" title="#text_color (instance method)">- (Color) <strong>text_color</strong> </a>
253
+ <a href="#text_color-instance_method" title="#text_color (instance method)">#<strong>text_color</strong> &#x21d2; Color </a>
252
254
 
253
255
 
254
256
 
@@ -275,7 +277,7 @@
275
277
  <li class="public ">
276
278
  <span class="summary_signature">
277
279
 
278
- <a href="#vertical_align-instance_method" title="#vertical_align (instance method)">- (:top, ...) <strong>vertical_align</strong> </a>
280
+ <a href="#vertical_align-instance_method" title="#vertical_align (instance method)">#<strong>vertical_align</strong> &#x21d2; :top, ... </a>
279
281
 
280
282
 
281
283
 
@@ -317,7 +319,7 @@
317
319
 
318
320
  <h2>
319
321
  Constructors
320
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
322
+ <small><a href="#" class="summary_toggle">collapse</a></small>
321
323
  </h2>
322
324
 
323
325
  <ul class="summary">
@@ -325,7 +327,7 @@
325
327
  <li class="public ">
326
328
  <span class="summary_signature">
327
329
 
328
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Text) <strong>initialize</strong>(text = &#39;&#39;, font = &#39;&#39;, font_size = 0) </a>
330
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(text = &#39;&#39;, font = &#39;&#39;, font_size = 0) &#x21d2; Text </a>
329
331
 
330
332
 
331
333
 
@@ -372,14 +374,14 @@
372
374
 
373
375
 
374
376
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
375
- <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></p>
377
+ <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>
376
378
  <div id="constructor_details" class="method_details_list">
377
379
  <h2>Constructor Details</h2>
378
380
 
379
381
  <div class="method_details first">
380
382
  <h3 class="signature first" id="initialize-instance_method">
381
383
 
382
- - (<tt><span class='object_link'><a href="" title="MG::Text (class)">Text</a></span></tt>) <strong>initialize</strong>(text = &#39;&#39;, font = &#39;&#39;, font_size = 0)
384
+ #<strong>initialize</strong>(text = &#39;&#39;, font = &#39;&#39;, font_size = 0) &#x21d2; <tt><span class='object_link'><a href="" title="MG::Text (class)">Text</a></span></tt>
383
385
 
384
386
 
385
387
 
@@ -460,10 +462,10 @@
460
462
  <pre class="lines">
461
463
 
462
464
 
463
- 786</pre>
465
+ 1165</pre>
464
466
  </td>
465
467
  <td>
466
- <pre class="code"><span class="info file"># File 'motion-game', line 786</span>
468
+ <pre class="code"><span class="info file"># File 'motion-game', line 1165</span>
467
469
 
468
470
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_font'>font</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_font_size'>font_size</span><span class='op'>=</span><span class='int'>0</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
469
471
  </td>
@@ -481,7 +483,7 @@
481
483
  <div class="method_details first">
482
484
  <h3 class="signature first" id="area_size-instance_method">
483
485
 
484
- - (<tt><span class='object_link'><a href="Size.html" title="MG::Size (class)">Size</a></span></tt>) <strong>area_size</strong>
486
+ #<strong>area_size</strong> &#x21d2; <tt><span class='object_link'><a href="Size.html" title="MG::Size (class)">Size</a></span></tt>
485
487
 
486
488
 
487
489
 
@@ -522,12 +524,12 @@
522
524
  <pre class="lines">
523
525
 
524
526
 
525
- 804
526
- 805
527
- 806</pre>
527
+ 1183
528
+ 1184
529
+ 1185</pre>
528
530
  </td>
529
531
  <td>
530
- <pre class="code"><span class="info file"># File 'motion-game', line 804</span>
532
+ <pre class="code"><span class="info file"># File 'motion-game', line 1183</span>
531
533
 
532
534
  <span class='kw'>def</span> <span class='id identifier rubyid_area_size'>area_size</span>
533
535
  <span class='ivar'>@area_size</span>
@@ -542,7 +544,7 @@
542
544
  <div class="method_details ">
543
545
  <h3 class="signature " id="font-instance_method">
544
546
 
545
- - (<tt>String</tt>) <strong>font</strong>
547
+ #<strong>font</strong> &#x21d2; <tt>String</tt>
546
548
 
547
549
 
548
550
 
@@ -583,12 +585,12 @@
583
585
  <pre class="lines">
584
586
 
585
587
 
586
- 798
587
- 799
588
- 800</pre>
588
+ 1177
589
+ 1178
590
+ 1179</pre>
589
591
  </td>
590
592
  <td>
591
- <pre class="code"><span class="info file"># File 'motion-game', line 798</span>
593
+ <pre class="code"><span class="info file"># File 'motion-game', line 1177</span>
592
594
 
593
595
  <span class='kw'>def</span> <span class='id identifier rubyid_font'>font</span>
594
596
  <span class='ivar'>@font</span>
@@ -603,7 +605,7 @@
603
605
  <div class="method_details ">
604
606
  <h3 class="signature " id="font_size-instance_method">
605
607
 
606
- - (<tt>Integer</tt>) <strong>font_size</strong>
608
+ #<strong>font_size</strong> &#x21d2; <tt>Integer</tt>
607
609
 
608
610
 
609
611
 
@@ -644,12 +646,12 @@
644
646
  <pre class="lines">
645
647
 
646
648
 
647
- 801
648
- 802
649
- 803</pre>
649
+ 1180
650
+ 1181
651
+ 1182</pre>
650
652
  </td>
651
653
  <td>
652
- <pre class="code"><span class="info file"># File 'motion-game', line 801</span>
654
+ <pre class="code"><span class="info file"># File 'motion-game', line 1180</span>
653
655
 
654
656
  <span class='kw'>def</span> <span class='id identifier rubyid_font_size'>font_size</span>
655
657
  <span class='ivar'>@font_size</span>
@@ -664,7 +666,7 @@
664
666
  <div class="method_details ">
665
667
  <h3 class="signature " id="horizontal_align-instance_method">
666
668
 
667
- - (<tt>:left</tt>, ...) <strong>horizontal_align</strong>
669
+ #<strong>horizontal_align</strong> &#x21d2; <tt>:left</tt>, ...
668
670
 
669
671
 
670
672
 
@@ -705,12 +707,12 @@
705
707
  <pre class="lines">
706
708
 
707
709
 
708
- 810
709
- 811
710
- 812</pre>
710
+ 1189
711
+ 1190
712
+ 1191</pre>
711
713
  </td>
712
714
  <td>
713
- <pre class="code"><span class="info file"># File 'motion-game', line 810</span>
715
+ <pre class="code"><span class="info file"># File 'motion-game', line 1189</span>
714
716
 
715
717
  <span class='kw'>def</span> <span class='id identifier rubyid_horizontal_align'>horizontal_align</span>
716
718
  <span class='ivar'>@horizontal_align</span>
@@ -725,7 +727,7 @@
725
727
  <div class="method_details ">
726
728
  <h3 class="signature " id="text-instance_method">
727
729
 
728
- - (<tt>String</tt>) <strong>text</strong>
730
+ #<strong>text</strong> &#x21d2; <tt>String</tt>
729
731
 
730
732
 
731
733
 
@@ -766,12 +768,12 @@
766
768
  <pre class="lines">
767
769
 
768
770
 
769
- 792
770
- 793
771
- 794</pre>
771
+ 1171
772
+ 1172
773
+ 1173</pre>
772
774
  </td>
773
775
  <td>
774
- <pre class="code"><span class="info file"># File 'motion-game', line 792</span>
776
+ <pre class="code"><span class="info file"># File 'motion-game', line 1171</span>
775
777
 
776
778
  <span class='kw'>def</span> <span class='id identifier rubyid_text'>text</span>
777
779
  <span class='ivar'>@text</span>
@@ -786,7 +788,7 @@
786
788
  <div class="method_details ">
787
789
  <h3 class="signature " id="text_color-instance_method">
788
790
 
789
- - (<tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>) <strong>text_color</strong>
791
+ #<strong>text_color</strong> &#x21d2; <tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>
790
792
 
791
793
 
792
794
 
@@ -827,12 +829,12 @@
827
829
  <pre class="lines">
828
830
 
829
831
 
830
- 795
831
- 796
832
- 797</pre>
832
+ 1174
833
+ 1175
834
+ 1176</pre>
833
835
  </td>
834
836
  <td>
835
- <pre class="code"><span class="info file"># File 'motion-game', line 795</span>
837
+ <pre class="code"><span class="info file"># File 'motion-game', line 1174</span>
836
838
 
837
839
  <span class='kw'>def</span> <span class='id identifier rubyid_text_color'>text_color</span>
838
840
  <span class='ivar'>@text_color</span>
@@ -847,7 +849,7 @@
847
849
  <div class="method_details ">
848
850
  <h3 class="signature " id="vertical_align-instance_method">
849
851
 
850
- - (<tt>:top</tt>, ...) <strong>vertical_align</strong>
852
+ #<strong>vertical_align</strong> &#x21d2; <tt>:top</tt>, ...
851
853
 
852
854
 
853
855
 
@@ -888,12 +890,12 @@
888
890
  <pre class="lines">
889
891
 
890
892
 
891
- 807
892
- 808
893
- 809</pre>
893
+ 1186
894
+ 1187
895
+ 1188</pre>
894
896
  </td>
895
897
  <td>
896
- <pre class="code"><span class="info file"># File 'motion-game', line 807</span>
898
+ <pre class="code"><span class="info file"># File 'motion-game', line 1186</span>
897
899
 
898
900
  <span class='kw'>def</span> <span class='id identifier rubyid_vertical_align'>vertical_align</span>
899
901
  <span class='ivar'>@vertical_align</span>
@@ -908,11 +910,12 @@
908
910
 
909
911
  </div>
910
912
 
911
- <div id="footer">
912
- Generated on Wed Aug 31 17:59:08 2016 by
913
+ <div id="footer">
914
+ Generated on Sun Nov 27 15:52:19 2016 by
913
915
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
914
- 0.8.7.6 (ruby-2.3.1).
916
+ 0.9.5 (ruby-2.3.3).
915
917
  </div>
916
918
 
919
+ </div>
917
920
  </body>
918
921
  </html>
@@ -0,0 +1,272 @@
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::TintBy
8
+
9
+ &mdash; 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::TintBy";
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 (T)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
41
+ &raquo;
42
+ <span class="title">TintBy</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::TintBy
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::TintBy</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_red, delta_green, delta_blue, interval) &#x21d2; TintBy </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 tints a Node from current tint to a custom one.</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>(delta_red, delta_green, delta_blue, interval) &#x21d2; <tt><span class='object_link'><a href="" title="MG::TintBy (class)">TintBy</a></span></tt>
173
+
174
+
175
+
176
+
177
+
178
+ </h3><div class="docstring">
179
+ <div class="discussion">
180
+
181
+ <p>Creates an action that tints a Node from current tint to a custom one.</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'>delta_red</span>
193
+
194
+
195
+ <span class='type'>(<tt>Float</tt>)</span>
196
+
197
+
198
+
199
+ </li>
200
+
201
+ <li>
202
+
203
+ <span class='name'>delta_green</span>
204
+
205
+
206
+ <span class='type'>(<tt>Float</tt>)</span>
207
+
208
+
209
+
210
+ </li>
211
+
212
+ <li>
213
+
214
+ <span class='name'>delta_blue</span>
215
+
216
+
217
+ <span class='type'>(<tt>Float</tt>)</span>
218
+
219
+
220
+
221
+ </li>
222
+
223
+ <li>
224
+
225
+ <span class='name'>interval</span>
226
+
227
+
228
+ <span class='type'>(<tt>Float</tt>)</span>
229
+
230
+
231
+
232
+ &mdash;
233
+ <div class='inline'>
234
+ <p>the animation interval.</p>
235
+ </div>
236
+
237
+ </li>
238
+
239
+ </ul>
240
+
241
+
242
+ </div><table class="source_code">
243
+ <tr>
244
+ <td>
245
+ <pre class="lines">
246
+
247
+
248
+ 172</pre>
249
+ </td>
250
+ <td>
251
+ <pre class="code"><span class="info file"># File 'motion-game', line 172</span>
252
+
253
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_delta_red'>delta_red</span><span class='comma'>,</span> <span class='id identifier rubyid_delta_green'>delta_green</span><span class='comma'>,</span> <span class='id identifier rubyid_delta_blue'>delta_blue</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>
254
+ </td>
255
+ </tr>
256
+ </table>
257
+ </div>
258
+
259
+ </div>
260
+
261
+
262
+ </div>
263
+
264
+ <div id="footer">
265
+ Generated on Sun Nov 27 15:52:18 2016 by
266
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
267
+ 0.9.5 (ruby-2.3.3).
268
+ </div>
269
+
270
+ </div>
271
+ </body>
272
+ </html>