// Simple frame of kinect data with screen coords class Frame { float []sx; float []sy; boolean tracked; Frame() { sx = new float[14]; sy = new float[14]; tracked=false; } void storeCoords(int i, float x, float y) { sx[i]=x; sy[i]=y; tracked=true; } void setX(int i, float x) { sx[i]=x; } void setY(int i, float y) { sy[i]=y; } void setTracked(boolean tr) { tracked=tr; } float getX(int i) { return sx[i]; } float getY(int i) { return sy[i]; } boolean isTracked() { return tracked; } }