mUp(e){
        console.log("mouse up event");
        this.mouseDown = false;
        var temp = new Rectangle(this.xMouseStart, this.yMouseStart, this.w, this.h, colArray[0])
        this.ObjectSet.push(temp);

    }
// this function is called when the user has released their click
this function is called when the user has released their click
this function is called when the user has released their click
mUp(e){
        console.log("mouse up event");
        this.mouseDown = false;
        var temp = new Rectangle(this.xMouseStart, this.yMouseStart, this.w, this.h, colArray[0])
        this.ObjectSet.push(temp);
    }
mUp ( e ) { console . log ( "mouse up event" ) ; this . mouseDown = false ; var temp = new Rectangle ( this . xMouseStart , this . yMouseStart , this . w , this . h , colArray [ 0 ] ) this . ObjectSet . push ( temp ) ; }
this function is called when the user has released their click
this function is called when the user has released their click