motion-game 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 469cdb048c9f7903cbaecd2c960bf5d7628ca6de
4
- data.tar.gz: f4472c95ff4fa147b5eef50e2613079e5753803a
3
+ metadata.gz: d8133f6daa3f92dfb64ad11180e0026011950009
4
+ data.tar.gz: 023eb964a2e95408ed52d41c0f266b19b25f5ce3
5
5
  SHA512:
6
- metadata.gz: 6ed24715701371dc473b706c6dba80e52be795caba9b37cfdaa4e83f0f8fd70cd4ef14b734a2b0dd3611ac2c51ca8302b3d72b234c18694d97d282db93e4302f
7
- data.tar.gz: b60fbcf77ba09b3a5437fd7ec2a86d109a5eaefa65f9ebd2b9cf1f402ec9adb824b280e1b38923f419f3c4e50b7ea19e3e0404205c18123b40a5687ee4bfb070
6
+ metadata.gz: 6e782db9eb6cd3439a2423f7ecc176939eeaa7b2c48df0f8e39d229c84b43d4ba56203614e31510a2bc1b9e5086c498d72a3e7c42c1f5c088bee07a52007aede
7
+ data.tar.gz: b43e7e4c9a25ba31c5076d228ebd413aafe561d2c1494b02c3307f9b1802406d049c720bb2ed3cb234a4995aa5cb787f61c8aaa9c7178911e12690b20eab0788
Binary file
Binary file
Binary file
Binary file
data/doc/MG.html CHANGED
@@ -120,7 +120,7 @@ under that module.</p>
120
120
  </div>
121
121
 
122
122
  <div id="footer">
123
- Generated on Sun Feb 28 09:23:30 2016 by
123
+ Generated on Fri Mar 25 23:19:55 2016 by
124
124
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
125
  0.8.7.6 (ruby-2.2.3).
126
126
  </div>
@@ -323,7 +323,7 @@ implementation that will create the interface of your game.</p>
323
323
  </div>
324
324
 
325
325
  <div id="footer">
326
- Generated on Sun Feb 28 09:23:30 2016 by
326
+ Generated on Fri Mar 25 23:19:55 2016 by
327
327
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
328
328
  0.8.7.6 (ruby-2.2.3).
329
329
  </div>
data/doc/MG/Audio.html CHANGED
@@ -1040,7 +1040,7 @@ immediately plays it.</p>
1040
1040
  </div>
1041
1041
 
1042
1042
  <div id="footer">
1043
- Generated on Sun Feb 28 09:23:30 2016 by
1043
+ Generated on Fri Mar 25 23:19:55 2016 by
1044
1044
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1045
1045
  0.8.7.6 (ruby-2.2.3).
1046
1046
  </div>
data/doc/MG/Button.html CHANGED
@@ -386,10 +386,10 @@ the button is activated. Example:</p>
386
386
  <pre class="lines">
387
387
 
388
388
 
389
- 770</pre>
389
+ 790</pre>
390
390
  </td>
391
391
  <td>
392
- <pre class="code"><span class="info file"># File 'motion-game', line 770</span>
392
+ <pre class="code"><span class="info file"># File 'motion-game', line 790</span>
393
393
 
394
394
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_title'>title</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
395
395
  </td>
@@ -448,12 +448,12 @@ the button is activated. Example:</p>
448
448
  <pre class="lines">
449
449
 
450
450
 
451
- 782
452
- 783
453
- 784</pre>
451
+ 802
452
+ 803
453
+ 804</pre>
454
454
  </td>
455
455
  <td>
456
- <pre class="code"><span class="info file"># File 'motion-game', line 782</span>
456
+ <pre class="code"><span class="info file"># File 'motion-game', line 802</span>
457
457
 
458
458
  <span class='kw'>def</span> <span class='id identifier rubyid_font'>font</span>
459
459
  <span class='ivar'>@font</span>
@@ -509,12 +509,12 @@ the button is activated. Example:</p>
509
509
  <pre class="lines">
510
510
 
511
511
 
512
- 785
513
- 786
514
- 787</pre>
512
+ 805
513
+ 806
514
+ 807</pre>
515
515
  </td>
516
516
  <td>
517
- <pre class="code"><span class="info file"># File 'motion-game', line 785</span>
517
+ <pre class="code"><span class="info file"># File 'motion-game', line 805</span>
518
518
 
