예제 #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();
 }