public void rotate(boolean clockWise)
    {
        setPreviousPosition();

        switch(index)
        {
        
            case 1:
                break;
            
            case 2:
                switch(position)
                {
                case 0:
                    column += 1;
                    row -= 1;
                    x += size;
                    y -= size;
                    break;
                case 1:
                    column -= 1;
                    row -= 1;
                    x -= size;
                    y -= size;
                    break;
                case 2:
                    column -= 1;
                    row += 1;
                    x -= size;
                    y += size;
                    break;
                case 3:
                    column += 1;
                    row += 1;
                    x += size;
                    y += size;
                    break;
                }
    
                break;

        }

    }