コード例 #1
0
 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();
            }
        }