public void move() 
    {
        int n = 1;
        int m = 1;
        int o = 1;
        int p = 1;
        if (mode == 0) 
        {
            n = 1;
            m = 1;
            o = 1;
        }
        if (mode == 1) 
        {
            n = 1;
            m = 2;
            o = 3;
        }
        if (mode == 2) 
        {
            n = 2;
            m = 3;
            o = 4;
            p = 2;
        }
        if (mode == 3) 
        {
            n = 3;
            m = 4;
            o = 5;
            p = 3;
        }
        if (level.equals("1")) 
        {
            if (x < -10) 
            {
                x = 1020;
            }
            x = x - n;
            if (y < -10.0) 
            {
                y = 680.0;
            }
            if (y > 680.0) 
            {
                y = 1.0;
            }
            if (mode == 2 || mode == 3) 
            {
                y = y + Math.sin(Math.toDegrees((double)(this.x / this.fluc)));
            }
        }
        else if (level.equals("2")) 
        {
            if (x < -10) 
            {
                x = 1020;
            }
            x = x - m;
            if (y < -10.0) 
            {
                y = 680.0;
            }
            if (y > 680.0) 
            {
                y = 1.0;
            }
            if (mode == 2 || mode == 3) 
            {
                y = y + Math.sin(Math.toDegrees((double)(this.x / this.fluc)));
            }
        }
        else if (level.equals("3")) 
        {
            if (x < -10) 
            {
                x = 1020;
            }
            x = x - o;
            if (y < -10.0) 
            {
                y = 680.0;
            }
            if (y > 680.0) 
            {
                y = 1.0;
            }
            if (mode == 2 || mode == 3) 
            {
                y = y + Math.sin(Math.toDegrees((double)(this.x / this.fluc)));
            }
        }
        else if (level.equals("4")) 
        {
            if (x < -200) 
            {
                x = 1040;
            }
            x = x - p;
            if (y < -10.0) 
            {
                y = 680.0;
            }
            if (y > 680.0) 
            {
                y = 1.0;
            }
            if (mode == 2 || mode == 3) 
            {
                y = y + Math.sin(Math.toDegrees((double)(this.x / this.fluc)));
            }
        }
        else 
        {
            if (x < 0) 
            {
                x = 1020;
            }
            x = x - 2;
        }
    }