dxopal 1.5.1 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/DEVELOPMENT.md +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +23 -25
- data/README.md +7 -3
- data/Rakefile +8 -15
- data/build/dxopal.js +57670 -40007
- data/build/dxopal.min.js +1 -1
- data/config.ru +1 -1
- data/doc/api/DXOpal/Constants/Colors.html +172 -0
- data/doc/api/DXOpal/Constants.html +115 -0
- data/doc/api/DXOpal/Font.html +72 -18
- data/doc/api/DXOpal/Image.html +902 -409
- data/doc/api/DXOpal/Input/KeyCodes.html +986 -0
- data/doc/api/DXOpal/Input/MouseCodes.html +8 -8
- data/doc/api/DXOpal/Input/Touch.html +834 -0
- data/doc/api/DXOpal/Input.html +833 -104
- data/doc/api/DXOpal/RemoteResource.html +170 -41
- data/doc/api/DXOpal/Sound.html +33 -27
- data/doc/api/DXOpal/SoundEffect/WaveTypes.html +8 -8
- data/doc/api/DXOpal/SoundEffect.html +13 -15
- data/doc/api/DXOpal/Sprite/CollisionArea/Base.html +649 -0
- data/doc/api/DXOpal/Sprite/CollisionArea/Circle.html +656 -0
- data/doc/api/DXOpal/Sprite/CollisionArea/Point.html +448 -0
- data/doc/api/DXOpal/Sprite/CollisionArea/Rect.html +549 -0
- data/doc/api/DXOpal/Sprite/CollisionArea/Triangle.html +423 -0
- data/doc/api/DXOpal/Sprite/CollisionArea.html +126 -0
- data/doc/api/DXOpal/Sprite/CollisionCheck/ClassMethods.html +268 -0
- data/doc/api/DXOpal/Sprite/CollisionCheck.html +926 -0
- data/doc/api/DXOpal/Sprite/Physics.html +426 -0
- data/doc/api/DXOpal/Sprite.html +522 -45
- data/doc/api/DXOpal/Window.html +245 -156
- data/doc/api/DXOpal.html +11 -11
- data/doc/api/Kernel.html +131 -0
- data/doc/api/_index.html +277 -5
- data/doc/api/class_list.html +1 -1
- data/doc/api/css/style.css +1 -0
- data/doc/api/file.README.html +23 -22
- data/doc/api/frames.html +10 -5
- data/doc/api/index.html +23 -22
- data/doc/api/method_list.html +1608 -0
- data/doc/api/top-level-namespace.html +155 -4
- data/lib/dxopal/input.rb +9 -4
- 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 +21 -8
@@ -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
|
+
— 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 = "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> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../../../DXOpal.html" title="DXOpal (module)">DXOpal</a></span></span> » <span class='title'><span class='object_link'><a href="../../Sprite.html" title="DXOpal::Sprite (class)">Sprite</a></span></span> » <span class='title'><span class='object_link'><a href="../CollisionArea.html" title="DXOpal::Sprite::CollisionArea (module)">CollisionArea</a></span></span>
|
41
|
+
»
|
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> ⇒ 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) ⇒ 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) ⇒ 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> ⇒ 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) ⇒ <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> ⇒ <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) ⇒ <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> ⇒ <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 Jul 9 22:42:34 2024 by
|
417
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
418
|
+
0.9.36 (ruby-3.2.2).
|
419
|
+
</div>
|
420
|
+
|
421
|
+
</div>
|
422
|
+
</body>
|
423
|
+
</html>
|
@@ -0,0 +1,126 @@
|
|
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::CollisionArea
|
8
|
+
|
9
|
+
— 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 = "DXOpal::Sprite::CollisionArea";
|
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> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../../DXOpal.html" title="DXOpal (module)">DXOpal</a></span></span> » <span class='title'><span class='object_link'><a href="../Sprite.html" title="DXOpal::Sprite (class)">Sprite</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">CollisionArea</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::CollisionArea
|
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/sprite/collision_area.rb</dd>
|
82
|
+
</dl>
|
83
|
+
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<h2>Overview</h2><div class="docstring">
|
87
|
+
<div class="discussion">
|
88
|
+
|
89
|
+
<p>Methods of Sprite related to collision checking</p>
|
90
|
+
|
91
|
+
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
<div class="tags">
|
95
|
+
|
96
|
+
|
97
|
+
</div><h2>Defined Under Namespace</h2>
|
98
|
+
<p class="children">
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="CollisionArea/Base.html" title="DXOpal::Sprite::CollisionArea::Base (class)">Base</a></span>, <span class='object_link'><a href="CollisionArea/Circle.html" title="DXOpal::Sprite::CollisionArea::Circle (class)">Circle</a></span>, <span class='object_link'><a href="CollisionArea/Point.html" title="DXOpal::Sprite::CollisionArea::Point (class)">Point</a></span>, <span class='object_link'><a href="CollisionArea/Rect.html" title="DXOpal::Sprite::CollisionArea::Rect (class)">Rect</a></span>, <span class='object_link'><a href="CollisionArea/Triangle.html" title="DXOpal::Sprite::CollisionArea::Triangle (class)">Triangle</a></span>
|
104
|
+
|
105
|
+
|
106
|
+
</p>
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
</div>
|
117
|
+
|
118
|
+
<div id="footer">
|
119
|
+
Generated on Tue Jul 9 22:42:34 2024 by
|
120
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
|
+
0.9.36 (ruby-3.2.2).
|
122
|
+
</div>
|
123
|
+
|
124
|
+
</div>
|
125
|
+
</body>
|
126
|
+
</html>
|