Пример #1
0
        public void Notify(GameTime gameTime)
        {
            if (!_timeOutFrom.HasValue) return;

            if (gameTime.Time.Subtract(_timeOutFrom.Value).TotalSeconds >= 1)
            {
                _timeOutFrom = null;
            }
        }
Пример #2
0
 public void Notify(GameTime gameTime)
 {
     GameCanvas.Source = _gamePresenter.DrawGame();
 }