dxopal 1.5.1 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/DEVELOPMENT.md +4 -4
  4. data/Gemfile +1 -1
  5. data/Gemfile.lock +23 -25
  6. data/README.md +7 -3
  7. data/Rakefile +8 -15
  8. data/build/dxopal.js +57670 -40007
  9. data/build/dxopal.min.js +1 -1
  10. data/config.ru +1 -1
  11. data/doc/api/DXOpal/Constants/Colors.html +172 -0
  12. data/doc/api/DXOpal/Constants.html +115 -0
  13. data/doc/api/DXOpal/Font.html +72 -18
  14. data/doc/api/DXOpal/Image.html +902 -409
  15. data/doc/api/DXOpal/Input/KeyCodes.html +986 -0
  16. data/doc/api/DXOpal/Input/MouseCodes.html +8 -8
  17. data/doc/api/DXOpal/Input/Touch.html +834 -0
  18. data/doc/api/DXOpal/Input.html +833 -104
  19. data/doc/api/DXOpal/RemoteResource.html +170 -41
  20. data/doc/api/DXOpal/Sound.html +33 -27
  21. data/doc/api/DXOpal/SoundEffect/WaveTypes.html +8 -8
  22. data/doc/api/DXOpal/SoundEffect.html +13 -15
  23. data/doc/api/DXOpal/Sprite/CollisionArea/Base.html +649 -0
  24. data/doc/api/DXOpal/Sprite/CollisionArea/Circle.html +656 -0
  25. data/doc/api/DXOpal/Sprite/CollisionArea/Point.html +448 -0
  26. data/doc/api/DXOpal/Sprite/CollisionArea/Rect.html +549 -0
  27. data/doc/api/DXOpal/Sprite/CollisionArea/Triangle.html +423 -0
  28. data/doc/api/DXOpal/Sprite/CollisionArea.html +126 -0
  29. data/doc/api/DXOpal/Sprite/CollisionCheck/ClassMethods.html +268 -0
  30. data/doc/api/DXOpal/Sprite/CollisionCheck.html +926 -0
  31. data/doc/api/DXOpal/Sprite/Physics.html +426 -0
  32. data/doc/api/DXOpal/Sprite.html +522 -45
  33. data/doc/api/DXOpal/Window.html +245 -156
  34. data/doc/api/DXOpal.html +11 -11
  35. data/doc/api/Kernel.html +131 -0
  36. data/doc/api/_index.html +277 -5
  37. data/doc/api/class_list.html +1 -1
  38. data/doc/api/css/style.css +1 -0
  39. data/doc/api/file.README.html +23 -22
  40. data/doc/api/frames.html +10 -5
  41. data/doc/api/index.html +23 -22
  42. data/doc/api/method_list.html +1608 -0
  43. data/doc/api/top-level-namespace.html +155 -4
  44. data/lib/dxopal/input.rb +9 -4
  45. data/lib/dxopal/remote_resource.rb +33 -1
  46. data/lib/dxopal/sound.rb +5 -2
  47. data/lib/dxopal/version.rb +1 -1
  48. data/lib/dxopal/window.rb +6 -3
  49. data/lib/dxopal.rb +1 -0
  50. metadata +21 -8
data/doc/api/DXOpal.html CHANGED
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Module: DXOpal
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.36
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "DXOpal";
19
19
  relpath = '';
20
20
  </script>
@@ -78,8 +78,8 @@
78
78
 
79
79
  <dl>
80
80
  <dt>Defined in:</dt>
81
- <dd>opal/dxopal/font.rb<span class="defines">,<br />
82
- opal/dxopal/image.rb,<br /> opal/dxopal/input.rb,<br /> opal/dxopal/remote_resource.rb,<br /> opal/dxopal/sound.rb,<br /> opal/dxopal/sound_effect.rb,<br /> opal/dxopal/sprite.rb,<br /> opal/dxopal/version.rb,<br /> opal/dxopal/window.rb</span>
81
+ <dd>lib/dxopal/font.rb<span class="defines">,<br />
82
+ lib/dxopal/image.rb,<br /> lib/dxopal/input.rb,<br /> lib/dxopal/remote_resource.rb,<br /> lib/dxopal/sound.rb,<br /> lib/dxopal/sound_effect.rb,<br /> lib/dxopal/sprite.rb,<br /> lib/dxopal/version.rb,<br /> lib/dxopal/window.rb,<br /> lib/dxopal/constants/colors.rb,<br /> lib/dxopal/input/key_codes.rb,<br /> lib/dxopal/sprite/collision_area.rb,<br /> lib/dxopal/sprite/collision_check.rb,<br /> lib/dxopal/sprite/physics.rb</span>
83
83
  </dd>
