Exemplo n.º 1
0
    public void Display()
    {
        switch (result)
        {
        case Result.none:
            break;

        case Result.Hit:
        case Result.Graze:
        case Result.Crit:
            target.CreatePopUpText(amount.ToString(), ColorPallete.GetResultColor(result));
            break;

        default:
            target.CreatePopUpText(result.ToString(), ColorPallete.GetResultColor(result));
            break;
        }
        ApplyEffects();
    }