Refactored clicking on dice and rooms so that logic is moved out of the game manager

This commit is contained in:
Max Dodd 2025-01-25 17:18:01 +01:00
parent ede5ef1533
commit e7ea8302ad
8 changed files with 150 additions and 67 deletions

View file

@ -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;