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