public void upgradeWeapon() { this.fullMag += 10; this.mag = 40; this.totalBullets = 120; fullMag = mag; maxBullets = totalBullets; weaponHud.UpdateWeaponHUD(sprite, mag, fullMag, totalBullets); }
// Update weapon screen HUD. private void UpdateHud() { weaponHud.UpdateWeaponHUD(sprite, mag, fullMag, totalBullets); }
private void UpdateHUD() { weaponHUD.UpdateWeaponHUD(weaponSprite, currentMagCapacity, fullMag, totalBullets); }
private void UpdateHUD() { //총알량은 지속적인 업데이트가 필요하다 weaponHUD.UpdateWeaponHUD(weaponSprite, currentMagCapacity, fullMag, totalBullets); }