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