519
519
  <span class='kw'>def</span> <span class='id identifier rubyid_font_size'>font_size</span>
520
520
  <span class='ivar'>@font_size</span>
@@ -570,12 +570,12 @@ the button is activated. Example:</p>
570
570
  <pre class="lines">
571
571
 
572
572
 
573
- 776
574
- 777
575
- 778</pre>
573
+ 796
574
+ 797
575
+ 798</pre>
576
576
  </td>
577
577
  <td>
578
- <pre class="code"><span class="info file"># File 'motion-game', line 776</span>
578
+ <pre class="code"><span class="info file"># File 'motion-game', line 796</span>
579
579
 
580
580
  <span class='kw'>def</span> <span class='id identifier rubyid_text'>text</span>
581
581
  <span class='ivar'>@text</span>
@@ -631,12 +631,12 @@ the button is activated. Example:</p>
631
631
  <pre class="lines">
632
632
 
633
633
 
634
- 779
635
- 780
636
- 781</pre>
634
+ 799
635
+ 800
636
+ 801</pre>
637
637
  </td>
638
638
  <td>
639
- <pre class="code"><span class="info file"># File 'motion-game', line 779</span>
639
+ <pre class="code"><span class="info file"># File 'motion-game', line 799</span>
640
640
 
641
641
  <span class='kw'>def</span> <span class='id identifier rubyid_text_color'>text_color</span>
642
642
  <span class='ivar'>@text_color</span>
@@ -692,12 +692,12 @@ the button is activated. Example:</p>
692
692
  <pre class="lines">
693
693
 
694
694
 
695
- 789
696
- 790
697
- 791</pre>
695
+ 809
696
+ 810
697
+ 811</pre>
698
698
  </td>
699
699
  <td>
700
- <pre class="code"><span class="info file"># File 'motion-game', line 789</span>
700
+ <pre class="code"><span class="info file"># File 'motion-game', line 809</span>
701
701
 
702
702
  <span class='kw'>def</span> <span class='id identifier rubyid_zoom_scale'>zoom_scale</span>
703
703
  <span class='ivar'>@zoom_scale</span>
@@ -713,7 +713,7 @@ the button is activated. Example:</p>
713
713
  </div>
714
714
 
715
715
  <div id="footer">
716
- Generated on Sun Feb 28 09:23:31 2016 by
716
+ Generated on Fri Mar 25 23:19:56 2016 by
717
717
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
718
718
  0.8.7.6 (ruby-2.2.3).
719
719
  </div>
data/doc/MG/Color.html CHANGED
@@ -317,12 +317,12 @@ the black color.</p>
317
317
  <pre class="lines">
318
318
 
319
319
 
320
- 694
321
- 695
322
- 696</pre>
320
+ 714
321
+ 715
322
+ 716</pre>
323
323
  </td>
324
324
  <td>
325
- <pre class="code"><span class="info file"># File 'motion-game', line 694</span>
325
+ <pre class="code"><span class="info file"># File 'motion-game', line 714</span>
326
326
 
327
327
  <span class='kw'>def</span> <span class='id identifier rubyid_alpha'>alpha</span>
328
328
  <span class='ivar'>@alpha</span>
@@ -379,12 +379,12 @@ the black color.</p>
379
379
  <pre class="lines">
380
380
 
381
381
 
382
- 691
383
- 692
384
- 693</pre>
382
+ 711
383
+ 712
384
+ 713</pre>
385
385
  </td>
386
386
  <td>
387
- <pre class="code"><span class="info file"># File 'motion-game', line 691</span>
387
+ <pre class="code"><span class="info file"># File 'motion-game', line 711</span>
388
388
 
389
389
  <span class='kw'>def</span> <span class='id identifier rubyid_blue'>blue</span>
390
390
  <span class='ivar'>@blue</span>
@@ -441,12 +441,12 @@ the black color.</p>
441
441
  <pre class="lines">
442
442
 
443
443
 
444
- 688
445
- 689
446
- 690</pre>
444
+ 708
445
+ 709
446
+ 710</pre>
447
447
  </td>
448
448
  <td>
449
- <pre class="code"><span class="info file"># File 'motion-game', line 688</span>
449
+ <pre class="code"><span class="info file"># File 'motion-game', line 708</span>
450
450
 
