private TrickStep getTrickStepFromType(TrickStepType t) { if (t == TrickStepType.up) { return(upStep); } if (t == TrickStepType.down) { return(downStep); } if (t == TrickStepType.left) { return(leftStep); } if (t == TrickStepType.right) { return(rightStep); } if (t == TrickStepType.touch) { return(touchStep); } return(null); }
public TrickInput(TrickStepType t) { type = t; }
public TrickInput_Mobile(TrickStepType t) { type = t; }