コード例 #1
0
 public void SetupBattlegroundAsSpecific(SpecificBattlegroundInfo specificBattlegroundInfo)
 {
     SetupOverlordsAsSpecific(specificBattlegroundInfo);
     SetupOverlordsHandsAsSpecific(specificBattlegroundInfo.PlayerInfo.CardsInHand, specificBattlegroundInfo.OpponentInfo.CardsInHand);
     SetupOverlordsDecksAsSpecific(specificBattlegroundInfo.PlayerInfo.CardsInDeck, specificBattlegroundInfo.OpponentInfo.CardsInDeck);
     SetupOverlordsBoardUnitsAsSpecific(specificBattlegroundInfo.PlayerInfo.CardsOnBoard, specificBattlegroundInfo.OpponentInfo.CardsOnBoard);
     SetupGeneralUIAsSpecific(specificBattlegroundInfo);
 }
コード例 #2
0
        private void SetupOverlordsAsSpecific(SpecificBattlegroundInfo specificBattlegroundInfo)
        {
            _gameplayManager.OpponentPlayer.Health           = specificBattlegroundInfo.OpponentInfo.Health;
            _gameplayManager.OpponentPlayer.GooOnCurrentTurn = specificBattlegroundInfo.OpponentInfo.MaximumGoo;
            _gameplayManager.OpponentPlayer.Goo = specificBattlegroundInfo.OpponentInfo.CurrentGoo;
            _gameplayManager.GetController <AIController>().SetAiType(specificBattlegroundInfo.OpponentInfo.AiType);

            _gameplayManager.CurrentPlayer.Health           = specificBattlegroundInfo.PlayerInfo.Health;
            _gameplayManager.CurrentPlayer.GooOnCurrentTurn = specificBattlegroundInfo.PlayerInfo.MaximumGoo;
            _gameplayManager.CurrentPlayer.Goo = specificBattlegroundInfo.PlayerInfo.CurrentGoo;
        }
コード例 #3
0
 private void SetupGeneralUIAsSpecific(SpecificBattlegroundInfo specificBattlegroundInfo)
 {
     // todo implement logic
 }