451
451
  <span class='kw'>def</span> <span class='id identifier rubyid_green'>green</span>
452
452
  <span class='ivar'>@green</span>
@@ -503,12 +503,12 @@ the black color.</p>
503
503
  <pre class="lines">
504
504
 
505
505
 
506
- 685
507
- 686
508
- 687</pre>
506
+ 705
507
+ 706
508
+ 707</pre>
509
509
  </td>
510
510
  <td>
511
- <pre class="code"><span class="info file"># File 'motion-game', line 685</span>
511
+ <pre class="code"><span class="info file"># File 'motion-game', line 705</span>
512
512
 
513
513
  <span class='kw'>def</span> <span class='id identifier rubyid_red'>red</span>
514
514
  <span class='ivar'>@red</span>
@@ -524,7 +524,7 @@ the black color.</p>
524
524
  </div>
525
525
 
526
526
  <div id="footer">
527
- Generated on Sun Feb 28 09:23:31 2016 by
527
+ Generated on Fri Mar 25 23:19:56 2016 by
528
528
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
529
529
  0.8.7.6 (ruby-2.2.3).
530
530
  </div>
data/doc/MG/Director.html CHANGED
@@ -1131,7 +1131,7 @@ terminated.</p>
1131
1131
  </div>
1132
1132
 
1133
1133
  <div id="footer">
1134
- Generated on Sun Feb 28 09:23:30 2016 by
1134
+ Generated on Fri Mar 25 23:19:55 2016 by
1135
1135
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1136
1136
  0.8.7.6 (ruby-2.2.3).
1137
1137
  </div>
data/doc/MG/Draw.html CHANGED
@@ -124,6 +124,30 @@
124
124
  <li class="public ">
125
125
  <span class="summary_signature">
126
126
 
127
+ <a href="#clear-instance_method" title="#clear (instance method)">- (Draw) <strong>clear</strong> </a>
128
+
129
+
130
+
131
+ </span>
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+ <span class="summary_desc"><div class='inline'>
142
+ <p>Clears drew shapes.</p>
143
+ </div></span>
144
+
145
+ </li>
146
+
147
+
148
+ <li class="public ">
149
+ <span class="summary_signature">
150
+
127
151
  <a href="#dot-instance_method" title="#dot (instance method)">- (Draw) <strong>dot</strong>(pos, radius, color) </a>
128
152
 
129
153
 
@@ -143,6 +167,30 @@
143
167
  color.</p>
144
168
  </div></span>
145
169
 
170
+ </li>
171
+
172
+
173
+ <li class="public ">
174
+ <span class="summary_signature">
175
+
176
+ <a href="#line-instance_method" title="#line (instance method)">- (Draw) <strong>line</strong>(origin, destination, thickness, color) </a>
177
+
178
+
179
+
180
+ </span>
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+ <span class="summary_desc"><div class='inline'>
191
+ <p>Draws a line at the given position with the given color.</p>
192
+ </div></span>
193
+
146
194
  </li>
147
195
 
148
196
 
@@ -167,6 +215,30 @@ color.</p>
167
215
  <p>Draws a rectangle at the given position with the given color.</p>
168
216
  </div></span>
169
217
 
218
+ </li>
219
+
220
+
221
+ <li class="public ">
222
+ <span class="summary_signature">
223
+
224
+ <a href="#triangle-instance_method" title="#triangle (instance method)">- (Draw) <strong>triangle</strong>(position1, position2, position3, color) </a>
225
+
226
+
227
+
228
+ </span>
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+ <span class="summary_desc"><div class='inline'>
239
+ <p>Draws a triangle at the given positions with the given color.</p>
240
+ </div></span>
241
+
170
242
  </li>
171
243
 
172
244
 
@@ -183,7 +255,7 @@ color.</p>
183
255
 
184
256
 
185
257
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
186
- <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>
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>
187
259
 
188
260
 
189
261
  <div id="instance_method_details" class="method_details_list">
@@ -191,7 +263,62 @@ color.</p>
191
263
 
192
264
 
193
265
  <div class="method_details first">
