UNPKG
splat-ecs
Version:
latest (7.6.0)
7.6.0
7.5.1
7.5.0
7.4.1
7.4.0
7.3.0
7.2.2
7.2.1
7.2.0
7.1.0
7.0.0
6.1.0
6.0.1
6.0.0
5.5.1
5.5.0
5.4.0
5.3.0
5.2.0
5.1.2
5.1.1
5.1.0
5.0.0
4.1.1
4.1.0
4.0.0
3.2.0
3.1.1
3.1.0
3.0.2
3.0.1
3.0.0
2.0.0
1.0.0
0.7.0
0.6.2
0.6.1
0.6.0
0.5.0
0.4.2
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.1
0.1.0
0.0.1
0.0.0
A 2D HTML5 Canvas game engine
github.com/SplatJS/splat-ecs
SplatJS/splat-ecs
splat-ecs
/
lib
/
components
/
collisions.js
11 lines
(10 loc)
•
237 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
// This component is deprecated and will be removed in the next major version.
// Use box-collider instead.
module
.
exports
= {
factory
:
function
(
) {
return
[]; },
reset
:
function
(
collisions
) { collisions.
length
=
0
; } };