Пример #1
0
        public static WaifuItem GetItemObject(ItemName itemName, int mult)
        {
            WaifuItem wi;

            switch (itemName)
            {
            case ItemName.Cookie:
                wi = new WaifuItem("🍪", 10, itemName);
                break;

            case ItemName.Rose:
                wi = new WaifuItem("🌹", 50, itemName);
                break;

            case ItemName.LoveLetter:
                wi = new WaifuItem("💌", 100, itemName);
                break;

            case ItemName.Toast:
                wi = new WaifuItem("🍞", 150, itemName);
                break;

            case ItemName.Banana:
                wi = new WaifuItem("🍌", 200, itemName);
                break;

            case ItemName.Chocolate:
                wi = new WaifuItem("🍫", 200, itemName);
                break;

            case ItemName.Rice:
                wi = new WaifuItem("🍚", 400, itemName);
                break;

            case ItemName.MovieTicket:
                wi = new WaifuItem("🎟", 800, itemName);
                break;

            case ItemName.Book:
                wi = new WaifuItem("📔", 1500, itemName);
                break;

            case ItemName.Lipstick:
                wi = new WaifuItem("💄", 3000, itemName);
                break;

            case ItemName.Laptop:
                wi = new WaifuItem("💻", 5000, itemName);
                break;

            case ItemName.Game:
                wi = new WaifuItem("🎮", 7500, itemName);
                break;

            case ItemName.Ring:
                wi = new WaifuItem("💍", 10000, itemName);
                break;

            case ItemName.Diamond:
                wi = new WaifuItem("💎", 20000, itemName);
                break;

            case ItemName.Iphone:
                wi = new WaifuItem("📱", 4000, itemName);
                break;

            case ItemName.Cat:
                wi = new WaifuItem("🐱", 2000, itemName);
                break;

            case ItemName.Dog:
                wi = new WaifuItem("🐶", 2000, itemName);
                break;

            case ItemName.Lollipop:
                wi = new WaifuItem("🍭", 30, itemName);
                break;

            case ItemName.Purse:
                wi = new WaifuItem("👛", 3500, itemName);
                break;

            case ItemName.Sushi:
                wi = new WaifuItem("🍣", 300, itemName);
                break;

            case ItemName.Icecream:
                wi = new WaifuItem("🍦", 200, itemName);
                break;

            case ItemName.Piano:
                wi = new WaifuItem("🎹", 8000, itemName);
                break;

            case ItemName.Yacht:
                wi = new WaifuItem("🛳", 12000, itemName);
                break;

            case ItemName.Car:
                wi = new WaifuItem("🚗", 9000, itemName);
                break;

            case ItemName.House:
                wi = new WaifuItem("🏠", 15000, itemName);
                break;

            case ItemName.Spaceship:
                wi = new WaifuItem("🚀", 30000, itemName);
                break;

            case ItemName.Beer:
                wi = new WaifuItem("🍺", 75, itemName);
                break;

            case ItemName.Pizza:
                wi = new WaifuItem("🍕", 150, itemName);
                break;

            case ItemName.Milk:
                wi = new WaifuItem("🥛", 125, itemName);
                break;

            default:
                throw new ArgumentException("Item is not implemented", nameof(itemName));
            }
            wi.Price = wi.Price * mult;
            return(wi);
        }
Пример #2
0
        public static WaifuItem GetItem(ItemName itemName, int mult)
        {
            WaifuItem wi;

            switch (itemName)
            {
            case ItemName.Potato:
                wi = new WaifuItem("🥔", 5, itemName);
                break;

            case ItemName.Cookie:
                wi = new WaifuItem("🍪", 10, itemName);
                break;

            case ItemName.Bread:
                wi = new WaifuItem("🥖", 20, itemName);
                break;

            case ItemName.Lollipop:
                wi = new WaifuItem("🍭", 30, itemName);
                break;

            case ItemName.Rose:
                wi = new WaifuItem("🌹", 50, itemName);
                break;

            case ItemName.Beer:
                wi = new WaifuItem("🍺", 70, itemName);
                break;

            case ItemName.Taco:
                wi = new WaifuItem("🍺", 85, itemName);
                break;

            case ItemName.LoveLetter:
                wi = new WaifuItem("💌", 100, itemName);
                break;

            case ItemName.Milk:
                wi = new WaifuItem("🥛", 125, itemName);
                break;

            case ItemName.Pizza:
                wi = new WaifuItem("🍕", 150, itemName);
                break;

            case ItemName.Chocolate:
                wi = new WaifuItem("🍫", 200, itemName);
                break;

            case ItemName.Icecream:
                wi = new WaifuItem("🍦", 250, itemName);
                break;

            case ItemName.Sushi:
                wi = new WaifuItem("🍣", 300, itemName);
                break;

            case ItemName.Rice:
                wi = new WaifuItem("🍚", 400, itemName);
                break;

            case ItemName.Watermelon:
                wi = new WaifuItem("🍉", 500, itemName);
                break;

            case ItemName.Bento:
                wi = new WaifuItem("🍱", 600, itemName);
                break;

            case ItemName.MovieTicket:
                wi = new WaifuItem("🎟", 800, itemName);
                break;

            case ItemName.Cake:
                wi = new WaifuItem("🍰", 1000, itemName);
                break;

            case ItemName.Book:
                wi = new WaifuItem("📔", 1500, itemName);
                break;

            case ItemName.Cat:
                wi = new WaifuItem("🐱", 2000, itemName);
                break;

            case ItemName.Dog:
                wi = new WaifuItem("🐶", 2001, itemName);
                break;

            case ItemName.Panda:
                wi = new WaifuItem("🐼", 2500, itemName);
                break;

            case ItemName.Lipstick:
                wi = new WaifuItem("💄", 3000, itemName);
                break;

            case ItemName.Purse:
                wi = new WaifuItem("👛", 3500, itemName);
                break;

            case ItemName.Iphone:
                wi = new WaifuItem("📱", 4000, itemName);
                break;

            case ItemName.Dress:
                wi = new WaifuItem("📱", 4500, itemName);
                break;

            case ItemName.Laptop:
                wi = new WaifuItem("💻", 5000, itemName);
                break;

            case ItemName.Violin:
                wi = new WaifuItem("🎻", 7500, itemName);
                break;

            case ItemName.Piano:
                wi = new WaifuItem("🎹", 8000, itemName);
                break;

            case ItemName.Car:
                wi = new WaifuItem("🚗", 9000, itemName);
                break;

            case ItemName.Ring:
                wi = new WaifuItem("💍", 10000, itemName);
                break;

            case ItemName.Yacht:
                wi = new WaifuItem("🛳", 12000, itemName);
                break;

            case ItemName.House:
                wi = new WaifuItem("🏠", 15000, itemName);
                break;

            case ItemName.Helicopter:
                wi = new WaifuItem("🚁", 20000, itemName);
                break;

            case ItemName.Spaceship:
                wi = new WaifuItem("🚀", 30000, itemName);
                break;

            case ItemName.Moon:
                wi = new WaifuItem("🌕", 50000, itemName);
                break;

            default:
                throw new ArgumentException(nameof(itemName));
            }
            wi.Price = wi.Price * mult;
            return(wi);
        }
