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