package com.Els;
/**
* 形态类
*
* @author HAO-影流之主
*/
public class State {
/**
* 设置八个属性
*/
int[] rows = new int[4];
int[] cols = new int[4];
/**
* 构造方法
*/
public State() {
}
public State(int[][] rowAndCol) {
super();
for (int i = 0; i < 4; i++) {
this.rows[i] = rowAndCol[i][0];
this.cols[i] = rowAndCol[i][1];
}
}
}