Ejemplo n.º 1
0
    public void Restart()
    {
        statAttack = 0;
        statLine   = 0;
        statPiece  = 0;
        statScore  = 0;
        gameState  = State.Playing;

        //初始化40行10列的盘面
        field.ClearAll();
        hold   = 0;
        isHeld = false;
        wasB2B = false;
        combo  = 0;

        next = new NextManager(false);
        NewMino(next.Dequeue());
    }
Ejemplo n.º 2
0
 public void NextMino()
 {
     NewMino(next.Dequeue());
 }