// set overlap for enemy bullets this.physics.add.overlap(this.ship, this.enemyBullets, (ship, bullet) => { this.health -= 10 bullet.destroy() })