fix explosion physics

This commit is contained in:
Asraelite 2016-03-25 16:41:15 +00:00
parent bf8226481d
commit 8a8a9c8ae3
7 changed files with 54 additions and 24 deletions

View file

@ -2,6 +2,11 @@ class Asteroid extends Body {
constructor(data) {
super(data)
this.bodyType = 'asteroid';
this.debug = 0;
}
updateType(data) {
this.debug = data[6];
}
tick() {