public JumpMenuData(IActionMenuStore store, IAttack[] IAttack) : base("Jump") { Options = IAttack.ToList().Select((item) => { return(new MenuData.JumpOption(store, item.GetType().Name, item, TargetType.Single)); }).ToArray(); }
public HammerMenuData(IActionMenuStore store, IAttack[] IAttack) : base("Hammer") { Options = IAttack.ToList().Select((item) => { return(new MenuData.HammerOption(store, item)); }).ToArray(); }
public AttackOption(IActionMenuStore store, string name, IAttack item, TargetType targetType) { // this.Name = name; this.store = store; this.Attack = item; this.TargetType = targetType; }
public HammerOption(IActionMenuStore store) : this(store, new Hammer()) { }
public HammerOption(IActionMenuStore store, IAttack hammer) : base(store, "Hammer", hammer, TargetType.Single) { }
public JumpOption(IActionMenuStore store, string name, IAttack item, TargetType targetType) : base(store, name, item, targetType) { }
public HeadbonkOption(IActionMenuStore store, IAttack hammer) : base(store, "Headbonk", hammer, TargetType.Single) { }
public ActionMenuData(string v, params IOption[] options) { this.store = store; this.Name = v; this.Options = options; }