コード例 #1
0
        public async Task StartAsync(CancellationToken cancellationToken)
        {
            while (true)
            {
                var input = _inputHandler.GetInput();


                _displayManager.Draw(_game, _scoreManager);
                await Task.Delay(TimeSpan.FromMilliseconds(16.67), cancellationToken);
            }
        }