Beispiel #1
0
    bool AddArmor(int armor)
    {
        if (healthController.armor >= healthController.maxArmor)
        {
            return(false);
        }

        infoSection.SetMessage("Picked up an armor bonus.");
        colorOverlay.SetColor(pickupScreenColor, .25f, .25f, .25f, 1);
        healthController.AddArmor(armor);
        return(true);
    }