tineshape.java

来自「俄罗斯方块源代码」· Java 代码 · 共 35 行

JAVA
35
字号
/*
 * 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
 */
/*
 * 010
 * 111
 * 000
 */
public class TineShape extends Shape 
{

    /* (non-Javadoc)
     * @see Shape#Rotate()
     */
    private int direction;
    public TineShape()
    {
        super(3);
        cell[1][0] = 1;
        cell[1][1] = 1;
        cell[1][2] = 1;
        cell[0][1] = 1;
    }
}

⌨️ 快捷键说明

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