Beispiel #1
0
 public void SetShotsLeft(VariableStore store, int value)
 {
     store.SetInt(gunName + "_shots", value);
 }
Beispiel #2
0
 public void GiveAmmo(AmmoType type, int amount)
 {
     variableStore.SetInt(type.ToString() + "_count", GetAmmoCount(type) + amount);
 }