dxopal 1.4.2 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/Gemfile +2 -1
  4. data/Gemfile.lock +20 -20
  5. data/README.md +3 -3
  6. data/Rakefile +3 -14
  7. data/build/dxopal.js +643 -430
  8. data/build/dxopal.min.js +1 -1
  9. data/config.ru +7 -0
  10. data/doc/api/DXOpal.html +10 -10
  11. data/doc/api/DXOpal/Constants.html +115 -0
  12. data/doc/api/DXOpal/Constants/Colors.html +172 -0
  13. data/doc/api/DXOpal/Font.html +71 -17
  14. data/doc/api/DXOpal/Image.html +891 -398
  15. data/doc/api/DXOpal/Input.html +814 -91
  16. data/doc/api/DXOpal/Input/KeyCodes.html +986 -0
  17. data/doc/api/DXOpal/Input/MouseCodes.html +7 -7
  18. data/doc/api/DXOpal/Input/Touch.html +834 -0
  19. data/doc/api/DXOpal/RemoteResource.html +16 -18
  20. data/doc/api/DXOpal/Sound.html +15 -15
  21. data/doc/api/DXOpal/SoundEffect.html +11 -13
  22. data/doc/api/DXOpal/SoundEffect/WaveTypes.html +7 -7
  23. data/doc/api/DXOpal/Sprite.html +517 -40
  24. data/doc/api/DXOpal/Sprite/CollisionArea.html +126 -0
  25. data/doc/api/DXOpal/Sprite/CollisionArea/Base.html +649 -0
  26. data/doc/api/DXOpal/Sprite/CollisionArea/Circle.html +656 -0
  27. data/doc/api/DXOpal/Sprite/CollisionArea/Point.html +448 -0
  28. data/doc/api/DXOpal/Sprite/CollisionArea/Rect.html +549 -0
  29. data/doc/api/DXOpal/Sprite/CollisionArea/Triangle.html +423 -0
  30. data/doc/api/DXOpal/Sprite/CollisionCheck.html +926 -0
  31. data/doc/api/DXOpal/Sprite/CollisionCheck/ClassMethods.html +268 -0
  32. data/doc/api/DXOpal/Sprite/Physics.html +426 -0
  33. data/doc/api/DXOpal/Window.html +235 -152
  34. data/doc/api/Kernel.html +131 -0
  35. data/doc/api/_index.html +276 -4
  36. data/doc/api/class_list.html +1 -1
  37. data/doc/api/css/style.css +1 -0
  38. data/doc/api/file.README.html +19 -18
  39. data/doc/api/frames.html +1 -1
  40. data/doc/api/index.html +19 -18
  41. data/doc/api/method_list.html +1600 -0
  42. data/doc/api/top-level-namespace.html +154 -3
  43. data/doc/en/index.html +3 -0
  44. data/doc/ja/index.html +3 -0
  45. data/exe/dxopal +1 -1
  46. data/lib/dxopal/image.rb +29 -1
  47. data/lib/dxopal/input.rb +95 -5
  48. data/lib/dxopal/version.rb +1 -1
  49. data/lib/dxopal/window.rb +44 -13
  50. data/template/index.html +1 -1
  51. metadata +21 -7
@@ -0,0 +1,423 @@
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: DXOpal::Sprite::CollisionArea::Triangle
8
+
9
+ &mdash; Documentation by YARD 0.9.26
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 = "DXOpal::Sprite::CollisionArea::Triangle";
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 (T)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../../DXOpal.html" title="DXOpal (module)">DXOpal</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Sprite.html" title="DXOpal::Sprite (class)">Sprite</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../CollisionArea.html" title="DXOpal::Sprite::CollisionArea (module)">CollisionArea</a></span></span>
41
+ &raquo;
42
+ <span class="title">Triangle</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>Class: DXOpal::Sprite::CollisionArea::Triangle
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="Base.html" title="DXOpal::Sprite::CollisionArea::Base (class)">Base</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="Base.html" title="DXOpal::Sprite::CollisionArea::Base (class)">Base</a></span></li>
78
+
79
+ <li class="next">DXOpal::Sprite::CollisionArea::Triangle</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/dxopal/sprite/collision_area.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <h2>Instance Attribute Summary</h2>
111
+
112
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Base.html" title="DXOpal::Sprite::CollisionArea::Base (class)">Base</a></span></h3>
113
+ <p class="inherited"><span class='object_link'><a href="Base.html#sprite-instance_method" title="DXOpal::Sprite::CollisionArea::Base#sprite (method)">#sprite</a></span></p>
114
+
115
+
116
+
117
+ <h2>
118
+ Instance Method Summary
119
+ <small><a href="#" class="summary_toggle">collapse</a></small>
120
+ </h2>
121
+
122
+ <ul class="summary">
123
+
124
+ <li class="public ">
125
+ <span class="summary_signature">
126
+
127
+ <a href="#absolute_poss-instance_method" title="#absolute_poss (instance method)">#<strong>absolute_poss</strong> &#x21d2; Object </a>
128
+
129
+
130
+
131
+ </span>
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+ <span class="summary_desc"><div class='inline'></div></span>
142
+
143
+ </li>
144
+
145
+
146
+ <li class="public ">
147
+ <span class="summary_signature">
148
+
149
+ <a href="#collides%3F-instance_method" title="#collides? (instance method)">#<strong>collides?</strong>(other) &#x21d2; Boolean </a>
150
+
151
+
152
+
153
+ </span>
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+ <span class="summary_desc"><div class='inline'></div></span>
164
+
165
+ </li>
166
+
167
+
168
+ <li class="public ">
169
+ <span class="summary_signature">
170
+
171
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(sprite, x1, y1, x2, y2, x3, y3) &#x21d2; Triangle </a>
172
+
173
+
174
+
175
+ </span>
176
+
177
+
178
+ <span class="note title constructor">constructor</span>
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+ <span class="summary_desc"><div class='inline'>
188
+ <p>A new instance of Triangle.</p>
189
+ </div></span>
190
+
191
+ </li>
192
+
193
+
194
+ <li class="public ">
195
+ <span class="summary_signature">
196
+
197
+ <a href="#type-instance_method" title="#type (instance method)">#<strong>type</strong> &#x21d2; Object </a>
198
+
199
+
200
+
201
+ </span>
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+ <span class="summary_desc"><div class='inline'></div></span>
212
+
213
+ </li>
214
+
215
+
216
+ </ul>
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Base.html" title="DXOpal::Sprite::CollisionArea::Base (class)">Base</a></span></h3>
229
+ <p class="inherited"><span class='object_link'><a href="Base.html#aabb-instance_method" title="DXOpal::Sprite::CollisionArea::Base#aabb (method)">#aabb</a></span>, <span class='object_link'><a href="Base.html#absolute-instance_method" title="DXOpal::Sprite::CollisionArea::Base#absolute (method)">#absolute</a></span>, <span class='object_link'><a href="Base.html#absolute1-instance_method" title="DXOpal::Sprite::CollisionArea::Base#absolute1 (method)">#absolute1</a></span>, <span class='object_link'><a href="Base.html#transback-instance_method" title="DXOpal::Sprite::CollisionArea::Base#transback (method)">#transback</a></span>, <span class='object_link'><a href="Base.html#transback1-instance_method" title="DXOpal::Sprite::CollisionArea::Base#transback1 (method)">#transback1</a></span></p>
230
+ <div id="constructor_details" class="method_details_list">
231
+ <h2>Constructor Details</h2>
232
+
233
+ <div class="method_details first">
234
+ <h3 class="signature first" id="initialize-instance_method">
235
+
236
+ #<strong>initialize</strong>(sprite, x1, y1, x2, y2, x3, y3) &#x21d2; <tt><span class='object_link'><a href="" title="DXOpal::Sprite::CollisionArea::Triangle (class)">Triangle</a></span></tt>
237
+
238
+
239
+
240
+
241
+
242
+ </h3><div class="docstring">
243
+ <div class="discussion">
244
+
245
+ <p>Returns a new instance of Triangle.</p>
246
+
247
+
248
+ </div>
249
+ </div>
250
+ <div class="tags">
251
+
252
+
253
+ </div><table class="source_code">
254
+ <tr>
255
+ <td>
256
+ <pre class="lines">
257
+
258
+
259
+ 261
260
+ 262
261
+ 263
262
+ 264
263
+ 265</pre>
264
+ </td>
265
+ <td>
266
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_area.rb', line 261</span>
267
+
268
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_sprite'>sprite</span><span class='comma'>,</span> <span class='id identifier rubyid_x1'>x1</span><span class='comma'>,</span> <span class='id identifier rubyid_y1'>y1</span><span class='comma'>,</span> <span class='id identifier rubyid_x2'>x2</span><span class='comma'>,</span> <span class='id identifier rubyid_y2'>y2</span><span class='comma'>,</span> <span class='id identifier rubyid_x3'>x3</span><span class='comma'>,</span> <span class='id identifier rubyid_y3'>y3</span><span class='rparen'>)</span>
269
+ <span class='ivar'>@sprite</span> <span class='op'>=</span> <span class='id identifier rubyid_sprite'>sprite</span>
270
+ <span class='ivar'>@poss</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='lbracket'>[</span><span class='id identifier rubyid_x1'>x1</span><span class='comma'>,</span> <span class='id identifier rubyid_y1'>y1</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_x2'>x2</span><span class='comma'>,</span> <span class='id identifier rubyid_y2'>y2</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_x3'>x3</span><span class='comma'>,</span> <span class='id identifier rubyid_y3'>y3</span><span class='rbracket'>]</span><span class='rbracket'>]</span>
271
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
272
+ <span class='kw'>end</span></pre>
273
+ </td>
274
+ </tr>
275
+ </table>
276
+ </div>
277
+
278
+ </div>
279
+
280
+
281
+ <div id="instance_method_details" class="method_details_list">
282
+ <h2>Instance Method Details</h2>
283
+
284
+
285
+ <div class="method_details first">
286
+ <h3 class="signature first" id="absolute_poss-instance_method">
287
+
288
+ #<strong>absolute_poss</strong> &#x21d2; <tt>Object</tt>
289
+
290
+
291
+
292
+
293
+
294
+ </h3><table class="source_code">
295
+ <tr>
296
+ <td>
297
+ <pre class="lines">
298
+
299
+
300
+ 282
301
+ 283
302
+ 284</pre>
303
+ </td>
304
+ <td>
305
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_area.rb', line 282</span>
306
+
307
+ <span class='kw'>def</span> <span class='id identifier rubyid_absolute_poss'>absolute_poss</span>
308
+ <span class='id identifier rubyid_absolute'>absolute</span><span class='lparen'>(</span><span class='ivar'>@poss</span><span class='rparen'>)</span>
309
+ <span class='kw'>end</span></pre>
310
+ </td>
311
+ </tr>
312
+ </table>
313
+ </div>
314
+
315
+ <div class="method_details ">
316
+ <h3 class="signature " id="collides?-instance_method">
317
+
318
+ #<strong>collides?</strong>(other) &#x21d2; <tt>Boolean</tt>
319
+
320
+
321
+
322
+
323
+
324
+ </h3><div class="docstring">
325
+ <div class="discussion">
326
+
327
+
328
+ </div>
329
+ </div>
330
+ <div class="tags">
331
+
332
+ <p class="tag_title">Returns:</p>
333
+ <ul class="return">
334
+
335
+ <li>
336
+
337
+
338
+ <span class='type'>(<tt>Boolean</tt>)</span>
339
+
340
+
341
+
342
+ </li>
343
+
344
+ </ul>
345
+
346
+ </div><table class="source_code">
347
+ <tr>
348
+ <td>
349
+ <pre class="lines">
350
+
351
+
352
+ 269
353
+ 270
354
+ 271
355
+ 272
356
+ 273
357
+ 274
358
+ 275
359
+ 276
360
+ 277
361
+ 278
362
+ 279
363
+ 280</pre>
364
+ </td>
365
+ <td>
366
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_area.rb', line 269</span>
367
+
368
+ <span class='kw'>def</span> <span class='id identifier rubyid_collides?'>collides?</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
369
+ <span class='kw'>case</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span>
370
+ <span class='kw'>when</span> <span class='symbol'>:Point</span><span class='comma'>,</span> <span class='symbol'>:Circle</span><span class='comma'>,</span> <span class='symbol'>:Rect</span>
371
+ <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_collides?'>collides?</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
372
+ <span class='kw'>when</span> <span class='symbol'>:Triangle</span>
373
+ <span class='lparen'>(</span><span class='id identifier rubyid_ox1'>ox1</span><span class='comma'>,</span> <span class='id identifier rubyid_oy1'>oy1</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='lparen'>(</span><span class='id identifier rubyid_ox2'>ox2</span><span class='comma'>,</span> <span class='id identifier rubyid_oy2'>oy2</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='lparen'>(</span><span class='id identifier rubyid_ox3'>ox3</span><span class='comma'>,</span> <span class='id identifier rubyid_oy3'>oy3</span><span class='rparen'>)</span> <span class='op'>=</span> <span class='op'>*</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_absolute_poss'>absolute_poss</span>
374
+ <span class='lparen'>(</span><span class='id identifier rubyid_dx1'>dx1</span><span class='comma'>,</span> <span class='id identifier rubyid_dy1'>dy1</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='lparen'>(</span><span class='id identifier rubyid_dx2'>dx2</span><span class='comma'>,</span> <span class='id identifier rubyid_dy2'>dy2</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='lparen'>(</span><span class='id identifier rubyid_dx3'>dx3</span><span class='comma'>,</span> <span class='id identifier rubyid_dy3'>dy3</span><span class='rparen'>)</span> <span class='op'>=</span> <span class='op'>*</span><span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_absolute_poss'>absolute_poss</span>
375
+ <span class='backtick'>`</span><span class='tstring_content'>Opal.DXOpal.CCk.check_triangle_triangle(ox1, oy1, ox2, oy2, ox3, oy3,
376
+ dx1, dy1, dx2, dy2, dx3, dy3)</span><span class='tstring_end'>`</span></span>
377
+ <span class='kw'>else</span> <span class='id identifier rubyid_raise'>raise</span>
378
+ <span class='kw'>end</span>
379
+ <span class='kw'>end</span></pre>
380
+ </td>
381
+ </tr>
382
+ </table>
383
+ </div>
384
+
385
+ <div class="method_details ">
386
+ <h3 class="signature " id="type-instance_method">
387
+
388
+ #<strong>type</strong> &#x21d2; <tt>Object</tt>
389
+
390
+
391
+
392
+
393
+
394
+ </h3><table class="source_code">
395
+ <tr>
396
+ <td>
397
+ <pre class="lines">
398
+
399
+
400
+ 267</pre>
401
+ </td>
402
+ <td>
403
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_area.rb', line 267</span>
404
+
405
+ <span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span><span class='semicolon'>;</span> <span class='symbol'>:Triangle</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
406
+ </td>
407
+ </tr>
408
+ </table>
409
+ </div>
410
+
411
+ </div>
412
+
413
+ </div>
414
+
415
+ <div id="footer">
416
+ Generated on Tue Dec 29 11:37:26 2020 by
417
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
418
+ 0.9.26 (ruby-2.7.0).
419
+ </div>
420
+
421
+ </div>
422
+ </body>
423
+ </html>
@@ -0,0 +1,926 @@
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: DXOpal::Sprite::CollisionCheck
8
+
9
+ &mdash; Documentation by YARD 0.9.26
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 = "DXOpal::Sprite::CollisionCheck";
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 (C)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../DXOpal.html" title="DXOpal (module)">DXOpal</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Sprite.html" title="DXOpal::Sprite (class)">Sprite</a></span></span>
41
+ &raquo;
42
+ <span class="title">CollisionCheck</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: DXOpal::Sprite::CollisionCheck
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ <dl>
78
+ <dt>Included in:</dt>
79
+ <dd><span class='object_link'><a href="../Sprite.html" title="DXOpal::Sprite (class)">DXOpal::Sprite</a></span></dd>
80
+ </dl>
81
+
82
+
83
+
84
+ <dl>
85
+ <dt>Defined in:</dt>
86
+ <dd>lib/dxopal/sprite/collision_check.rb</dd>
87
+ </dl>
88
+
89
+ </div>
90
+
91
+ <h2>Overview</h2><div class="docstring">
92
+ <div class="discussion">
93
+
94
+ <p>Methods of Sprite related to collision checking</p>
95
+
96
+
97
+ </div>
98
+ </div>
99
+ <div class="tags">
100
+
101
+
102
+ </div><h2>Defined Under Namespace</h2>
103
+ <p class="children">
104
+
105
+
106
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="CollisionCheck/ClassMethods.html" title="DXOpal::Sprite::CollisionCheck::ClassMethods (module)">ClassMethods</a></span>
107
+
108
+
109
+
110
+
111
+ </p>
112
+
113
+
114
+
115
+
116
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
117
+ <ul class="summary">
118
+
119
+ <li class="public ">
120
+ <span class="summary_signature">
121
+
122
+ <a href="#_collision_area-instance_method" title="#_collision_area (instance method)">#<strong>_collision_area</strong> &#x21d2; Object </a>
123
+
124
+
125
+
126
+ </span>
127
+
128
+
129
+
130
+
131
+ <span class="note title readonly">readonly</span>
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+ <span class="summary_desc"><div class='inline'>
142
+ <p>(internal) Return a CollisionArea object.</p>
143
+ </div></span>
144
+
145
+ </li>
146
+
147
+
148
+ <li class="public ">
149
+ <span class="summary_signature">
150
+
151
+ <a href="#collision-instance_method" title="#collision (instance method)">#<strong>collision</strong> &#x21d2; Object </a>
152
+
153
+
154
+
155
+ </span>
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <span class="summary_desc"><div class='inline'>
169
+ <p>Return an array represents its collision area.</p>
170
+ </div></span>
171
+
172
+ </li>
173
+
174
+
175
+ <li class="public ">
176
+ <span class="summary_signature">
177
+
178
+ <a href="#collision_enable-instance_method" title="#collision_enable (instance method)">#<strong>collision_enable</strong> &#x21d2; Object </a>
179
+
180
+
181
+
182
+ </span>
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+ <span class="summary_desc"><div class='inline'>
196
+ <p>Whether collision is detected for this object (default: true).</p>
197
+ </div></span>
198
+
199
+ </li>
200
+
201
+
202
+ <li class="public ">
203
+ <span class="summary_signature">
204
+
205
+ <a href="#collision_sync-instance_method" title="#collision_sync (instance method)">#<strong>collision_sync</strong> &#x21d2; Object </a>
206
+
207
+
208
+
209
+ </span>
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+ <span class="summary_desc"><div class='inline'>
223
+ <p>Whether collision areas synchronize with .scale and .angle (default: true) Setting this to false may improve collision detection performance.</p>
224
+ </div></span>
225
+
226
+ </li>
227
+
228
+
229
+ </ul>
230
+
231
+
232
+
233
+
234
+
235
+ <h2>
236
+ Instance Method Summary
237
+ <small><a href="#" class="summary_toggle">collapse</a></small>
238
+ </h2>
239
+
240
+ <ul class="summary">
241
+
242
+ <li class="public ">
243
+ <span class="summary_signature">
244
+
245
+ <a href="#===-instance_method" title="#=== (instance method)">#<strong>===</strong>(sprite_or_sprites) &#x21d2; Object </a>
246
+
247
+
248
+
249
+ </span>
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+ <span class="summary_desc"><div class='inline'>
260
+ <p>Return true when this sprite collides with other sprite(s).</p>
261
+ </div></span>
262
+
263
+ </li>
264
+
265
+
266
+ <li class="public ">
267
+ <span class="summary_signature">
268
+
269
+ <a href="#_collidable%3F-instance_method" title="#_collidable? (instance method)">#<strong>_collidable?</strong> &#x21d2; Boolean </a>
270
+
271
+
272
+
273
+ </span>
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+ <span class="summary_desc"><div class='inline'>
284
+ <p>Return true when this sprite may collide.</p>
285
+ </div></span>
286
+
287
+ </li>
288
+
289
+
290
+ <li class="public ">
291
+ <span class="summary_signature">
292
+
293
+ <a href="#_collides%3F-instance_method" title="#_collides? (instance method)">#<strong>_collides?</strong>(sprite) &#x21d2; Boolean </a>
294
+
295
+
296
+
297
+ </span>
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+ <span class="summary_desc"><div class='inline'>
308
+ <p>Return true when this sprite collides with `sprite`.</p>
309
+ </div></span>
310
+
311
+ </li>
312
+
313
+
314
+ <li class="public ">
315
+ <span class="summary_signature">
316
+
317
+ <a href="#_init_collision_info-instance_method" title="#_init_collision_info (instance method)">#<strong>_init_collision_info</strong>(image) &#x21d2; Object </a>
318
+
319
+
320
+
321
+ </span>
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+ <span class="summary_desc"><div class='inline'>
332
+ <p>Called from Sprites#initialize.</p>
333
+ </div></span>
334
+
335
+ </li>
336
+
337
+
338
+ <li class="public ">
339
+ <span class="summary_signature">
340
+
341
+ <a href="#check-instance_method" title="#check (instance method)">#<strong>check</strong>(sprite_or_sprites) &#x21d2; Object </a>
342
+
343
+
344
+
345
+ </span>
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+ <span class="summary_desc"><div class='inline'>
356
+ <p>Return list of sprites collides with this sprite.</p>
357
+ </div></span>
358
+
359
+ </li>
360
+
361
+
362
+ <li class="public ">
363
+ <span class="summary_signature">
364
+
365
+ <a href="#hit-instance_method" title="#hit (instance method)">#<strong>hit</strong>(other) &#x21d2; Object </a>
366
+
367
+
368
+
369
+ </span>
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+ <span class="summary_desc"><div class='inline'></div></span>
380
+
381
+ </li>
382
+
383
+
384
+ <li class="public ">
385
+ <span class="summary_signature">
386
+
387
+ <a href="#shot-instance_method" title="#shot (instance method)">#<strong>shot</strong>(other) &#x21d2; Object </a>
388
+
389
+
390
+
391
+ </span>
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+ <span class="summary_desc"><div class='inline'>
402
+ <p>Default callback methods of `Sprite.check`.</p>
403
+ </div></span>
404
+
405
+ </li>
406
+
407
+
408
+ </ul>
409
+
410
+
411
+
412
+ <div id="instance_attr_details" class="attr_details">
413
+ <h2>Instance Attribute Details</h2>
414
+
415
+
416
+ <span id=""></span>
417
+ <div class="method_details first">
418
+ <h3 class="signature first" id="_collision_area-instance_method">
419
+
420
+ #<strong>_collision_area</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
421
+
422
+
423
+
424
+
425
+
426
+ </h3><div class="docstring">
427
+ <div class="discussion">
428
+
429
+ <p>(internal) Return a CollisionArea object</p>
430
+
431
+
432
+ </div>
433
+ </div>
434
+ <div class="tags">
435
+
436
+
437
+ </div><table class="source_code">
438
+ <tr>
439
+ <td>
440
+ <pre class="lines">
441
+
442
+
443
+ 84
444
+ 85
445
+ 86</pre>
446
+ </td>
447
+ <td>
448
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_check.rb', line 84</span>
449
+
450
+ <span class='kw'>def</span> <span class='id identifier rubyid__collision_area'>_collision_area</span>
451
+ <span class='ivar'>@_collision_area</span>
452
+ <span class='kw'>end</span></pre>
453
+ </td>
454
+ </tr>
455
+ </table>
456
+ </div>
457
+
458
+
459
+ <span id="collision=-instance_method"></span>
460
+ <div class="method_details ">
461
+ <h3 class="signature " id="collision-instance_method">
462
+
463
+ #<strong>collision</strong> &#x21d2; <tt>Object</tt>
464
+
465
+
466
+
467
+
468
+
469
+ </h3><div class="docstring">
470
+ <div class="discussion">
471
+
472
+ <p>Return an array represents its collision area</p>
473
+
474
+
475
+ </div>
476
+ </div>
477
+ <div class="tags">
478
+
479
+
480
+ </div><table class="source_code">
481
+ <tr>
482
+ <td>
483
+ <pre class="lines">
484
+
485
+
486
+ 82
487
+ 83
488
+ 84</pre>
489
+ </td>
490
+ <td>
491
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_check.rb', line 82</span>
492
+
493
+ <span class='kw'>def</span> <span class='id identifier rubyid_collision'>collision</span>
494
+ <span class='ivar'>@collision</span>
495
+ <span class='kw'>end</span></pre>
496
+ </td>
497
+ </tr>
498
+ </table>
499
+ </div>
500
+
501
+
502
+ <span id="collision_enable=-instance_method"></span>
503
+ <div class="method_details ">
504
+ <h3 class="signature " id="collision_enable-instance_method">
505
+
506
+ #<strong>collision_enable</strong> &#x21d2; <tt>Object</tt>
507
+
508
+
509
+
510
+
511
+
512
+ </h3><div class="docstring">
513
+ <div class="discussion">
514
+
515
+ <p>Whether collision is detected for this object (default: true)</p>
516
+
517
+
518
+ </div>
519
+ </div>
520
+ <div class="tags">
521
+
522
+
523
+ </div><table class="source_code">
524
+ <tr>
525
+ <td>
526
+ <pre class="lines">
527
+
528
+
529
+ 77
530
+ 78
531
+ 79</pre>
532
+ </td>
533
+ <td>
534
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_check.rb', line 77</span>
535
+
536
+ <span class='kw'>def</span> <span class='id identifier rubyid_collision_enable'>collision_enable</span>
537
+ <span class='ivar'>@collision_enable</span>
538
+ <span class='kw'>end</span></pre>
539
+ </td>
540
+ </tr>
541
+ </table>
542
+ </div>
543
+
544
+
545
+ <span id="collision_sync=-instance_method"></span>
546
+ <div class="method_details ">
547
+ <h3 class="signature " id="collision_sync-instance_method">
548
+
549
+ #<strong>collision_sync</strong> &#x21d2; <tt>Object</tt>
550
+
551
+
552
+
553
+
554
+
555
+ </h3><div class="docstring">
556
+ <div class="discussion">
557
+
558
+ <p>Whether collision areas synchronize with .scale and .angle (default: true) Setting this to false may improve collision detection performance</p>
559
+
560
+
561
+ </div>
562
+ </div>
563
+ <div class="tags">
564
+
565
+
566
+ </div><table class="source_code">
567
+ <tr>
568
+ <td>
569
+ <pre class="lines">
570
+
571
+
572
+ 80
573
+ 81
574
+ 82</pre>
575
+ </td>
576
+ <td>
577
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_check.rb', line 80</span>
578
+
579
+ <span class='kw'>def</span> <span class='id identifier rubyid_collision_sync'>collision_sync</span>
580
+ <span class='ivar'>@collision_sync</span>
581
+ <span class='kw'>end</span></pre>
582
+ </td>
583
+ </tr>
584
+ </table>
585
+ </div>
586
+
587
+ </div>
588
+
589
+
590
+ <div id="instance_method_details" class="method_details_list">
591
+ <h2>Instance Method Details</h2>
592
+
593
+
594
+ <div class="method_details first">
595
+ <h3 class="signature first" id="===-instance_method">
596
+
597
+ #<strong>===</strong>(sprite_or_sprites) &#x21d2; <tt>Object</tt>
598
+
599
+
600
+
601
+
602
+
603
+ </h3><div class="docstring">
604
+ <div class="discussion">
605
+
606
+ <p>Return true when this sprite collides with other sprite(s)</p>
607
+
608
+
609
+ </div>
610
+ </div>
611
+ <div class="tags">
612
+
613
+
614
+ </div><table class="source_code">
615
+ <tr>
616
+ <td>
617
+ <pre class="lines">
618
+
619
+
620
+ 101
621
+ 102
622
+ 103</pre>
623
+ </td>
624
+ <td>
625
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_check.rb', line 101</span>
626
+
627
+ <span class='kw'>def</span> <span class='op'>===</span><span class='lparen'>(</span><span class='id identifier rubyid_sprite_or_sprites'>sprite_or_sprites</span><span class='rparen'>)</span>
628
+ <span class='kw'>return</span> <span class='id identifier rubyid_check'>check</span><span class='lparen'>(</span><span class='id identifier rubyid_sprite_or_sprites'>sprite_or_sprites</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_any?'>any?</span>
629
+ <span class='kw'>end</span></pre>
630
+ </td>
631
+ </tr>
632
+ </table>
633
+ </div>
634
+
635
+ <div class="method_details ">
636
+ <h3 class="signature " id="_collidable?-instance_method">
637
+
638
+ #<strong>_collidable?</strong> &#x21d2; <tt>Boolean</tt>
639
+
640
+
641
+
642
+
643
+
644
+ </h3><div class="docstring">
645
+ <div class="discussion">
646
+
647
+ <p>Return true when this sprite may collide</p>
648
+
649
+
650
+ </div>
651
+ </div>
652
+ <div class="tags">
653
+
654
+ <p class="tag_title">Returns:</p>
655
+ <ul class="return">
656
+
657
+ <li>
658
+
659
+
660
+ <span class='type'>(<tt>Boolean</tt>)</span>
661
+
662
+
663
+
664
+ </li>
665
+
666
+ </ul>
667
+
668
+ </div><table class="source_code">
669
+ <tr>
670
+ <td>
671
+ <pre class="lines">
672
+
673
+
674
+ 121
675
+ 122
676
+ 123</pre>
677
+ </td>
678
+ <td>
679
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_check.rb', line 121</span>
680
+
681
+ <span class='kw'>def</span> <span class='id identifier rubyid__collidable?'>_collidable?</span>
682
+ <span class='kw'>return</span> <span class='op'>!</span><span class='ivar'>@vanished</span> <span class='op'>&amp;&amp;</span> <span class='ivar'>@collision_enable</span>
683
+ <span class='kw'>end</span></pre>
684
+ </td>
685
+ </tr>
686
+ </table>
687
+ </div>
688
+
689
+ <div class="method_details ">
690
+ <h3 class="signature " id="_collides?-instance_method">
691
+
692
+ #<strong>_collides?</strong>(sprite) &#x21d2; <tt>Boolean</tt>
693
+
694
+
695
+
696
+
697
+
698
+ </h3><div class="docstring">
699
+ <div class="discussion">
700
+
701
+ <p>Return true when this sprite collides with `sprite`</p>
702
+
703
+
704
+ </div>
705
+ </div>
706
+ <div class="tags">
707
+
708
+ <p class="tag_title">Returns:</p>
709
+ <ul class="return">
710
+
711
+ <li>
712
+
713
+
714
+ <span class='type'>(<tt>Boolean</tt>)</span>
715
+
716
+
717
+
718
+ </li>
719
+
720
+ </ul>
721
+
722
+ </div><table class="source_code">
723
+ <tr>
724
+ <td>
725
+ <pre class="lines">
726
+
727
+
728
+ 112
729
+ 113
730
+ 114
731
+ 115
732
+ 116
733
+ 117
734
+ 118</pre>
735
+ </td>
736
+ <td>
737
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_check.rb', line 112</span>
738
+
739
+ <span class='kw'>def</span> <span class='id identifier rubyid__collides?'>_collides?</span><span class='lparen'>(</span><span class='id identifier rubyid_sprite'>sprite</span><span class='rparen'>)</span>
740
+ <span class='kw'>if</span> <span class='ivar'>@_collision_area</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_sprite'>sprite</span><span class='period'>.</span><span class='id identifier rubyid__collision_area'>_collision_area</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
741
+ <span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Sprite image not set</span><span class='tstring_end'>&quot;</span></span>
742
+ <span class='kw'>end</span>
743
+ <span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>if</span> <span class='op'>!</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid__collidable?'>_collidable?</span> <span class='op'>||</span> <span class='op'>!</span><span class='id identifier rubyid_sprite'>sprite</span><span class='period'>.</span><span class='id identifier rubyid__collidable?'>_collidable?</span>
744
+ <span class='kw'>return</span> <span class='ivar'>@_collision_area</span><span class='period'>.</span><span class='id identifier rubyid_collides?'>collides?</span><span class='lparen'>(</span><span class='id identifier rubyid_sprite'>sprite</span><span class='period'>.</span><span class='id identifier rubyid__collision_area'>_collision_area</span><span class='rparen'>)</span>
745
+ <span class='kw'>end</span></pre>
746
+ </td>
747
+ </tr>
748
+ </table>
749
+ </div>
750
+
751
+ <div class="method_details ">
752
+ <h3 class="signature " id="_init_collision_info-instance_method">
753
+
754
+ #<strong>_init_collision_info</strong>(image) &#x21d2; <tt>Object</tt>
755
+
756
+
757
+
758
+
759
+
760
+ </h3><div class="docstring">
761
+ <div class="discussion">
762
+
763
+ <p>Called from Sprites#initialize</p>
764
+
765
+
766
+ </div>
767
+ </div>
768
+ <div class="tags">
769
+
770
+
771
+ </div><table class="source_code">
772
+ <tr>
773
+ <td>
774
+ <pre class="lines">
775
+
776
+
777
+ 65
778
+ 66
779
+ 67
780
+ 68
781
+ 69
782
+ 70
783
+ 71
784
+ 72
785
+ 73
786
+ 74
787
+ 75</pre>
788
+ </td>
789
+ <td>
790
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_check.rb', line 65</span>
791
+
792
+ <span class='kw'>def</span> <span class='id identifier rubyid__init_collision_info'>_init_collision_info</span><span class='lparen'>(</span><span class='id identifier rubyid_image'>image</span><span class='rparen'>)</span>
793
+ <span class='ivar'>@collision</span> <span class='op'>||=</span> <span class='kw'>nil</span>
794
+ <span class='ivar'>@collision_enable</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='ivar'>@collision_enable</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
795
+ <span class='ivar'>@collision_sync</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='ivar'>@collision_sync</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
796
+ <span class='ivar'>@_collision_area</span> <span class='op'>||=</span>
797
+ <span class='kw'>if</span> <span class='id identifier rubyid_image'>image</span>
798
+ <span class='const'><span class='object_link'><a href="CollisionArea.html" title="DXOpal::Sprite::CollisionArea (module)">CollisionArea</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CollisionArea/Rect.html" title="DXOpal::Sprite::CollisionArea::Rect (class)">Rect</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="CollisionArea/Rect.html#initialize-instance_method" title="DXOpal::Sprite::CollisionArea::Rect#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_image'>image</span><span class='period'>.</span><span class='id identifier rubyid_width'>width</span><span class='comma'>,</span> <span class='id identifier rubyid_image'>image</span><span class='period'>.</span><span class='id identifier rubyid_height'>height</span><span class='rparen'>)</span>
799
+ <span class='kw'>else</span>
800
+ <span class='kw'>nil</span>
801
+ <span class='kw'>end</span>
802
+ <span class='kw'>end</span></pre>
803
+ </td>
804
+ </tr>
805
+ </table>
806
+ </div>
807
+
808
+ <div class="method_details ">
809
+ <h3 class="signature " id="check-instance_method">
810
+
811
+ #<strong>check</strong>(sprite_or_sprites) &#x21d2; <tt>Object</tt>
812
+
813
+
814
+
815
+
816
+
817
+ </h3><div class="docstring">
818
+ <div class="discussion">
819
+
820
+ <p>Return list of sprites collides with this sprite</p>
821
+
822
+
823
+ </div>
824
+ </div>
825
+ <div class="tags">
826
+
827
+
828
+ </div><table class="source_code">
829
+ <tr>
830
+ <td>
831
+ <pre class="lines">
832
+
833
+
834
+ 106
835
+ 107
836
+ 108
837
+ 109</pre>
838
+ </td>
839
+ <td>
840
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_check.rb', line 106</span>
841
+
842
+ <span class='kw'>def</span> <span class='id identifier rubyid_check'>check</span><span class='lparen'>(</span><span class='id identifier rubyid_sprite_or_sprites'>sprite_or_sprites</span><span class='rparen'>)</span>
843
+ <span class='id identifier rubyid_sprites'>sprites</span> <span class='op'>=</span> <span class='const'>Array</span><span class='lparen'>(</span><span class='id identifier rubyid_sprite_or_sprites'>sprite_or_sprites</span><span class='rparen'>)</span>
844
+ <span class='kw'>return</span> <span class='id identifier rubyid_sprites'>sprites</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_sprite'>sprite</span><span class='op'>|</span> <span class='id identifier rubyid__collides?'>_collides?</span><span class='lparen'>(</span><span class='id identifier rubyid_sprite'>sprite</span><span class='rparen'>)</span><span class='rbrace'>}</span>
845
+ <span class='kw'>end</span></pre>
846
+ </td>
847
+ </tr>
848
+ </table>
849
+ </div>
850
+
851
+ <div class="method_details ">
852
+ <h3 class="signature " id="hit-instance_method">
853
+
854
+ #<strong>hit</strong>(other) &#x21d2; <tt>Object</tt>
855
+
856
+
857
+
858
+
859
+
860
+ </h3><table class="source_code">
861
+ <tr>
862
+ <td>
863
+ <pre class="lines">
864
+
865
+
866
+ 62</pre>
867
+ </td>
868
+ <td>
869
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_check.rb', line 62</span>
870
+
871
+ <span class='kw'>def</span> <span class='id identifier rubyid_hit'>hit</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
872
+ </td>
873
+ </tr>
874
+ </table>
875
+ </div>
876
+
877
+ <div class="method_details ">
878
+ <h3 class="signature " id="shot-instance_method">
879
+
880
+ #<strong>shot</strong>(other) &#x21d2; <tt>Object</tt>
881
+
882
+
883
+
884
+
885
+
886
+ </h3><div class="docstring">
887
+ <div class="discussion">
888
+
889
+ <p>Default callback methods of `Sprite.check`</p>
890
+
891
+
892
+ </div>
893
+ </div>
894
+ <div class="tags">
895
+
896
+
897
+ </div><table class="source_code">
898
+ <tr>
899
+ <td>
900
+ <pre class="lines">
901
+
902
+
903
+ 61</pre>
904
+ </td>
905
+ <td>
906
+ <pre class="code"><span class="info file"># File 'lib/dxopal/sprite/collision_check.rb', line 61</span>
907
+
908
+ <span class='kw'>def</span> <span class='id identifier rubyid_shot'>shot</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
909
+ </td>
910
+ </tr>
911
+ </table>
912
+ </div>
913
+
914
+ </div>
915
+
916
+ </div>
917
+
918
+ <div id="footer">
919
+ Generated on Tue Dec 29 11:37:23 2020 by
920
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
921
+ 0.9.26 (ruby-2.7.0).
922
+ </div>
923
+
924
+ </div>
925
+ </body>
926
+ </html>