194
- <h3 class="signature first" id="dot-instance_method">
266
+ <h3 class="signature first" id="clear-instance_method">
267
+
268
+ - (<tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>) <strong>clear</strong>
269
+
270
+
271
+
272
+
273
+
274
+ </h3><div class="docstring">
275
+ <div class="discussion">
276
+
277
+ <p>Clears drew shapes.</p>
278
+
279
+
280
+ </div>
281
+ </div>
282
+ <div class="tags">
283
+
284
+ <p class="tag_title">Returns:</p>
285
+ <ul class="return">
286
+
287
+ <li>
288
+
289
+
290
+ <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>)</span>
291
+
292
+
293
+
294
+ &mdash;
295
+ <div class='inline'>
296
+ <p>the receiver.</p>
297
+ </div>
298
+
299
+ </li>
300
+
301
+ </ul>
302
+
303
+ </div><table class="source_code">
304
+ <tr>
305
+ <td>
306
+ <pre class="lines">
307
+
308
+
309
+ 393</pre>
310
+ </td>
311
+ <td>
312
+ <pre class="code"><span class="info file"># File 'motion-game', line 393</span>
313
+
314
+ <span class='kw'>def</span> <span class='id identifier rubyid_clear'>clear</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
315
+ </td>
316
+ </tr>
317
+ </table>
318
+ </div>
319
+
320
+ <div class="method_details ">
321
+ <h3 class="signature " id="dot-instance_method">
195
322
 
196
323
  - (<tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>) <strong>dot</strong>(pos, radius, color)
197
324
 
@@ -287,15 +414,138 @@ color.</p>
287
414
  <pre class="lines">
288
415
 
289
416
 
290
- 396</pre>
417
+ 400</pre>
291
418
  </td>
292
419
  <td>
293
- <pre class="code"><span class="info file"># File 'motion-game', line 396</span>
420
+ <pre class="code"><span class="info file"># File 'motion-game', line 400</span>
294
421
 
295
422
  <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>
296
423
  </td>
297
424
  </tr>
298
425
  </table>
426
+ </div>
427
+
428
+ <div class="method_details ">
429
+ <h3 class="signature " id="line-instance_method">
430
+
431
+ - (<tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>) <strong>line</strong>(origin, destination, thickness, color)
432
+
433
+
434
+
435
+
436
+
437
+ </h3><div class="docstring">
438
+ <div class="discussion">
439
+
440
+ <p>Draws a line at the given position with the given color.</p>
441
+
442
+
443
+ </div>
444
+ </div>
445
+ <div class="tags">
446
+ <p class="tag_title">Parameters:</p>
447
+ <ul class="param">
448
+
449
+ <li>
450
+
451
+ <span class='name'>origin</span>
452
+
453
+
454
+ <span class='type'>(<tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>)</span>
455
+
456
+
457
+
458
+ &mdash;
459
+ <div class='inline'>
460
+ <p>the position where to start drawing (lower-left).</p>
461
+ </div>
462
+
463
+ </li>
464
+
465
+ <li>
466
+
467
+ <span class='name'>destination</span>
468
+
469
+
470
+ <span class='type'>(<tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>)</span>
471
+
472
+
473
+
474
+ &mdash;
475
+ <div class='inline'>
476
+ <p>the position where to end drawing (higher-right).</p>
477
+ </div>
478
+
479
+ </li>
480
+
481
+ <li>
482
+
483
+ <span class='name'>thickness</span>
484
+
485
+
486
+ <span class='type'>(<tt>Float</tt>)</span>
487
+
488
+
489
+
490
+ &mdash;
491
+ <div class='inline'>
492
+ <p>the line thickness.</p>
493
+ </div>
494
+
495
+ </li>
496
+
497
+ <li>
498
+
499
+ <span class='name'>color</span>
500
+
501
+
502
+ <span class='type'>(<tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>)</span>
503
+
504
+
505
+
506
+ &mdash;
507
+ <div class='inline'>
508
+ <p>the color to use to draw.</p>
509
+ </div>
510
+
511
+ </li>
512
+
513
+ </ul>
514
+
515
+ <p class="tag_title">Returns:</p>
516
+ <ul class="return">
517
+
518
+ <li>
519
+
520
+
521
+ <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>)</span>
522
+
523
+
524
+
525
+ &mdash;
526
+ <div class='inline'>
527
+ <p>the receiver.</p>
528
+ </div>
529
+
530
+ </li>
531
+
532
+ </ul>
533
+
534
+ </div><table class="source_code">
535
+ <tr>
536
+ <td>
537
+ <pre class="lines">
538
+
539
+
540
+ 416</pre>
541
+ </td>
542
+ <td>
543
+ <pre class="code"><span class="info file"># File 'motion-game', line 416</span>
544
+
545
+ <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
+ </td>
547
+ </tr>
548
+ </table>
299
549
  </div>
