Exemplo n.º 1
0
    public static void class2()
    {
        Jewel  jwl   = new Jewel();
        string value = string.Format("{0:n0}", jwl.getCashValue());

        Debug.Log($"This {jwl.getDiscript()} Jewel is worth ... $" + value);
    }
Exemplo n.º 2
0
    public static void class1()
    {
        Jewel  jwl   = new Jewel(jColor.Ruby, jSize.Medium, jRarity.Uncommon);
        string value = string.Format("{0:n0}", jwl.getCashValue());

        Debug.Log($"This {jwl.getDiscript()} Jewel is worth ... $" + value);
    }