Exemplo n.º 1
0
        private async Task CloseDoor(string Door, int Delay)
        {
            await Task.Delay(Delay * 1000 + 500);

            MazeDisplay.CloseDoor(Door);
            Maze.CloseDoor(Door);
        }