dxopal 1.5.2 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/DEVELOPMENT.md +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +22 -24
- data/README.md +4 -0
- data/Rakefile +6 -1
- data/build/dxopal.js +48950 -38847
- data/build/dxopal.min.js +1 -1
- data/config.ru +1 -1
- data/doc/api/DXOpal/Constants/Colors.html +4 -4
- data/doc/api/DXOpal/Constants.html +4 -4
- data/doc/api/DXOpal/Font.html +4 -4
- data/doc/api/DXOpal/Image.html +19 -19
- data/doc/api/DXOpal/Input/KeyCodes.html +6 -6
- data/doc/api/DXOpal/Input/MouseCodes.html +4 -4
- data/doc/api/DXOpal/Input/Touch.html +47 -47
- data/doc/api/DXOpal/Input.html +87 -81
- data/doc/api/DXOpal/RemoteResource.html +164 -33
- data/doc/api/DXOpal/Sound.html +22 -16
- data/doc/api/DXOpal/SoundEffect/WaveTypes.html +4 -4
- data/doc/api/DXOpal/SoundEffect.html +6 -6
- data/doc/api/DXOpal/Sprite/CollisionArea/Base.html +5 -5
- data/doc/api/DXOpal/Sprite/CollisionArea/Circle.html +4 -4
- data/doc/api/DXOpal/Sprite/CollisionArea/Point.html +4 -4
- data/doc/api/DXOpal/Sprite/CollisionArea/Rect.html +4 -4
- data/doc/api/DXOpal/Sprite/CollisionArea/Triangle.html +4 -4
- data/doc/api/DXOpal/Sprite/CollisionArea.html +4 -4
- data/doc/api/DXOpal/Sprite/CollisionCheck/ClassMethods.html +7 -7
- data/doc/api/DXOpal/Sprite/CollisionCheck.html +8 -8
- data/doc/api/DXOpal/Sprite/Physics.html +4 -4
- data/doc/api/DXOpal/Sprite.html +10 -10
- data/doc/api/DXOpal/Window.html +120 -114
- data/doc/api/DXOpal.html +5 -5
- data/doc/api/Kernel.html +4 -4
- data/doc/api/_index.html +5 -5
- data/doc/api/file.README.html +23 -20
- data/doc/api/frames.html +10 -5
- data/doc/api/index.html +23 -20
- data/doc/api/method_list.html +214 -206
- data/doc/api/top-level-namespace.html +4 -4
- data/lib/dxopal/input.rb +5 -2
- data/lib/dxopal/remote_resource.rb +33 -1
- data/lib/dxopal/sound.rb +5 -2
- data/lib/dxopal/version.rb +1 -1
- data/lib/dxopal/window.rb +6 -3
- data/lib/dxopal.rb +1 -0
- metadata +3 -3
data/doc/api/DXOpal/Input.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: DXOpal::Input
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -397,7 +397,7 @@
|
|
397
397
|
|
398
398
|
|
399
399
|
<span class="summary_desc"><div class='inline'>
|
400
|
-
<p>Return DOM element set by
|
400
|
+
<p>Return DOM element set by ‘keyevent_target=`.</p>
|
401
401
|
</div></span>
|
402
402
|
|
403
403
|
</li>
|
@@ -737,7 +737,7 @@
|
|
737
737
|
|
738
738
|
|
739
739
|
<span class="summary_desc"><div class='inline'>
|
740
|
-
<p>Return 1 if
|
740
|
+
<p>Return 1 if ‘right’, -1 if ‘left’.</p>
|
741
741
|
</div></span>
|
742
742
|
|
743
743
|
</li>
|
@@ -761,7 +761,7 @@
|
|
761
761
|
|
762
762
|
|
763
763
|
<span class="summary_desc"><div class='inline'>
|
764
|
-
<p>Return 1 if
|
764
|
+
<p>Return 1 if ‘down’, -1 if ‘up’.</p>
|
765
765
|
</div></span>
|
766
766
|
|
767
767
|
</li>
|
@@ -871,9 +871,6 @@
|
|
871
871
|
<pre class="lines">
|
872
872
|
|
873
873
|
|
874
|
-
120
|
875
|
-
121
|
876
|
-
122
|
877
874
|
123
|
878
875
|
124
|
879
876
|
125
|
@@ -898,10 +895,13 @@
|
|
898
895
|
144
|
899
896
|
145
|
900
897
|
146
|
901
|
-
147
|
898
|
+
147
|
899
|
+
148
|
900
|
+
149
|
901
|
+
150</pre>
|
902
902
|
</td>
|
903
903
|
<td>
|
904
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
904
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 123</span>
|
905
905
|
|
906
906
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid__init_mouse_events'>_init_mouse_events</span>
|
907
907
|
<span class='backtick'>%x{</span><span class='tstring_content'>
|
@@ -962,9 +962,6 @@
|
|
962
962
|
<pre class="lines">
|
963
963
|
|
964
964
|
|
965
|
-
185
|
966
|
-
186
|
967
|
-
187
|
968
965
|
188
|
969
966
|
189
|
970
967
|
190
|
@@ -1007,10 +1004,13 @@
|
|
1007
1004
|
227
|
1008
1005
|
228
|
1009
1006
|
229
|
1010
|
-
230
|
1007
|
+
230
|
1008
|
+
231
|
1009
|
+
232
|
1010
|
+
233</pre>
|
1011
1011
|
</td>
|
1012
1012
|
<td>
|
1013
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1013
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 188</span>
|
1014
1014
|
|
1015
1015
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid__init_touch_events'>_init_touch_events</span>
|
1016
1016
|
<span class='cvar'>@@touches</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
@@ -1147,13 +1147,13 @@
|
|
1147
1147
|
<pre class="lines">
|
1148
1148
|
|
1149
1149
|
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1150
|
+
235
|
1151
|
+
236
|
1152
|
+
237
|
1153
|
+
238</pre>
|
1154
1154
|
</td>
|
1155
1155
|
<td>
|
1156
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1156
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 235</span>
|
1157
1157
|
|
1158
1158
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid__update_touch_info'>_update_touch_info</span>
|
1159
1159
|
<span class='comment'># Clear old data
|
@@ -1338,7 +1338,7 @@
|
|
1338
1338
|
</h3><div class="docstring">
|
1339
1339
|
<div class="discussion">
|
1340
1340
|
|
1341
|
-
<p>Return DOM element set by
|
1341
|
+
<p>Return DOM element set by ‘keyevent_target=`</p>
|
1342
1342
|
|
1343
1343
|
|
1344
1344
|
</div>
|
@@ -1352,12 +1352,18 @@
|
|
1352
1352
|
<pre class="lines">
|
1353
1353
|
|
1354
1354
|
|
1355
|
-
113
|
1355
|
+
113
|
1356
|
+
114
|
1357
|
+
115
|
1358
|
+
116</pre>
|
1356
1359
|
</td>
|
1357
1360
|
<td>
|
1358
1361
|
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 113</span>
|
1359
1362
|
|
1360
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_keyevent_target'>keyevent_target</span
|
1363
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_keyevent_target'>keyevent_target</span>
|
1364
|
+
<span class='kw'>return</span> <span class='kw'>nil</span> <span class='kw'>unless</span> <span class='id identifier rubyid_class_variable_defined?'>class_variable_defined?</span><span class='lparen'>(</span><span class='symbol'>:@@keyevent_target</span><span class='rparen'>)</span>
|
1365
|
+
<span class='cvar'>@@keyevent_target</span>
|
1366
|
+
<span class='kw'>end</span></pre>
|
1361
1367
|
</td>
|
1362
1368
|
</tr>
|
1363
1369
|
</table>
|
@@ -1377,7 +1383,7 @@
|
|
1377
1383
|
|
1378
1384
|
<p>Set DOM element to receive keydown/keyup event</p>
|
1379
1385
|
|
1380
|
-
<p>By default,
|
1386
|
+
<p>By default, ‘window` is set to this (i.e. all key events are stolen by DXOpal.) If canvas element is set to this, only key events happend on canvas are processed by DXOpal.</p>
|
1381
1387
|
|
1382
1388
|
|
1383
1389
|
</div>
|
@@ -1412,7 +1418,7 @@
|
|
1412
1418
|
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 95</span>
|
1413
1419
|
|
1414
1420
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_keyevent_target='>keyevent_target=</span><span class='lparen'>(</span><span class='id identifier rubyid_target'>target</span><span class='rparen'>)</span>
|
1415
|
-
<span class='kw'>if</span> <span class='
|
1421
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_keyevent_target'>keyevent_target</span>
|
1416
1422
|
<span class='backtick'>%x{</span><span class='tstring_content'>
|
1417
1423
|
</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@keyevent_target</span><span class='embexpr_end'>}</span><span class='tstring_content'>.removeEventListener('keydown', </span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#ON_KEYDOWN_-constant" title="DXOpal::Input::ON_KEYDOWN_ (constant)">ON_KEYDOWN_</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>);
|
1418
1424
|
</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@keyevent_target</span><span class='embexpr_end'>}</span><span class='tstring_content'>.removeEventListener('keyup', </span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#ON_KEYUP_-constant" title="DXOpal::Input::ON_KEYUP_ (constant)">ON_KEYUP_</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>);
|
@@ -1471,13 +1477,13 @@
|
|
1471
1477
|
<pre class="lines">
|
1472
1478
|
|
1473
1479
|
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1480
|
+
166
|
1481
|
+
167
|
1482
|
+
168
|
1483
|
+
169</pre>
|
1478
1484
|
</td>
|
1479
1485
|
<td>
|
1480
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1486
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 166</span>
|
1481
1487
|
|
1482
1488
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_mouse_down?'>mouse_down?</span><span class='lparen'>(</span><span class='id identifier rubyid_mouse_code'>mouse_code</span><span class='rparen'>)</span>
|
1483
1489
|
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>missing argument of `mouse_down?'</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_mouse_code'>mouse_code</span>
|
@@ -1527,13 +1533,13 @@
|
|
1527
1533
|
<pre class="lines">
|
1528
1534
|
|
1529
1535
|
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1536
|
+
172
|
1537
|
+
173
|
1538
|
+
174
|
1539
|
+
175</pre>
|
1534
1540
|
</td>
|
1535
1541
|
<td>
|
1536
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1542
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 172</span>
|
1537
1543
|
|
1538
1544
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_mouse_push?'>mouse_push?</span><span class='lparen'>(</span><span class='id identifier rubyid_mouse_code'>mouse_code</span><span class='rparen'>)</span>
|
1539
1545
|
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>missing argument of `mouse_push?'</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_mouse_code'>mouse_code</span>
|
@@ -1583,13 +1589,13 @@
|
|
1583
1589
|
<pre class="lines">
|
1584
1590
|
|
1585
1591
|
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1592
|
+
178
|
1593
|
+
179
|
1594
|
+
180
|
1595
|
+
181</pre>
|
1590
1596
|
</td>
|
1591
1597
|
<td>
|
1592
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1598
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 178</span>
|
1593
1599
|
|
1594
1600
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_mouse_release?'>mouse_release?</span><span class='lparen'>(</span><span class='id identifier rubyid_mouse_code'>mouse_code</span><span class='rparen'>)</span>
|
1595
1601
|
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>missing argument of `mouse_release?'</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_mouse_code'>mouse_code</span>
|
@@ -1630,12 +1636,12 @@
|
|
1630
1636
|
<pre class="lines">
|
1631
1637
|
|
1632
1638
|
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
1639
|
+
154
|
1640
|
+
155
|
1641
|
+
156</pre>
|
1636
1642
|
</td>
|
1637
1643
|
<td>
|
1638
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1644
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 154</span>
|
1639
1645
|
|
1640
1646
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_mouse_x'>mouse_x</span>
|
1641
1647
|
<span class='kw'>return</span> <span class='backtick'>`</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@mouse_info</span><span class='embexpr_end'>}</span><span class='tstring_content'>.x</span><span class='tstring_end'>`</span></span>
|
@@ -1664,12 +1670,12 @@
|
|
1664
1670
|
<pre class="lines">
|
1665
1671
|
|
1666
1672
|
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1673
|
+
157
|
1674
|
+
158
|
1675
|
+
159</pre>
|
1670
1676
|
</td>
|
1671
1677
|
<td>
|
1672
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1678
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 157</span>
|
1673
1679
|
|
1674
1680
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_mouse_y'>mouse_y</span>
|
1675
1681
|
<span class='kw'>return</span> <span class='backtick'>`</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@mouse_info</span><span class='embexpr_end'>}</span><span class='tstring_content'>.y</span><span class='tstring_end'>`</span></span>
|
@@ -1705,14 +1711,14 @@
|
|
1705
1711
|
<pre class="lines">
|
1706
1712
|
|
1707
1713
|
|
1708
|
-
309
|
1709
|
-
310
|
1710
|
-
311
|
1711
1714
|
312
|
1712
|
-
313
|
1715
|
+
313
|
1716
|
+
314
|
1717
|
+
315
|
1718
|
+
316</pre>
|
1713
1719
|
</td>
|
1714
1720
|
<td>
|
1715
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1721
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 312</span>
|
1716
1722
|
|
1717
1723
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_new_touches'>new_touches</span>
|
1718
1724
|
<span class='id identifier rubyid_ret'>ret</span> <span class='op'>=</span> <span class='cvar'>@@new_touches</span>
|
@@ -1763,12 +1769,12 @@
|
|
1763
1769
|
<pre class="lines">
|
1764
1770
|
|
1765
1771
|
|
1766
|
-
|
1767
|
-
|
1768
|
-
|
1772
|
+
258
|
1773
|
+
259
|
1774
|
+
260</pre>
|
1769
1775
|
</td>
|
1770
1776
|
<td>
|
1771
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1777
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 258</span>
|
1772
1778
|
|
1773
1779
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_touch_down?'>touch_down?</span>
|
1774
1780
|
<span class='kw'>return</span> <span class='backtick'>`</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@pressing_touch</span><span class='embexpr_end'>}</span><span class='tstring_content'>[0] > 0</span><span class='tstring_end'>`</span></span>
|
@@ -1817,12 +1823,12 @@
|
|
1817
1823
|
<pre class="lines">
|
1818
1824
|
|
1819
1825
|
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1826
|
+
263
|
1827
|
+
264
|
1828
|
+
265</pre>
|
1823
1829
|
</td>
|
1824
1830
|
<td>
|
1825
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1831
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 263</span>
|
1826
1832
|
|
1827
1833
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_touch_push?'>touch_push?</span>
|
1828
1834
|
<span class='kw'>return</span> <span class='backtick'>`</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@pressing_touch</span><span class='embexpr_end'>}</span><span class='tstring_content'>[0] == -(</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@tick</span><span class='embexpr_end'>}</span><span class='tstring_content'>-1)</span><span class='tstring_end'>`</span></span>
|
@@ -1871,12 +1877,12 @@
|
|
1871
1877
|
<pre class="lines">
|
1872
1878
|
|
1873
1879
|
|
1874
|
-
|
1875
|
-
|
1876
|
-
|
1880
|
+
268
|
1881
|
+
269
|
1882
|
+
270</pre>
|
1877
1883
|
</td>
|
1878
1884
|
<td>
|
1879
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1885
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 268</span>
|
1880
1886
|
|
1881
1887
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_touch_release?'>touch_release?</span>
|
1882
1888
|
<span class='kw'>return</span> <span class='backtick'>`</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@pressing_touch</span><span class='embexpr_end'>}</span><span class='tstring_content'>[0] == -(</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@tick</span><span class='embexpr_end'>}</span><span class='tstring_content'>-1)</span><span class='tstring_end'>`</span></span>
|
@@ -1916,12 +1922,12 @@
|
|
1916
1922
|
<pre class="lines">
|
1917
1923
|
|
1918
1924
|
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1925
|
+
246
|
1926
|
+
247
|
1927
|
+
248</pre>
|
1922
1928
|
</td>
|
1923
1929
|
<td>
|
1924
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1930
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 246</span>
|
1925
1931
|
|
1926
1932
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_touch_x'>touch_x</span>
|
1927
1933
|
<span class='kw'>return</span> <span class='backtick'>`</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@touch_info</span><span class='embexpr_end'>}</span><span class='tstring_content'>.x</span><span class='tstring_end'>`</span></span>
|
@@ -1950,12 +1956,12 @@
|
|
1950
1956
|
<pre class="lines">
|
1951
1957
|
|
1952
1958
|
|
1953
|
-
|
1954
|
-
|
1955
|
-
|
1959
|
+
249
|
1960
|
+
250
|
1961
|
+
251</pre>
|
1956
1962
|
</td>
|
1957
1963
|
<td>
|
1958
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
1964
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 249</span>
|
1959
1965
|
|
1960
1966
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_touch_y'>touch_y</span>
|
1961
1967
|
<span class='kw'>return</span> <span class='backtick'>`</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@touch_info</span><span class='embexpr_end'>}</span><span class='tstring_content'>.y</span><span class='tstring_end'>`</span></span>
|
@@ -1991,12 +1997,12 @@
|
|
1991
1997
|
<pre class="lines">
|
1992
1998
|
|
1993
1999
|
|
1994
|
-
|
1995
|
-
|
1996
|
-
|
2000
|
+
307
|
2001
|
+
308
|
2002
|
+
309</pre>
|
1997
2003
|
</td>
|
1998
2004
|
<td>
|
1999
|
-
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line
|
2005
|
+
<pre class="code"><span class="info file"># File 'lib/dxopal/input.rb', line 307</span>
|
2000
2006
|
|
2001
2007
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_touches'>touches</span>
|
2002
2008
|
<span class='cvar'>@@touches</span><span class='period'>.</span><span class='id identifier rubyid_values'>values</span>
|
@@ -2018,7 +2024,7 @@
|
|
2018
2024
|
</h3><div class="docstring">
|
2019
2025
|
<div class="discussion">
|
2020
2026
|
|
2021
|
-
<p>Return 1 if
|
2027
|
+
<p>Return 1 if ‘right’, -1 if ‘left’</p>
|
2022
2028
|
|
2023
2029
|
|
2024
2030
|
</div>
|
@@ -2065,7 +2071,7 @@
|
|
2065
2071
|
</h3><div class="docstring">
|
2066
2072
|
<div class="discussion">
|
2067
2073
|
|
2068
|
-
<p>Return 1 if
|
2074
|
+
<p>Return 1 if ‘down’, -1 if ‘up’</p>
|
2069
2075
|
|
2070
2076
|
|
2071
2077
|
</div>
|
@@ -2105,9 +2111,9 @@
|
|
2105
2111
|
</div>
|
2106
2112
|
|
2107
2113
|
<div id="footer">
|
2108
|
-
Generated on Tue
|
2109
|
-
<a href="
|
2110
|
-
0.9.
|
2114
|
+
Generated on Tue Jul 9 22:42:33 2024 by
|
2115
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2116
|
+
0.9.36 (ruby-3.2.2).
|
2111
2117
|
</div>
|
2112
2118
|
|
2113
2119
|
</div>
|