src/core/UIManager.js
/**
	* Updates the UI with current ammo data.
	*
	* @return {UIManager} A reference to this UI manager.
	*/
Updates the UI with current ammo data.
@return {UIManager} A reference to this UI manager.
Updates the UI with current ammo data . @return { UIManager } A reference to this UI manager .
updateAmmoStatus() {
		const player = this.world.player;
		const weapon = player.weaponSystem.currentWeapon;
		this.html.roundsLeft.textContent = weapon.roundsLeft;
		this.html.ammo.textContent = weapon.ammo;
		return this;
	}
updateAmmoStatus ( ) { const player = this . world . player ; const weapon = player . weaponSystem . currentWeapon ; this . html . roundsLeft . textContent = weapon . roundsLeft ; this . html . ammo . textContent = weapon . ammo ; return this ; }
Updates the UI with current ammo data.
Updates the UI with current ammo data .