Exemplo n.º 1
0
 public void RemoveClient(Client client)
 {
     lock (this.AccessLock)
     {
         this.clients.Remove(client);
         client.Destroy();
     }
 }
Exemplo n.º 2
0
        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);
        }