Exemple #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);
 }
Exemple #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;
        }
Exemple #3
0
 private void SetupGeneralUIAsSpecific(SpecificBattlegroundInfo specificBattlegroundInfo)
 {
     // todo implement logic
 }