Example #1
0
        override public void Initialize(SlotMachine relativeMachine)
        {
            base.Initialize(relativeMachine);

            _winItemList = new WinItemList();

            CreateDefaultSpinOrder();
            CreateReels();
        }
        virtual public void Init(SlotMachineUI slotUI)
        {
            _model = SlotModel.Instance;

            _slotConfig = _model.SlotConfig;
            _betting    = _slotConfig.Betting;

            _ui      = slotUI;
            _machine = _ui.SlotMachine;
        }
        virtual public void Initialize(SlotMachine relativeMachine)
        {
            _machine       = relativeMachine;
            _machineConfig = _machine.MachineConfig;

            // _model = SlotModel.Instance;

            // _slotConfig = _model.SlotConfig;
            // _betting = _slotConfig.Betting;

            // _ui = slotUI;
            // _machine = _ui.SlotMachine;
        }
Example #4
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();
        }
Example #5
0
        public void Initialize(SlotMachine machine)
        {
            SlotMachine = machine;

            _model = SlotModel.Instance;

            _user    = _model.Owner;
            _betting = SlotModel.Instance.SlotConfig.Betting;

            InitPaytable();
            InitInfo();
            InitMessageBoard();
            InitWinDisplayer();
            InitButtons();

            UpdateBalance(_user.Balance);
        }
Example #6
0
 void Start()
 {
     _machine = FindObjectOfType <SlotMachine>();
     _model   = SlotModel.Instance;
 }
Example #7
0
 public void SetMachine(SlotMachine machine)
 {
     _currentMachine    = machine;
     Betting.PaylineNum = _currentMachine.MachineConfig.paylineTable.Count;
 }
Example #8
0
 public void Initialize(SlotConfig config, SlotMachine startMachine)
 {
     SlotConfig = config;
     SetMachine(startMachine);
 }