Added the ability to use a limited number of black dice.
This commit is contained in:
parent
0e869555d3
commit
bcfd42147b
12 changed files with 1058 additions and 26 deletions
|
|
@ -7,7 +7,6 @@ using Button = UnityEngine.UI.Button;
|
|||
public class PassManager : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private Button passButton;
|
||||
[SerializeField] private GameManager gameManager;
|
||||
|
||||
public event EventHandler PassRequested;
|
||||
|
||||
|
|
@ -15,7 +14,7 @@ public class PassManager : MonoBehaviour
|
|||
void Start()
|
||||
{
|
||||
passButton.onClick.AddListener(OnPassClicked);
|
||||
gameManager.StateChanged += HandleStateChange;
|
||||
GameManager.StateChanged += HandleStateChange;
|
||||
}
|
||||
|
||||
private void HandleStateChange(GameState state) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue