Example #1
0
    public void PickUp()
    {
        pickUpKeyDownTime = 0;

        player.Inventory.Snowballs++;

        if (player.NearbyPlayerBase != null)
        {
            player.NearbyPlayerBase.Snowballs--;
        }

        PopUpManager.PickedUpSnowball(player);

        SoundManager.PlaySound(Sound.PickUpSnowball);
    }