public void RemoveClient(Client client) { lock (this.AccessLock) { this.clients.Remove(client); client.Destroy(); } }
public User(TrackerMirror trackerMirror, KinectSensor kinectSensor, Client client) { this.trackerMirror = trackerMirror; this.KinectSensor = kinectSensor; this.Client = client; this.Active = true; this.focusPoint = new Vector2(); this.overlayRectangle = new Rectangle(0, 0, this.trackerMirror.Width, this.trackerMirror.Height); }