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; }
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(); }
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); }
void Start() { _machine = FindObjectOfType <SlotMachine>(); _model = SlotModel.Instance; }
public void SetMachine(SlotMachine machine) { _currentMachine = machine; Betting.PaylineNum = _currentMachine.MachineConfig.paylineTable.Count; }
public void Initialize(SlotConfig config, SlotMachine startMachine) { SlotConfig = config; SetMachine(startMachine); }