84
84
  </dl>
85
85
 
@@ -89,7 +89,7 @@
89
89
  <p class="children">
90
90
 
91
91
 
92
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="DXOpal/Input.html" title="DXOpal::Input (module)">Input</a></span>, <span class='object_link'><a href="DXOpal/Window.html" title="DXOpal::Window (module)">Window</a></span>
92
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="DXOpal/Constants.html" title="DXOpal::Constants (module)">Constants</a></span>, <span class='object_link'><a href="DXOpal/Input.html" title="DXOpal::Input (module)">Input</a></span>, <span class='object_link'><a href="DXOpal/Window.html" title="DXOpal::Window (module)">Window</a></span>
93
93
 
94
94
 
95
95
 
@@ -109,7 +109,7 @@
109
109
  <dt id="VERSION-constant" class="">VERSION =
110
110
 
111
111
  </dt>
112
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>1.3.0</span><span class='tstring_end'>&quot;</span></span></pre></dd>
112
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>1.6.0</span><span class='tstring_end'>&quot;</span></span></pre></dd>
113
113
 
114
114
  </dl>
115
115
 
@@ -125,9 +125,9 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Sat Sep 29 15:56:47 2018 by
129
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.9.16 (ruby-2.5.1).
128
+ Generated on Tue Jul 9 22:42:33 2024 by
129
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
+ 0.9.36 (ruby-3.2.2).
131
131
  </div>
132
132
 
133
133
  </div>
@@ -0,0 +1,131 @@
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
+ Module: Kernel
8
+
9
+ &mdash; Documentation by YARD 0.9.36
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Kernel";
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?1"></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 (K)</a> &raquo;
40
+
41
+
42
+ <span class="title">Kernel</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
+ <div id="content"><h1>Module: Kernel
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ <dl>
80
+ <dt>Defined in:</dt>
81
+ <dd>lib/dxopal/patches/require_dxopal.rb</dd>
82
+ </dl>
83
+
84
+ </div>
85
+
86
+ <h2>Overview</h2><div class="docstring">
87
+ <div class="discussion">
88
+
89
+ <p>TODO: why this does not work? module DXOpal</p>
90
+
91
+ <pre class="code ruby"><code class="ruby"><span class='kw'>module</span> <span class='const'>PatchRequire</span>
92
+ <span class='kw'>def</span> <span class='id identifier rubyid_require'><span class='object_link'><a href="top-level-namespace.html#require-instance_method" title="#require (method)">require</a></span></span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
93
+ <span class='kw'>if</span> <span class='id identifier rubyid_args'>args</span> <span class='op'>==</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dxopal</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
94
+ <span class='comment'># Do nothing
95
+ </span> <span class='kw'>else</span>
96
+ <span class='kw'>super</span>
97
+ <span class='kw'>end</span>
98
+ <span class='kw'>end</span>
99
+ <span class='kw'>end</span>
100
+
101
+ <span class='const'>Kernel</span><span class='period'>.</span><span class='id identifier rubyid_prepend'>prepend</span><span class='lparen'>(</span><span class='const'>PatchRequire</span><span class='rparen'>)</span>
102
+ </code></pre>
103
+
104
+ <p>end</p>
105
+
106
+
107
+ </div>
108
+ </div>
109
+ <div class="tags">
110
+
111
+
112
+ </div>
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+ </div>
122
+
123
+ <div id="footer">
124
+ Generated on Tue Jul 9 22:42:34 2024 by
125
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
+ 0.9.36 (ruby-3.2.2).
127
+ </div>
128
+
129
+ </div>
130
+ </body>
131
+ </html>
data/doc/api/_index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Documentation by YARD 0.9.24
7
+ Documentation by YARD 0.9.36
8
8
 
9
9
  </title>
10
10
 
