public static string GetNameforCoinMaterial(CoinMaterial cm)
        {
            string CoinMaterialName = "";

            switch (cm)
            {
            case CoinMaterial.Aluminum:
                CoinMaterialName = "Aluminum";
                break;

            case CoinMaterial.Bronze:
                CoinMaterialName = "Bronze";
                break;

            case CoinMaterial.Brass:
                CoinMaterialName = "Brass";
                break;

            case CoinMaterial.Cupronickel:
                CoinMaterialName = "Cupronickel";
                break;

            case CoinMaterial.Nickel_Brass:
                CoinMaterialName = "Nickel-Brass";
                break;

            default:
                break;
            }
            return(CoinMaterialName);
        }
 public OneYen(CoinMaterial cm)
 {
     this.Name          = "One Yen";
     this.Year          = System.DateTime.Now.Year;
     this.MonetaryValue = 1;
     this.Portait       = "Sapling";
     this.ReverseMotif  = "One Yen";
     this.Coinmaterial  = cm;
 }
Beispiel #3
0
 public FiveYen(CoinMaterial cm)
 {
     this.Name          = "Five Yen";
     this.Year          = System.DateTime.Now.Year;
     this.Coinmaterial  = CoinMaterial.Brass;
     this.MonetaryValue = 5;
     this.Portait       = "Rice stalk, gear, and water";
     this.ReverseMotif  = "Leaf sprout";
     this.Coinmaterial  = cm;
 }
Beispiel #4
0
 public TenYen(CoinMaterial cm)
 {
     this.Name          = "Ten Yen";
     this.Year          = System.DateTime.Now.Year;
     this.Coinmaterial  = CoinMaterial.Bronze;
     this.MonetaryValue = 10;
     this.Portait       = "Phoenix Hall at the Byōdō-in temple";
     this.ReverseMotif  = "Tokiwa (evergreen) tree";
     this.Coinmaterial  = cm;
 }
 public FiftyYen(CoinMaterial cm)
 {
     this.Name          = "Fifty Yen";
     this.Year          = System.DateTime.Now.Year;
     this.Coinmaterial  = CoinMaterial.Cupronickel;
     this.MonetaryValue = 50;
     this.Portait       = "Chrysanthemums";
     this.ReverseMotif  = "50";
     this.Coinmaterial  = cm;
 }
Beispiel #6
0
 public HundredYen(CoinMaterial cm)
 {
     this.Name          = "One Hundred Yen";
     this.Year          = System.DateTime.Now.Year;
     this.Coinmaterial  = CoinMaterial.Cupronickel;
     this.MonetaryValue = 100;
     this.Portait       = "Cherry Blossoms";
     this.ReverseMotif  = "100";
     this.Coinmaterial  = cm;
 }
 public FiveHundredYen(CoinMaterial cm)
 {
     this.Name          = "Five Hundred Yen";
     this.Year          = System.DateTime.Now.Year;
     this.Coinmaterial  = CoinMaterial.Nickel_Brass;
     this.MonetaryValue = 500;
     this.Portait       = "Paulownia";
     this.ReverseMotif  = "500 Bamboo and Mandarin orange";
     this.Coinmaterial  = cm;
 }
 public CoinMaterial GetCoinMaterial(CoinMaterial cm)
 {
     return(cm);
 }
 public JPCoin(CoinMaterial cm)
 {
     this.Coinmaterial = cm;
 }