Example #1
0
        public void AddStrips(Group groupName, string[][] symbols, ReelStrips.Type stripsType = ReelStrips.Type.Normal)
        {
            ReelStrips reelStrips = new ReelStrips(symbols, stripsType);

            _map[groupName] = reelStrips;

            _containsGroup.Add(groupName);
        }
Example #2
0
        public void Spin(ResDTO.Spin.Payout.SpinInfo spinInfo = null)
        {
            _isSpinning    = true;
            _isReceived    = false;
            _spinCount     = 0;
            _currentStrips = GetCurrentStrip();

            if (spinInfo != null)
            {
                ReceivedSymbol(spinInfo);
            }

            UpdateSymbolState(SymbolState.Spin);

            SpinReel();
        }