Ejemplo n.º 1
0
    void reflectionGravityCheck()
    {
        //Debug.Log("grav check");
        bool somethingMoved = true;

        while (somethingMoved)
        {
            //Debug.Log("while tick");
            somethingMoved = false;

            if (currentPiece.possibleReflectionDownward())
            {
                //Debug.Log("moved down");
                somethingMoved = true;
                currentPiece.moveReflectionDownward();
            }
        }
        return;
    }