Пример #3
0
        public static WaifuItem GetItemObject(ItemName itemName, int mult)
        {
            WaifuItem wi;

            switch (itemName)
            {
            case ItemName.Banana:
                wi = new WaifuItem("🍌", 10, itemName);
                break;

            case ItemName.Tea:
                wi = new WaifuItem("🍵", 50, itemName);
                break;

            case ItemName.Coffee:
                wi = new WaifuItem("☕", 50, itemName);
                break;

            case ItemName.Chocolate:
                wi = new WaifuItem("🍫", 100, itemName);
                break;

            case ItemName.Pizza:
                wi = new WaifuItem("🍕", 150, itemName);
                break;

            case ItemName.Cake:
                wi = new WaifuItem("🍰", 200, itemName);
                break;

            case ItemName.Medal:
                wi = new WaifuItem("🏅", 250, itemName);
                break;

            case ItemName.Rooster:
                wi = new WaifuItem("🐓", 300, itemName);
                break;

            case ItemName.Surprise:
                wi = new WaifuItem("🎁", 400, itemName);
                break;

            case ItemName.Clover:
                wi = new WaifuItem("🍀", 500, itemName);
                break;

            case ItemName.Book:
                wi = new WaifuItem("📖", 550, itemName);
                break;

            case ItemName.LoveLetter:
                wi = new WaifuItem("💌", 600, itemName);
                break;

            case ItemName.Spider:
                wi = new WaifuItem("🕷️", 700, itemName);
                break;

            case ItemName.Snake:
                wi = new WaifuItem("🐍", 800, itemName);
                break;

            case ItemName.Horse:
                wi = new WaifuItem("🐎", 900, itemName);
                break;

            case ItemName.Moneybag:
                wi = new WaifuItem("💰", 1000, itemName);
                break;

            case ItemName.Mask:
                wi = new WaifuItem("👹", 1500, itemName);
                break;

            case ItemName.Ring:
                wi = new WaifuItem("💍", 1700, itemName);
                break;

            case ItemName.Dagger:
                wi = new WaifuItem("🗡️", 2500, itemName);
                break;

            case ItemName.Shield:
                wi = new WaifuItem("🛡️", 2500, itemName);
                break;

            case ItemName.Swords:
                wi = new WaifuItem("⚔️", 5000, itemName);
                break;

            case ItemName.Alien:
                wi = new WaifuItem("👾", 9000, itemName);
                break;

            case ItemName.Unicorn:
                wi = new WaifuItem("🦄", 10000, itemName);
                break;

            case ItemName.Diamond:
                wi = new WaifuItem("💎", 15000, itemName);
                break;

            case ItemName.Crown:
                wi = new WaifuItem("👑", 25000, itemName);
                break;

            case ItemName.Castle:
                wi = new WaifuItem("🏰", 50000, itemName);
                break;

            case ItemName.Dragon:
                wi = new WaifuItem("🐲", 99999, itemName);
                break;

            /*case ItemName.Manga:
             *  wi = new WaifuItem("📓", 800, itemName);
             *  break;
             * case ItemName.Guitar:
             *  wi = new WaifuItem("🎸", 5000, itemName);
             *  break;
             * case ItemName.Iphone:
             *  wi = new WaifuItem("📱", 8000, itemName);
             *  break;
             * case ItemName.Laptop:
             *  wi = new WaifuItem("💻", 10000, itemName);
             *  break;
             * case ItemName.Honor:
             *  wi = new WaifuItem("🏅", 15000, itemName);
             *  break;
             * case ItemName.Newcomer:
             *  wi = new WaifuItem("👾", 50000, itemName);
             *  break;
             * case ItemName.Star:
             *  wi = new WaifuItem("🌟", 99999, itemName);
             *  break;
             * case ItemName.Moon:
             *  wi = new WaifuItem("🌕", 100000, itemName);
             *  break;
             * case ItemName.Love:
             *  wi = new WaifuItem("💝", 200000, itemName);
             *  break;*/
            default:
                throw new ArgumentException("Item is not implemented", nameof(itemName));
            }
            wi.Price = wi.Price * mult;
            return(wi);
        }