Exemple #1
0
        // -----------------
        private void BasicConstructor(TouchGestureThresholds thresholds, TouchGestureConfig config)
        {
            this.config = config;
            this.thresh = thresholds;


            this.swipeDirState  = new DirectionState();
            this.swipeDirState4 = new DirectionState();
            this.swipeDirState8 = new DirectionState();


            this.Reset();
        }
Exemple #2
0
 // -------------------
 public void SetConfig(TouchGestureConfig config)
 {
     this.config = config;
 }
Exemple #3
0
 // -----------------
 public TouchGestureState(TouchGestureThresholds thresholds, TouchGestureConfig config) : base()
 {
     this.BasicConstructor(thresholds, config);
 }