/* Add Health Bar */ if( !ig.global.wm ) { ig.game.spawnEntity(EntityHealthBar,this.pos.x , this.pos.y,{ Unit: this }); }