a.java

来自「泡泡龙游戏原代码」· Java 代码 · 共 57 行

JAVA
57
字号
// Decompiled by DJ v2.9.9.60 Copyright 2000 Atanas Neshkov  Date: 2003-8-12 2:40:35
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 

package com.whkjava.a.a;

import java.io.IOException;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;

public class a
{

    public a()
    {
    }

    public static Image a(String s)
    {
        Image image = null;
        try
        {
            image = Image.createImage(s);
        }
        catch(IOException ioexception)
        {
            ioexception.printStackTrace();
        }
        return image;
    }

    public static void a(Graphics g, Image image, int i, int j)
    {
        g.drawImage(image, i, j, 20);
    }

    public static void a(Graphics g, String s, int i, int j)
    {
        g.drawString(s, i, j, 20);
    }

    public static void a(Graphics g, String s, int i, int j, int k, int l, int i1, int j1, 
            int k1, int l1)
    {
        g.setColor(k, l, i1);
        a(g, s, i - 1, j - 1);
        a(g, s, i, j - 1);
        a(g, s, i + 1, j - 1);
        a(g, s, i - 1, j);
        a(g, s, i + 1, j);
        a(g, s, i - 1, j + 1);
        a(g, s, i, j + 1);
        a(g, s, i + 1, j + 1);
        g.setColor(j1, k1, l1);
        a(g, s, i, j);
    }
}

⌨️ 快捷键说明

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