public AnyUserKeyAsGP(IEnumerable <IArrowKeyAsGP> arrows, IEnumerable <IButtonKeyAsGP> buttons) { Arrow = new AnyArrowKeyAsGP(arrows); Button = new AnyButtonKeyAsGP(buttons); }
public AnyUserKeyAsGP(IEnumerable <IUserKeyAsGP> userInputs) { Arrow = new AnyArrowKeyAsGP(userInputs.Select(ui => ui.Arrow)); Button = new AnyButtonKeyAsGP(userInputs.Select(ui => ui.Button)); }
public UserKeyAsGP(IArrowKeyAsGP arrow, IButtonKeyAsGP button) { Arrow = arrow; Button = button; }