Best game ever
This commit is contained in:
@@ -19,6 +19,7 @@ class Asteroid {
|
||||
}
|
||||
this.isGolden = isGolden;
|
||||
this.hitsLeft = isGolden ? 3 : 1;
|
||||
console.log(`Spawned asteroid, isGolden: ${isGolden}, hitsLeft: ${this.hitsLeft}`);
|
||||
}
|
||||
|
||||
update() {
|
||||
|
Reference in New Issue
Block a user