import java.awt.*;

public class Node {
    int w = Config.BLOCK_SIZE;
    int h = Config.BLOCK_SIZE;
    int row, col;
    Direction dir ;
    Node(int row, int col, Direction dir) {
        this.row = row;
        this.col = col;
        this.dir = dir;
    }
    void draw(Graphics g) {
        Color c = g.getColor();
        g.setColor(Color.white);
        g.fillOval(Config.BLOCK_SIZE * col, Config.BLOCK_SIZE * row, w, h);
        g.setColor(c);
    }
}
最近下载更多
jiemomo  LV12 2023年10月19日
baihaushu  LV1 2023年6月13日
493240689  LV3 2023年5月11日
Java开发工程师_初心  LV1 2022年12月23日
微信网友_6258245891903488  LV7 2022年12月12日
neverthepoint  LV1 2022年11月22日
小野猪ayu  LV1 2022年10月25日
的还是看哈  LV3 2022年6月10日
bigtreemin  LV6 2022年5月21日
小明pussabcd  LV1 2022年5月16日
最近浏览更多
860421  LV3 4月18日
爱情戴罪的羔羊  LV7 4月2日
罗清晨  LV11 2月21日
微信网友_6790966844739584  LV2 2023年12月28日
ClydeSon  LV5 2023年12月27日
lshlsh 2023年12月25日
暂无贡献等级
bangyiyang  LV2 2023年12月21日
b5438b  LV7 2023年12月20日
fenghuijun  LV26 2023年12月10日
hhqazmlp  LV1 2023年10月30日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友