300
550
 
301
551
  <div class="method_details ">
@@ -412,15 +662,138 @@ color.</p>
412
662
  <pre class="lines">
413
663
 
414
664
 
415
- 404</pre>
665
+ 408</pre>
416
666
  </td>
417
667
  <td>
418
- <pre class="code"><span class="info file"># File 'motion-game', line 404</span>
668
+ <pre class="code"><span class="info file"># File 'motion-game', line 408</span>
419
669
 
420
670
  <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>
421
671
  </td>
422
672
  </tr>
423
673
  </table>
674
+ </div>
675
+
676
+ <div class="method_details ">
677
+ <h3 class="signature " id="triangle-instance_method">
678
+
679
+ - (<tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>) <strong>triangle</strong>(position1, position2, position3, color)
680
+
681
+
682
+
683
+
684
+
685
+ </h3><div class="docstring">
686
+ <div class="discussion">
687
+
688
+ <p>Draws a triangle at the given positions with the given color.</p>
689
+
690
+
691
+ </div>
692
+ </div>
693
+ <div class="tags">
694
+ <p class="tag_title">Parameters:</p>
695
+ <ul class="param">
696
+
697
+ <li>
698
+
699
+ <span class='name'>position1</span>
700
+
701
+
702
+ <span class='type'>(<tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>)</span>
703
+
704
+
705
+
706
+ &mdash;
707
+ <div class='inline'>
708
+ <p>The triangle vertex point.</p>
709
+ </div>
710
+
711
+ </li>
712
+
713
+ <li>
714
+
715
+ <span class='name'>position2</span>
716
+
717
+
718
+ <span class='type'>(<tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>)</span>
719
+
720
+
721
+
722
+ &mdash;
723
+ <div class='inline'>
724
+ <p>The triangle vertex point.</p>
725
+ </div>
726
+
727
+ </li>
728
+
729
+ <li>
730
+
731
+ <span class='name'>position3</span>
732
+
733
+
734
+ <span class='type'>(<tt><span class='object_link'><a href="Point.html" title="MG::Point (class)">Point</a></span></tt>)</span>
735
+
736
+
737
+
738
+ &mdash;
739
+ <div class='inline'>
740
+ <p>The triangle vertex point.</p>
741
+ </div>
742
+
743
+ </li>
744
+
745
+ <li>
746
+
747
+ <span class='name'>color</span>
748
+
749
+
750
+ <span class='type'>(<tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>)</span>
751
+
752
+
753
+
754
+ &mdash;
755
+ <div class='inline'>
756
+ <p>the color to use to draw.</p>
757
+ </div>
758
+
759
+ </li>
760
+
761
+ </ul>
762
+
763
+ <p class="tag_title">Returns:</p>
764
+ <ul class="return">
765
+
766
+ <li>
767
+
768
+
769
+ <span class='type'>(<tt><span class='object_link'><a href="" title="MG::Draw (class)">Draw</a></span></tt>)</span>
770
+
771
+
772
+
773
+ &mdash;
774
+ <div class='inline'>
775
+ <p>the receiver.</p>
776
+ </div>
777
+
778
+ </li>
779
+
780
+ </ul>
781
+
782
+ </div><table class="source_code">
783
+ <tr>
784
+ <td>
785
+ <pre class="lines">
786
+
787
+
788
+ 424</pre>
789
+ </td>
790
+ <td>
791
+ <pre class="code"><span class="info file"># File 'motion-game', line 424</span>
792
+
793
+ <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
+ </td>
795
+ </tr>
796
+ </table>
424
797
  </div>
425
798
 
426
799
  </div>
@@ -428,7 +801,7 @@ color.</p>
428
801
  </div>
429
802
 
430
803
  <div id="footer">
431
- Generated on Sun Feb 28 09:23:30 2016 by
804
+ Generated on Fri Mar 25 23:19:55 2016 by
432
805
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
433
806
  0.8.7.6 (ruby-2.2.3).
434
807
  </div>