www.pudn.com > Russian.rar > Shape.java


/* 
 * Created on 2004-10-21 
 * 
 * TODO To change the template for this generated file go to 
 * Window - Preferences - Java - Code Style - Code Templates 
 */ 
 
/** 
 * @author Administrator 
 * 
 * TODO To change the template for this generated type comment go to 
 * Window - Preferences - Java - Code Style - Code Templates 
 */ 
abstract public class Shape 
{ 
    public byte cell[][]; //矩形必须是能够置换(4*4, 3*3等) 
    public int iSideLength; 
     
    public Shape(int l) 
    { 
        iSideLength = l; 
        cell = new byte[l][l]; 
        for (int i=0; i