private void SlotStopped() { SpiningSlots--; if (SpiningSlots == 0) { RollEnded.Invoke(LastWin); } }
private void OnLoopCompleted() { foreach (Die d in Dice) { d.UpdateDiePosition(); d.DrawDie(); } HandleCollisions(); if (!AllDiceStopped) { BeginLoop(); } else { RollEnded?.Invoke(); } }