Refactored clicking on dice and rooms so that logic is moved out of the game manager
This commit is contained in:
parent
ede5ef1533
commit
e7ea8302ad
8 changed files with 150 additions and 67 deletions
|
|
@ -6,6 +6,8 @@ public class DicePair
|
|||
|
||||
public void SelectDie(Die die)
|
||||
{
|
||||
if (ContainsDie(die)) return;
|
||||
|
||||
if (_pair.Item1 == null && _pair.Item2 == null)
|
||||
{
|
||||
_pair.Item1 = die;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue