Skip to content

Instantly share code, notes, and snippets.

@jweimann
Created November 14, 2016 06:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jweimann/be2da0082acafac3762508cee251a41d to your computer and use it in GitHub Desktop.
Save jweimann/be2da0082acafac3762508cee251a41d to your computer and use it in GitHub Desktop.
WeaponAmmo constructor
public WeaponAmmo(WeaponSettings weaponSettings)
{
_ammoNotInClip = weaponSettings.StartingAmmo;
_maxAmmoPerClip = weaponSettings.AmmoPerClip;
Reload();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment