Skip to content

Commit e688c87

Browse files
committed
Added Body.parent and Body.name properties.
1 parent b3ba728 commit e688c87

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: 'e3e6e2b0-5ad6-11e7-b604-99296cb8a42f'
2+
build: '4e29a680-5b3b-11e7-beb8-2fd7d9854f0e'
33
};
44
module.exports = CHECKSUM;

v3/src/physics/impact/Body.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ var Body = new Class({
2626

2727
this.enabled = true;
2828

29+
this.parent;
30+
this.name = '';
31+
2932
this.size = { x: sx, y: sy };
3033
this.pos = { x: x, y: y };
3134
this.last = { x: x, y: y };

v3/src/physics/impact/TYPE.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// In ACTIVE vs. LITE or FIXED vs. ANY collisions, only the "weak" entity moves,
44
// while the other one stays fixed. In ACTIVE vs. ACTIVE and ACTIVE vs. PASSIVE
55
// collisions, both entities are moved. LITE or PASSIVE entities don't collide
6-
// with other LITE or PASSIVE entities at all. The behaiviour for FIXED vs.
6+
// with other LITE or PASSIVE entities at all. The behavior for FIXED vs.
77
// FIXED collisions is undefined.
88

99
module.exports = {

0 commit comments

Comments
 (0)