Beispiel #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();
        }
Beispiel #2
0
 // -------------------
 public void SetConfig(TouchGestureConfig config)
 {
     this.config = config;
 }
Beispiel #3
0
 // -----------------
 public TouchGestureState(TouchGestureThresholds thresholds, TouchGestureConfig config) : base()
 {
     this.BasicConstructor(thresholds, config);
 }