Beispiel #1
0
    /// <summary>
    /// sets skill to be unusable visually
    /// </summary>
    /// <param name="slot"></param>
    public void cannotUseSkill(int slot)
    {
        switch (slot)
        {
        case 1:
            icon1.cannotUse();
            break;

        case 2:
            icon2.cannotUse();
            break;

        case 3:
            icon3.cannotUse();
            break;

        case 4:
            icon4.cannotUse();
            break;
        }
    }