@@ -52,7 +52,7 @@
52
52
  <div class="clear"></div>
53
53
  </div>
54
54
 
55
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.24</h1>
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.36</h1>
56
56
  <div id="listing">
57
57
  <h1 class="alphaindex">Alphabetic Index</h1>
58
58
 
@@ -69,12 +69,284 @@
69
69
  <h2>Namespace Listing A-Z</h2>
70
70
 
71
71
 
72
+ <ul class="toplevel"><li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li></ul>
73
+
72
74
 
73
75
 
74
76
  <table>
75
77
  <tr>
76
78
  <td valign='top' width="33%">
77
79
 
80
+
81
+ <ul id="alpha_B" class="alpha">
82
+ <li class="letter">B</li>
83
+ <ul>
84
+
85
+ <li>
86
+ <span class='object_link'><a href="DXOpal/Sprite/CollisionArea/Base.html" title="DXOpal::Sprite::CollisionArea::Base (class)">Base</a></span>
87
+
88
+ <small>(DXOpal::Sprite::CollisionArea)</small>
89
+
90
+ </li>
91
+
92
+ </ul>
93
+ </ul>
94
+
95
+
96
+ <ul id="alpha_C" class="alpha">
97
+ <li class="letter">C</li>
98
+ <ul>
99
+
100
+ <li>
101
+ <span class='object_link'><a href="DXOpal/Sprite/CollisionArea/Circle.html" title="DXOpal::Sprite::CollisionArea::Circle (class)">Circle</a></span>
102
+
103
+ <small>(DXOpal::Sprite::CollisionArea)</small>
104
+
105
+ </li>
106
+
107
+ <li>
108
+ <span class='object_link'><a href="DXOpal/Sprite/CollisionCheck/ClassMethods.html" title="DXOpal::Sprite::CollisionCheck::ClassMethods (module)">ClassMethods</a></span>
109
+
110
+ <small>(DXOpal::Sprite::CollisionCheck)</small>
111
+
112
+ </li>
113
+
114
+ <li>
115
+ <span class='object_link'><a href="DXOpal/Sprite/CollisionArea.html" title="DXOpal::Sprite::CollisionArea (module)">CollisionArea</a></span>
116
+
117
+ <small>(DXOpal::Sprite)</small>
118
+
119
+ </li>
120
+
121
+ <li>
122
+ <span class='object_link'><a href="DXOpal/Sprite/CollisionCheck.html" title="DXOpal::Sprite::CollisionCheck (module)">CollisionCheck</a></span>
123
+
124
+ <small>(DXOpal::Sprite)</small>
125
+
126
+ </li>
127
+
128
+ <li>
129
+ <span class='object_link'><a href="DXOpal/Constants/Colors.html" title="DXOpal::Constants::Colors (module)">Colors</a></span>
130
+
131
+ <small>(DXOpal::Constants)</small>
132
+
133
+ </li>
134
+
135
+ <li>
136
+ <span class='object_link'><a href="DXOpal/Constants.html" title="DXOpal::Constants (module)">Constants</a></span>
137
+
138
+ <small>(DXOpal)</small>
139
+
140
+ </li>
141
+
142
+ </ul>
143
+ </ul>
144
+
145
+
146
+ <ul id="alpha_D" class="alpha">
147
+ <li class="letter">D</li>
148
+ <ul>
149
+
150
+ <li>
151
+ <span class='object_link'><a href="DXOpal.html" title="DXOpal (module)">DXOpal</a></span>
152
+
153
+ </li>
154
+
155
+ </ul>
156
+ </ul>
157
+
158
+
159
+ <ul id="alpha_F" class="alpha">
160
+ <li class="letter">F</li>
161
+ <ul>
162
+
163
+ <li>
164
+ <span class='object_link'><a href="DXOpal/Font.html" title="DXOpal::Font (class)">Font</a></span>
165
+
166
+ <small>(DXOpal)</small>
167
+
168
+ </li>
169
+
170
+ </ul>
171
+ </ul>
172
+
173
+
174
+ <ul id="alpha_I" class="alpha">
175
+ <li class="letter">I</li>
176
+ <ul>
177
+
178
+ <li>
179
+ <span class='object_link'><a href="DXOpal/Image.html" title="DXOpal::Image (class)">Image</a></span>
180
+
181
+ <small>(DXOpal)</small>
182
+
183
+ </li>
184
+
185
+ <li>
186
+ <span class='object_link'><a href="DXOpal/Input.html" title="DXOpal::Input (module)">Input</a></span>
187
+
188
+ <small>(DXOpal)</small>
189
+
190
+ </li>
191
+
192
+ </ul>
193
+ </ul>
194
+
195
+
196
+ <ul id="alpha_K" class="alpha">
197
+ <li class="letter">K</li>
198
+ <ul>
199
+
200
+ <li>
201
+ <span class='object_link'><a href="Kernel.html" title="Kernel (module)">Kernel</a></span>
202
+
203
+ </li>
204
+
205
+ <li>
206
+ <span class='object_link'><a href="DXOpal/Input/KeyCodes.html" title="DXOpal::Input::KeyCodes (module)">KeyCodes</a></span>
207
+
208
+ <small>(DXOpal::Input)</small>
209
+
210
+ </li>
211
+
212
+ </ul>
213
+ </ul>
214
+
215
+
216
+ <ul id="alpha_M" class="alpha">
217
+ <li class="letter">M</li>
218
+ <ul>
219
+
220
+ <li>
221
+ <span class='object_link'><a href="DXOpal/Input/MouseCodes.html" title="DXOpal::Input::MouseCodes (module)">MouseCodes</a></span>
222
+
223
+ <small>(DXOpal::Input)</small>
224
+
225
+ </li>
226
+
227
+ </ul>
228
+ </ul>
229
+
230
+
231
+ </td><td valign='top' width="33%">
232
+
233
+
234
+ <ul id="alpha_P" class="alpha">
235
+ <li class="letter">P</li>
236
+ <ul>
237
+
238
+ <li>
239
+ <span class='object_link'><a href="DXOpal/Sprite/Physics.html" title="DXOpal::Sprite::Physics (module)">Physics</a></span>
240
+
241
+ <small>(DXOpal::Sprite)</small>
242
+
243
+ </li>
244
+
245
+ <li>
246
+ <span class='object_link'><a href="DXOpal/Sprite/CollisionArea/Point.html" title="DXOpal::Sprite::CollisionArea::Point (class)">Point</a></span>
247
+
248
+ <small>(DXOpal::Sprite::CollisionArea)</small>
249
+
250
+ </li>
251
+
252
+ </ul>
253
+ </ul>
254
+
255
+
256
+ <ul id="alpha_R" class="alpha">
257
+ <li class="letter">R</li>
258
+ <ul>
259
+
260
+ <li>
261
+ <span class='object_link'><a href="DXOpal/Sprite/CollisionArea/Rect.html" title="DXOpal::Sprite::CollisionArea::Rect (class)">Rect</a></span>
262
+
263
+ <small>(DXOpal::Sprite::CollisionArea)</small>
264
+
265
+ </li>
266
+
267
+ <li>
268
+ <span class='object_link'><a href="DXOpal/RemoteResource.html" title="DXOpal::RemoteResource (class)">RemoteResource</a></span>
269
+
270
+ <small>(DXOpal)</small>
271
+
272
+ </li>
273
+
274
+ </ul>
275
+ </ul>
276
+
277
+
278
+ <ul id="alpha_S" class="alpha">
279
+ <li class="letter">S</li>
280
+ <ul>
281
+
282
+ <li>
283
+ <span class='object_link'><a href="DXOpal/Sound.html" title="DXOpal::Sound (class)">Sound</a></span>
284
+
285
+ <small>(DXOpal)</small>
286
+
287
+ </li>
288
+
289
+ <li>
290
+ <span class='object_link'><a href="DXOpal/SoundEffect.html" title="DXOpal::SoundEffect (class)">SoundEffect</a></span>
291
+
292
+ <small>(DXOpal)</small>
293
+
294
+ </li>
295
+
296
+ <li>
297
+ <span class='object_link'><a href="DXOpal/Sprite.html" title="DXOpal::Sprite (class)">Sprite</a></span>
298
+
299
+ <small>(DXOpal)</small>
300
+
301
+ </li>
302
+
303
+ </ul>
304
+ </ul>
305
+
306
+
307
+ <ul id="alpha_T" class="alpha">
308
+ <li class="letter">T</li>
309
+ <ul>
310
+
311
+ <li>
312
+ <span class='object_link'><a href="DXOpal/Input/Touch.html" title="DXOpal::Input::Touch (class)">Touch</a></span>
313
+
314
+ <small>(DXOpal::Input)</small>
315
+
316
+ </li>
317
+
318
+ <li>
319
+ <span class='object_link'><a href="DXOpal/Sprite/CollisionArea/Triangle.html" title="DXOpal::Sprite::CollisionArea::Triangle (class)">Triangle</a></span>
320
+
321
+ <small>(DXOpal::Sprite::CollisionArea)</small>
322
+
323
+ </li>
324
+
325
+ </ul>
326
+ </ul>
327
+
328
+
329
+ <ul id="alpha_W" class="alpha">
330
+ <li class="letter">W</li>
331
+ <ul>
332
+
333
+ <li>
334
+ <span class='object_link'><a href="DXOpal/SoundEffect/WaveTypes.html" title="DXOpal::SoundEffect::WaveTypes (module)">WaveTypes</a></span>
335
+
336
+ <small>(DXOpal::SoundEffect)</small>
337
+
338
+ </li>
339
+
340
+ <li>
341
+ <span class='object_link'><a href="DXOpal/Window.html" title="DXOpal::Window (module)">Window</a></span>
342
+
343
+ <small>(DXOpal)</small>
344
+
345
+ </li>
346
+
347
+ </ul>
348
+ </ul>
349
+
78
350
  </td>
