Exemplo n.º 1
0
        public void SetStartSymbols(string[][] startSymbolNames)
        {
            var len = startSymbolNames.Length;

            _startSymbols = new SymbolNames[len];

            for (var i = 0; i < startSymbolNames.Length; ++i)
            {
                string[]    symbolNames = startSymbolNames[i];
                SymbolNames symbolSet   = new SymbolNames(symbolNames);
                _startSymbols[i] = symbolSet;
            }
        }
Exemplo n.º 2
0
        public ReelStrips(string[][] symbols, Type type = Type.Normal)
        {
            this.type = type;

            var count = symbols.Length;

            _names = new SymbolNames[count];
            for (var i = 0; i < count; ++i)
            {
                var strip = new SymbolNames(symbols[i]);
                _names[i] = strip;
            }
        }
Exemplo n.º 3
0
        public void Initialize(SlotMachine relativeMachine)
        {
            _machine       = relativeMachine;
            _machineConfig = _machine.MachineConfig;

            _symbolNecessaryCount = _machineConfig.row + _machineConfig.MarginSymbolCount * 2;

            _lastSymbolNames     = _machineConfig.GetStartSymbolNames(_column);
            _receivedSymbolNames = new SymbolNames(_machineConfig.row);

            //CreateStartSymbols
            CreateStartSymbols();
            AlignSymbols();
        }