Example #1
0
        private FF6Model InitializeTestData()
        {
            FF6Model model = new FF6Model();

            model.Party.Add(new PlayerCharacter("Tora", 100));
            model.Party.Add(new PlayerCharacter("Unlocke", 120));
            model.Party.Add(new PlayerCharacter("Deadgar", 150));
            model.Party.Add(new PlayerCharacter("Sabo", 170));

            model.Inventory.Add(new Item {
                Name = "Short Sword", ItemType = "Weapon"
            });
            model.Inventory.Add(new Item {
                Name = "Long Sword", ItemType = "Weapon"
            });
            model.Inventory.Add(new Item {
                Name = "Leather Shield", ItemType = "Shield"
            });
            model.Inventory.Add(new Item {
                Name = "Leather Armor", ItemType = "Armor"
            });
            model.Inventory.Add(new Item {
                Name = "Leather Helm", ItemType = "Helm"
            });
            model.Inventory.Add(new Item {
                Name = "Sprint Shoes", ItemType = "Relic"
            });
            model.Inventory.Add(new Item {
                Name = "Running Shoes", ItemType = "Relic"
            });
            model.Inventory.Add(new Item {
                Name = "White Cape", ItemType = "Relic"
            });
            model.Inventory.Add(new Item {
                Name = "Dried Meat", ItemType = "Item", Effect = "heal", EffectAmount = 999
            });

            return(model);
        }
Example #2
0
        public FF6Menu(FF6Model model)
        {
            Model = model;

            InitializeComponent();
        }