79
351
  </tr>
80
352
  </table>
@@ -84,9 +356,9 @@
84
356
  </div>
85
357
 
86
358
  <div id="footer">
87
- Generated on Sat Feb 1 01:00:35 2020 by
88
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
89
- 0.9.24 (ruby-2.5.5).
359
+ Generated on Tue Jul 9 22:42:33 2024 by
360
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
361
+ 0.9.36 (ruby-3.2.2).
90
362
  </div>
91
363
 
92
364
  </div>
@@ -43,7 +43,7 @@
43
43
 
44
44
  <ul id="full_list" class="class">
45
45
  <li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
46
-
46
+ <li id='object_DXOpal' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="DXOpal.html" title="DXOpal (module)">DXOpal</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_DXOpal::Constants' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="DXOpal/Constants.html" title="DXOpal::Constants (module)">Constants</a></span><small class='search_info'>DXOpal</small></div><ul><li id='object_DXOpal::Constants::Colors' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="DXOpal/Constants/Colors.html" title="DXOpal::Constants::Colors (module)">Colors</a></span><small class='search_info'>DXOpal::Constants</small></div></li></ul></li><li id='object_DXOpal::Font' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="DXOpal/Font.html" title="DXOpal::Font (class)">Font</a></span> &lt; Object<small class='search_info'>DXOpal</small></div></li><li id='object_DXOpal::Image' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="DXOpal/Image.html" title="DXOpal::Image (class)">Image</a></span> &lt; RemoteResource<small class='search_info'>DXOpal</small></div></li><li id='object_DXOpal::Input' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="DXOpal/Input.html" title="DXOpal::Input (module)">Input</a></span><small class='search_info'>DXOpal</small></div><ul><li id='object_DXOpal::Input::KeyCodes' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="DXOpal/Input/KeyCodes.html" title="DXOpal::Input::KeyCodes (module)">KeyCodes</a></span><small class='search_info'>DXOpal::Input</small></div></li><li id='object_DXOpal::Input::MouseCodes' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="DXOpal/Input/MouseCodes.html" title="DXOpal::Input::MouseCodes (module)">MouseCodes</a></span><small class='search_info'>DXOpal::Input</small></div></li><li id='object_DXOpal::Input::Touch' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="DXOpal/Input/Touch.html" title="DXOpal::Input::Touch (class)">Touch</a></span> &lt; Object<small class='search_info'>DXOpal::Input</small></div></li></ul></li><li id='object_DXOpal::RemoteResource' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="DXOpal/RemoteResource.html" title="DXOpal::RemoteResource (class)">RemoteResource</a></span> &lt; Object<small class='search_info'>DXOpal</small></div></li><li id='object_DXOpal::Sound' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="DXOpal/Sound.html" title="DXOpal::Sound (class)">Sound</a></span> &lt; RemoteResource<small class='search_info'>DXOpal</small></div></li><li id='object_DXOpal::SoundEffect' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="DXOpal/SoundEffect.html" title="DXOpal::SoundEffect (class)">SoundEffect</a></span> &lt; Sound<small class='search_info'>DXOpal</small></div><ul><li id='object_DXOpal::SoundEffect::WaveTypes' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="DXOpal/SoundEffect/WaveTypes.html" title="DXOpal::SoundEffect::WaveTypes (module)">WaveTypes</a></span><small class='search_info'>DXOpal::SoundEffect</small></div></li></ul></li><li id='object_DXOpal::Sprite' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="DXOpal/Sprite.html" title="DXOpal::Sprite (class)">Sprite</a></span> &lt; Object<small class='search_info'>DXOpal</small></div><ul><li id='object_DXOpal::Sprite::CollisionArea' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="DXOpal/Sprite/CollisionArea.html" title="DXOpal::Sprite::CollisionArea (module)">CollisionArea</a></span><small class='search_info'>DXOpal::Sprite</small></div><ul><li id='object_DXOpal::Sprite::CollisionArea::Base' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="DXOpal/Sprite/CollisionArea/Base.html" title="DXOpal::Sprite::CollisionArea::Base (class)">Base</a></span> &lt; Object<small class='search_info'>DXOpal::Sprite::CollisionArea</small></div></li><li id='object_DXOpal::Sprite::CollisionArea::Circle' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="DXOpal/Sprite/CollisionArea/Circle.html" title="DXOpal::Sprite::CollisionArea::Circle (class)">Circle</a></span> &lt; Base<small class='search_info'>DXOpal::Sprite::CollisionArea</small></div></li><li id='object_DXOpal::Sprite::CollisionArea::Point' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="DXOpal/Sprite/CollisionArea/Point.html" title="DXOpal::Sprite::CollisionArea::Point (class)">Point</a></span> &lt; Base<small class='search_info'>DXOpal::Sprite::CollisionArea</small></div></li><li id='object_DXOpal::Sprite::CollisionArea::Rect' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="DXOpal/Sprite/CollisionArea/Rect.html" title="DXOpal::Sprite::CollisionArea::Rect (class)">Rect</a></span> &lt; Base<small class='search_info'>DXOpal::Sprite::CollisionArea</small></div></li><li id='object_DXOpal::Sprite::CollisionArea::Triangle' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="DXOpal/Sprite/CollisionArea/Triangle.html" title="DXOpal::Sprite::CollisionArea::Triangle (class)">Triangle</a></span> &lt; Base<small class='search_info'>DXOpal::Sprite::CollisionArea</small></div></li></ul></li><li id='object_DXOpal::Sprite::CollisionCheck' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="DXOpal/Sprite/CollisionCheck.html" title="DXOpal::Sprite::CollisionCheck (module)">CollisionCheck</a></span><small class='search_info'>DXOpal::Sprite</small></div><ul><li id='object_DXOpal::Sprite::CollisionCheck::ClassMethods' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="DXOpal/Sprite/CollisionCheck/ClassMethods.html" title="DXOpal::Sprite::CollisionCheck::ClassMethods (module)">ClassMethods</a></span><small class='search_info'>DXOpal::Sprite::CollisionCheck</small></div></li></ul></li><li id='object_DXOpal::Sprite::Physics' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="DXOpal/Sprite/Physics.html" title="DXOpal::Sprite::Physics (module)">Physics</a></span><small class='search_info'>DXOpal::Sprite</small></div></li></ul></li><li id='object_DXOpal::Window' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="DXOpal/Window.html" title="DXOpal::Window (module)">Window</a></span><small class='search_info'>DXOpal</small></div></li></ul></li><li id='object_Kernel' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Kernel.html" title="Kernel (module)">Kernel</a></span><small class='search_info'>Top Level Namespace</small></div></li>
47
47
 
