public bool Add(AbstractLeap4EGesture gesture) { if (!this.leap4EGestureList.Contains(gesture)) { this.leap4EGestureList.Add(gesture); } return(true); }
public void UpdateGestures() { if (this.leap4EGestureList.Count <= 0) { return; } for (int i = 0; i < this.leap4EGestureList.Count; i++) { AbstractLeap4EGesture tempGesture = this.leap4EGestureList[i]; tempGesture.Update(this.leap4E.RawData); } }
public bool Contain(AbstractLeap4EGesture gesture) { // TODO: override IComparable interface, gesture class name as unique id return(this.leap4EGestureList.Contains(gesture)); }
public bool Remove(AbstractLeap4EGesture gesture) { return(true); }