12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- using System;
- using System.Collections.Generic;
- using ClassLibrary1;
- public class Program
- {
- static void Main(string[] args)
- {
- Player player1 = new Player("h1mera");
- // Выбираем героя
- player1.PickHero("Invoker");
- // Список предметов
- List<Item> itemsToPick = new List<Item>
- {
- new Item("Desolator"),
- new Item("Daedalus"),
- new Item("Butterfly"),
- new Item("Silver Edge"),
- new Item("Power Treads"),
- new Item("Satanic"),
- new Item("Refresher Orb"),
- new Item("Scythe of Wyse"),
- new Item("Travel Boots"),
- new Item("Octarine Core"),
- new Item("Blink Dagger"),
- new Item("Bloodthorn"),
- new Item("Aghanim Scepter"),
- new Item("Bloodstone"),
- new Item("Abbysal Blade"),
- new Item("Heart of Tarrasque"),
- new Item("Phase Boots"),
- new Item("Eternal Shroud"),
- new Item("Boots of Bearing"),
- new Item("Arcane Blink"),
- new Item("Aghanim Bleesing"),
- new Item("Glimmer Cape"),
- new Item("Divine Rapier"),
- new Item("Wind Waker"),
- };
- // Покупаем предмет
- Item itemToBuy1 = new Item("Refresher Orb");
- Item itemToBuy2 = new Item("Scythe of Wyse");
- Item itemToBuy3 = new Item("Travel Boots");
- Item itemToBuy4 = new Item("Blink Dagger");
- Item itemToBuy5 = new Item("Octarine Core");
- Item itemToBuy6 = new Item("Bloodthorn");
- player1.BuyItem(itemToBuy1);
- player1.BuyItem(itemToBuy2);
- player1.BuyItem(itemToBuy3);
- player1.BuyItem(itemToBuy4);
- player1.BuyItem(itemToBuy5);
- player1.BuyItem(itemToBuy6);
- }
- }
|