48
48
  </ul>
49
49
  </div>
@@ -52,6 +52,7 @@ body {
52
52
  background: #fff;
53
53
  padding: 1.2em;
54
54
  padding-top: 0.2em;
55
+ box-sizing: border-box;
55
56
  }
56
57
 
57
58
  @media (max-width: 920px) {
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.9.24
9
+ &mdash; Documentation by YARD 0.9.36
10
10
 
11
11
  </title>
12
12
 
@@ -57,39 +57,40 @@
57
57
  <div class="clear"></div>
58
58
  </div>
59
59
 
60
- <div id="content"><div id='filecontents'>
61
- <h1 id="label-DXOpal">DXOpal</h1>
60
+ <div id="content"><div id='filecontents'><h1 id="dxopal">DXOpal</h1>
62
61
 
63
- <p>Game development framework for <a href="http://opalrb.org/">Opal</a>, has
64
- similar API to <a href="http://dxruby.osdn.jp/">DXRuby</a></p>
62
+ <p>Game development framework for <a href="https://opalrb.com/">Opal</a>,
63
+ has similar API to <a href="http://dxruby.osdn.jp/">DXRuby</a></p>
65
64
 
66
- <h2 id="label-How+to+use">How to use</h2>
65
+ <h2 id="how-to-use">How to use</h2>
67
66
 
68
- <p>see <a href="https://yhara.github.io/dxopal">yhara.github.io/dxopal</a>/</p>
67
+ <p>see <a href="https://yhara.github.io/dxopal/">https://yhara.github.io/dxopal/</a></p>
69
68
 
70
- <h2 id="label-License">License</h2>
69
+ <h2 id="development">Development</h2>
70
+
71
+ <p>see DEVELOPMENT.md</p>
72
+
73
+ <h2 id="license">License</h2>
71
74
 
72
75
  <p>MIT (including images and sounds under examples/)</p>
73
76
 
74
- <h2 id="label-Acknowledgements">Acknowledgements</h2>
75
- <ul><li>
76
- <p><a href="http://opalrb.org/">Opal</a></p>
77
- </li><li>
78
- <p><a href="http://dxruby.osdn.jp/">DXRuby</a></p>
79
- </li><li>
80
- <p><a href="http://www.bfxr.net/">Bxfr</a>
81
- examples/apple_catcher/sounds/Explosion2.wav is made by this</p>
82
- </li></ul>
77
+ <h2 id="acknowledgements">Acknowledgements</h2>
78
+
79
+ <ul>
80
+ <li><a href="https://opalrb.com/">Opal</a></li>
81
+ <li><a href="http://dxruby.osdn.jp/">DXRuby</a></li>
82
+ <li><a href="https://www.bfxr.net/">Bxfr</a> examples/apple_catcher/sounds/Explosion2.wav is made by this</li>
83
+ </ul>
83
84
 
84
- <h2 id="label-Contact">Contact</h2>
85
+ <h2 id="contact">Contact</h2>
85
86
 
86
- <p><a href="https://github.com/yhara/dxopal">github.com/yhara/dxopal</a></p>
87
+ <p><a href="https://github.com/yhara/dxopal">https://github.com/yhara/dxopal</a></p>
87
88
  </div></div>
88
89
 
89
90
  <div id="footer">
90
- Generated on Sat Feb 1 01:00:35 2020 by
91
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
92
- 0.9.24 (ruby-2.5.5).
91
+ Generated on Tue Jul 9 22:42:33 2024 by
92
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
93
+ 0.9.36 (ruby-3.2.2).
93
94
  </div>
94
95
 
95
96
  </div>
data/doc/api/frames.html CHANGED
@@ -2,13 +2,18 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>Documentation by YARD 0.9.24</title>
5
+ <title>Documentation by YARD 0.9.36</title>
6
6
  </head>
7
7
  <script type="text/javascript">
8
- var match = unescape(window.location.hash).match(/^#!(.+)/);
9
- var name = match ? match[1] : 'index.html';
10
- name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
11
- window.top.location = name;
8
+ var mainUrl = 'index.html';
9
+ try {
10
+ var match = decodeURIComponent(window.location.hash).match(/^#!(.+)/);
11
+ var name = match ? match[1] : mainUrl;
12
+ var url = new URL(name, location.href);
13
+ window.top.location.replace(url.origin === location.origin ? name : mainUrl);
14
+ } catch (e) {
15
+ window.top.location.replace(mainUrl);
16
+ }
12
17
  </script>
13
18
  <noscript>
14
19
  <h1>Oops!</h1>