add start of box2d physics
This commit is contained in:
parent
bb9a493450
commit
95e0f6b710
25 changed files with 97 additions and 6 deletions
|
@ -2,7 +2,9 @@
|
|||
|
||||
class Body {
|
||||
constructor() {
|
||||
|
||||
this.b2body = false;
|
||||
this.type = 'dynamic';
|
||||
this.health = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue