Beispiel #1
0
 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);
 }
Beispiel #2
0
 public TrickInput(TrickStepType t)
 {
     type = t;
 }
Beispiel #3
0
 public TrickInput_Mobile(TrickStepType t)
 {
     type = t;
 }