示例#1
0
    private static void AddControlled()
    {
        Action addControlled = () =>
                               engine.AddControlled(Tetromino.Get(new Coordinates(0, Tetris.FieldCols / 2)));

        addControlled();

        engine.OnMoveEnd += (sender, e) =>
                            addControlled();
    }