public boolean contains(int X, int Y)
    {
        if(X > this.x && Y > this.y && X < this.x + this.width && Y < this.y + this.height)
        {
            return true;
        }
        else
        {
            return false;
        }
    }