wezel.java

来自「puzzle program witch dfs bsf and a* algo」· Java 代码 · 共 41 行

JAVA
41
字号
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package puzzle;/** * * @author Slayer86 */public class Wezel {        public int stan[][];    public Wezel rodzic,gora,dol,lewo,prawo;    public int ocena;        public Wezel(){                stan=new int[3][3];        prawo = lewo = gora = dol = null;        ocena=0;            }        public Wezel(int[][] tablica)    {        prawo = lewo = gora = dol = null;        ocena=0;        stan = new int[3][3];        for (int i = 0; i < 3; i++)        {            for (int j = 0; j < 3; j++)            {                stan[i][j] = tablica[i][j];            }        }    } }

⌨️ 快捷键说明

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