Ejemplo n.º 1
0
 public Kooper()
 {
     Actions    = new MenuData.IActionMenuData[2];
     Actions[0] = new MenuData.ActionMenuData("Flag", new MenuData.Option("Run Away"));
     Actions[1] = new MenuData.ActionMenuData("Abilities",
                                              new AttackOption("Shell Toss", new ShellToss(), TargetType.Single),
                                              new AttackOption("Power Shell", new PowerShell(), TargetType.All));
 }
Ejemplo n.º 2
0
 public Mario(Hero[] partners, Inventory iventory, IAttack[] jumps, params IAttack[] hammers)
 {
     this.iventory = iventory;
     Actions       = new MenuData.IActionMenuData[4];
     Actions[0]    = new MenuData.ActionMenuData("Strategies", new ChangeMemberOption(partners), new DoNothingOption(), new RunAwayOption());
     Actions[1]    = new MenuData.ItemsMenuData(iventory);
     Actions[2]    = new MenuData.JumpMenuData(new DefaultActionMenuStore(), jumps);
     Actions[3]    = new MenuData.HammerMenuData(new DefaultActionMenuStore(), hammers);
 }