public RemoveAmmo ( AmmoType ammoType, int amount ) : void | ||
ammoType | AmmoType | |
amount | int | |
리턴 | void |
public void RemoveAmmo(AmmoType ammoType, int amount)
{
if (_ammo.ContainsKey(ammoType))
{
_ammo[ammoType] -= amount;
}
}
}