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