Compare commits
4 commits
aa49815fb9
...
97981def6e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97981def6e | ||
|
|
50abb6f9a9 | ||
|
|
8c87c6c6dd | ||
|
|
63209a12dc |
1 changed files with 9 additions and 2 deletions
|
|
@ -144,9 +144,16 @@ public class GameManager : MonoBehaviour
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PassRequested(object sender, EventArgs e) {
|
private void PassRequested(object sender, EventArgs e) {
|
||||||
if (state is GameState.PickDiceOne or GameState.PickDiceTwo)
|
switch (state)
|
||||||
{
|
{
|
||||||
PassTurn();
|
case GameState.PickDiceOne:
|
||||||
|
case GameState.PickDiceTwo:
|
||||||
|
case GameState.PickRoomOne:
|
||||||
|
case GameState.PickRoomTwo:
|
||||||
|
PassTurn();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue