public override void Update(double gameTime)
 {
     currentPhase.Update(gameTime);
     if (currentPhase.IsDone)
     {
         currentPhase = currentPhase.GetNextPhase();
         currentPhase.LoadContent(contentLoader, windowQueuer, battleData);
     }
 }
예제 #2
0
        public void Update(GameTime gameTime)
        {
            UpdateMouseState();

            //while (GameBoard.Vacancies > 0) {
            //    var newCard = Dealer.GetCard();
            //    GameBoard.PlaceCard(newCard);
            //}
            //GameBoard.Update(gameTime);

            _phase.Update(gameTime);

            if (_phase.MyState == SimpleChoicePhase.State.Done)
            {
                Debugger.Break();
            }
        }