Exemple #1
0
 public Gesture(InputEventSystem inputEventSystem, GestureType type, String[] touchIDs)
 {
     this.inputEventSystem = inputEventSystem;
     this.id = GestureIDAssigner;
     GestureIDAssigner++;
     this.type = type;
     this.touchIDs = touchIDs;
 }
        internal PotentialGesture(
            InputEventSystem inputEventSystem,
            GestureType type, String[] touchIDs)
        {
            this.id = PotentialGestureIDAssigner;
            this.inputEventSystem = inputEventSystem;
            PotentialGestureIDAssigner++;

            this.type = type;
            this.touchIDs = touchIDs;
        }
 internal PotentialTapGesture(InputEventSystem inputEventSystem, String[] touchIDs)
     : base(inputEventSystem, GestureType.Tap, touchIDs)
 {
 }
 internal PotentialFlickGesture(
     InputEventSystem inputEventSystem,
     String[] touchIDs)
     : base(inputEventSystem, GestureType.Flick, touchIDs)
 {
 }