/// <summary> /// Disables the UI for the user. /// All buttons are locked and do not process an input. /// Effects for the particular user are turned off. /// </summary> public void DisableUI() { boardManager.GetCurrentBlock().DisableBoardButtons(); finishTurnButton.Lock(); splitButton.Lock(); armyText.Disable(); roundEffects.DisablePlayerEffects(); }
/// <summary> /// Transfers the given army and changes block. /// Removes the given army from the current block, changes the block and places the army to the new block. /// </summary> public void PassArmy(ArmyStorageItem army) { boardManager.GetCurrentBlock().SetItem(FromPosition, null); ChangeBlock(); boardManager.GetCurrentBlock().SetItem(ToPosition, army); }