⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c.java

📁 J2ME拳王游戏
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
                {
                    B = 0;
                    I.notifyDestroyed();
                }
                break;

            case 7: // '\007'
                intValue();
                break;

            case 6: // '\006'
                u = true;
                q = false;
                getGraphics();
                break;

            case 10: // '\n'
                x = true;
                break;

            case 12: // '\f'
                v = true;
                if(isShown <= System.currentTimeMillis())
                {
                    isShown = System.currentTimeMillis() + 300L;
                    repaint++;
                    if(setElementAt == 0)
                    {
                        if(repaint >= 4)
                        {
                            repaint = 0;
                            setElementAt = 1;
                        }
                    } else
                    if(repaint >= 5)
                    {
                        repaint = 4;
                        setElementAt = 1;
                    }
                }
                if(notifyAll > System.currentTimeMillis())
                    break;
                serviceRepaints++;
                if(serviceRepaints >= 4 || Q == 3 && serviceRepaints == 3)
                {
                    getDirectGraphics(Q);
                    Kof _tmp = I;
                    Kof.K++;
                    notifyAll = System.currentTimeMillis() + 3000L;
                    C = 16;
                    I.Z.setCurrent(this);
                    Kof _tmp1 = I;
                    kof.Kof.I("kof.mid.congrats", 0);
                } else
                {
                    firstElement();
                    currentThread();
                }
                break;

            case 13: // '\r'
                w = true;
                if(isShown <= System.currentTimeMillis())
                {
                    isShown = System.currentTimeMillis() + 300L;
                    repaint++;
                    if(setElementAt == 0)
                    {
                        if(repaint >= 4)
                        {
                            repaint = 0;
                            setElementAt = 1;
                        }
                        break;
                    }
                    if(repaint >= 5)
                    {
                        repaint = 4;
                        setElementAt = 1;
                    }
                    break;
                }
                if(notifyAll <= System.currentTimeMillis())
                {
                    firstElement();
                    M = false;
                    Kof.N.I(false);
                    firstElement = false;
                }
                break;

            case 16: // '\020'
                firstElement();
                M = false;
                Kof.N.I(true);
                firstElement = false;
                break;

            case 18: // '\022'
                if(z)
                {
                    System.out.println("start tag play");
                    close();
                } else
                {
                    System.out.println("start play");
                    currentThread();
                }
                B = 0;
                break;
            }
        }
        catch(Throwable throwable)
        {
            a = "HAnd state:" + throwable;
            System.out.println(a);
        }
    }

    private final void firstElement()
    {
        System.gc();
    }

    private final void freeMemory()
    {
        try
        {
            O.J();
            O.N = 1;
            O.x = 20;
            O.y = i;
            P.J();
            P.N = -1;
            P.x = Z - 20;
            P.y = i;
            H.setSeed(System.currentTimeMillis());
            for(int i1 = 0; i1 < 10; i1++)
                c[i1] = null;

            setClip = U + 1;
            switch(setClip)
            {
            case 1: // '\001'
                setColor = 0x7b9cc6;
                setCurrent = 0xd7d7d7;
                break;

            case 2: // '\002'
                setColor = 0x9de2fa;
                setCurrent = 0xcbb4d7;
                break;

            case 3: // '\003'
                setColor = 0xabfcff;
                setCurrent = 0xf0e5a0;
                break;

            case 4: // '\004'
                setColor = 0x69f4f4;
                setCurrent = 0xc68080;
                break;
            }
            notifyDestroyed = null;
            System.gc();
            if(s == 1)
                notifyDestroyed = I("/demo_bg1.png");
            else
                notifyDestroyed = I("/demo_bg" + setClip + ".png");
            j = drawRect / 2 - notifyDestroyed.getHeight() / 2;
            j += 0;
        }
        catch(Throwable throwable)
        {
            a = "SetChars:" + throwable;
            System.out.println(a);
        }
    }

    private final void gc(Graphics g1)
    {
        try
        {
            g1.setColor(0, 0, 255);
            g1.fillRect(0, 0, Z, drawRect);
            g1.setColor(255, 255, 255);
            int i1 = drawRect - 14 - 7;
            g1.fillRect(Z / 2 - 50, (i1 - 100) / 2, 100, 100);
            I(g1, N[Q][0], 50, 50, setFont[Q][repaint][0] * 50, setFont[Q][repaint][1] * 50, Z / 2 - 25, (i1 - 50) / 2, 0);
            if(length[0] != null)
                getRuntime(g1, length);
        }
        catch(Throwable throwable)
        {
            a = "Winscrn:" + throwable;
        }
    }

    private final void get(Graphics g1)
    {
        try
        {
            g1.setColor(255, 0, 0);
            g1.fillRect(0, 0, Z, drawRect);
            g1.setColor(255, 255, 255);
            int i1 = drawRect - 14 - 7;
            g1.fillRect(Z / 2 - 50, (i1 - 100) / 2, 100, 100);
            if(N[U][0] == null)
                AI = "lose scrn null";
            I(g1, N[U][0], 50, 50, setFont[U][repaint][0] * 50, setFont[U][repaint][1] * 50, Z / 2 - 25, (i1 - 50) / 2, 0);
            if(length[0] != null)
                getRuntime(g1, length);
        }
        catch(Throwable throwable)
        {
            a = "lose:" + throwable;
        }
    }

    private final void getClass(Graphics g1)
    {
        X = true;
        drawImage(g1);
        getGameAction(g1);
        O.D();
        P.D();
        O.I(g1);
        P.I(g1);
        getHeight(g1);
        if(longValue >= System.currentTimeMillis())
            break MISSING_BLOCK_LABEL_907;
        longValue = System.currentTimeMillis() + 2000L;
        if(getWidth == 1)
        {
            getRuntime++;
            getWidth = 0;
            longValue = System.currentTimeMillis() + 2000L;
            int i1 = Integer.valueOf(f[Kof.H]).intValue();
            if(z)
            {
                if(serviceRepaints == 0)
                {
                    if(out > println)
                    {
                        System.out.println("1");
                        serviceRepaints = 1;
                        T[0] = O.L;
                        T[1] = O.T;
                        W[0] = G;
                        W[1] = 0;
                        close();
                    } else
                    {
                        serviceRepaints = 2;
                        T[0] = G;
                        T[1] = 0;
                        W[0] = P.L;
                        W[1] = P.T;
                        close();
                    }
                } else
                if(serviceRepaints == 1)
                {
                    if(out > println)
                    {
                        notifyAll = System.currentTimeMillis() + 3000L;
                        C = 16;
                        I.Z.setCurrent(this);
                        notifyAll = System.currentTimeMillis() + 3000L;
                        I;
                        kof.Kof.I("kof.mid.congrats", 0);
                    } else
                    {
                        serviceRepaints = 3;
                        T[0] = G;
                        T[1] = 0;
                        W[0] = P.L;
                        W[1] = P.T;
                        close();
                    }
                } else
                if(serviceRepaints == 2)
                {
                    if(out > println)
                    {
                        serviceRepaints = 3;
                        T[0] = O.L;
                        T[1] = O.T;
                        W[0] = G;
                        W[1] = 0;
                        close();
                    } else
                    {
                        notifyAll = System.currentTimeMillis() + 3000L;
                        C = 13;
                        I;
                        kof.Kof.I("kof.mid.lose", 0);
                        repaint = 0;
                        isShown = System.currentTimeMillis() + 200L;
                        getFont(U, false);
                    }
                } else
                if(serviceRepaints == 3)
                    if(out > println)
                    {
                        C = 16;
                        notifyAll = System.currentTimeMillis() + 3000L;
                        I.Z.setCurrent(this);
                        notifyAll = System.currentTimeMillis() + 3000L;
                        I;
                        kof.Kof.I("kof.mid.congrats", 0);
                    } else
                    {
                        firstElement();
                        C = 13;
                        setElementAt = 0;
                        I;
                        kof.Kof.I("kof.mid.lose", 0);
                        repaint = 0;
                        isShown = System.currentTimeMillis() + 200L;
                        getFont(U, false);
                    }
            } else
            {
                freeMemory();
                if(out + println >= i1 || out >= i1 - i1 / 2 || println >= i1 - i1 / 2)
                {
                    if(out > println)
                    {
                        C = 12;
                        I;
                        kof.Kof.I("kof.mid.win", 0);
                        repaint = 0;
                        setElementAt = 0;
                        notifyAll = System.currentTimeMillis() + 3000L;
                        isShown = System.currentTimeMillis() + 200L;
                        getFont(Q, true);
                    } else
                    {
                        notifyAll = System.currentTimeMillis() + 3000L;
                        C = 13;
                        setElementAt = 0;
                        I;
                        kof.Kof.I("kof.mid.lose", 0);
                        repaint = 0;
                        isShown = System.currentTimeMillis() + 200L;
                        getFont(U, false);
                    }
                } else
                {
                    I;
                    put = Integer.valueOf(d[Kof.G]).intValue();
                    if(put == 0L)
                        put = 99L;
                    C = 6;
                }
            }
            return;
        }
        try
        {
            getWidth++;
        }
        catch(Throwable throwable)
        {
            a = "RNDOVER:" + throwable;
            System.out.println(a);
        }
    }

    private final void getDirectGraphics(int i1)
    {
        try
        {
            switch(i1)
            {
            case 2: // '\002'
                Kof _tmp = I;
                Kof.F++;
                break;

            case 1: // '\001'
                Kof _tmp1 = I;
                Kof.J++;
                break;

            case 3: // '\003'
                Kof _tmp2 = I;
                Kof.S++;
                break;

            case 0: // '\0'
                Kof _tmp3 = I;
                Kof.A++;
                break;
            }
            Kof _tmp4 = I;
            Kof.Z();
        }
        catch(Throwable throwable) { }
    }

    private final void getFont(int i1, boolean flag)
    {
        try
        {
            switch(i1)
            {
            default:
                break;

            case 2: // '\002'
                if(flag)
                    length[0] = "\241Lo mejor de Jap\363n!";
                else
                    length[0] = "\241Fuerza y belleza!";
                break;

            case 1: // '\001'
                if(flag)
                    length[0] = "\241Lo consegu\355!";
                else
                    length[0] = "\241No puedo perder!";
                break;

            case 3: // '\003'
                if(flag)
                    length[0] = "\241Vale, est\341 bien!";
                else
                    length[0] = "\241Siempre reparto!";
                break;

            case 0: // '\0'
                if(flag)
                    length[0] = "\241La victoria es m\355a!";
                else
                    length[0] = "\241Eh, eh, tontorr\363n!";
                break;
            }
        }
        catch(Exception exception)
        {
            System.out.println("Exception e: " + exception);
        }
    }

    private final void getGameAction(Graphics g1)
    {
        g1.setFont(lastElement);
        boolean flag = false;
        if(s == 1)
        {
            g1.setColor(255, 255, 255);
            g1.fillRect(0, y, Z, getResourceAsStream - y);
            g1.drawImage(notifyDestroyed, 0, y, 20);
        } else
        {
            if(K != 0L && K > System.currentTimeMillis())
            {
                g1.setColor(0, 0, 0);
                g1.fillRect(0, ZI, Z, drawRect);
            } else
            {
                g1.setColor(setCurrent);
                g1.fillRect(0, j + notifyDestroyed.getHeight(), Z, getResourceAsStream - (j + BI));
            }
            if(X)
            {
                K = 0L;
                g1.setColor(setColor);
                g1.fillRect(0, y, Z, notifyDestroyed.getHeight() + (j - y));
                g1.fillRect(0, ZI, Z, j - ZI);
                g1.drawImage(notifyDestroyed, 0, j, 20);
                X = false;
                Y = true;
                flag = true;
            } else
            if(K == 0L)
            {
                if(Z((O.Z + O.S()) - DI, 50 + DI * 2, 0, CI) && I((O.C + O.A()) - DI, 50 + DI * 2, j, BI))
                    I(g1, notifyDestroyed, 50 + DI * 2, 50 + DI * 2, (O.Z + O.S()) - DI, (O.C + O.A()) - j - DI, (O.Z + O.S()) - DI, (O.C + O.A()) - DI, 0);
                if(Z((P.Z + P.S()) - DI, 50 + DI * 2, 0, CI) && I((P.C + P.A()) - DI, 50 + DI * 2, j, BI))
                    I(g1, notifyDestroyed, 50 + DI * 2, 50 + DI * 2, (P.Z + P.S()) - DI, (P.C + P.A()) - j - DI, (P.Z + P.S()) - DI, (P.C + P.A()) - DI, 0);
            }
        }
        if((O.C + O.A() < j + 5 || P.C + P.A() < j + 5) && K == 0L)
        {
            g1.setColor(setColor);
            g1.fillRect(0, ZI, Z, j - ZI);
            flag = true;
        }
        if(Y)
        {
            flag = true;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -