public EndGamePanel(DataPanel dataPanel, DataEndGamePanel dataEndGamePanel, PanelTypes panelType) : base(dataPanel, panelType)
 {
     try
     {
         dataPanel.DataPanelBtns[0].BtnPanel.onClick.AddListener(BackToMenu);
     }
     catch (System.NullReferenceException)
     {
     }
 }
 public NextLvlPanel(Panel panel, DataPanel dataPanel, DataEndGamePanel endGamePanel, DataNextLvlPanel dataNextLvlPanel) :
     base(panel, dataPanel, endGamePanel)
 {
     try
     {
         this.dataNextLvlPanel = dataNextLvlPanel;
     }
     catch (System.NullReferenceException)
     {
     }
 }
Exemplo n.º 3
0
 public WinPanel(Panel panel, DataPanel dataPanel, DataEndGamePanel endGamePanel, DataSetWinPanel dataSetWinPanel) :
     base(panel, dataPanel, endGamePanel)
 {
     try
     {
         this.dataSetWinPanel = dataSetWinPanel;
     }
     catch (Exception e)
     {
         // ignored
     }
 }
Exemplo n.º 4
0
 public PanelEndGameDecorator(Panel panel, DataPanel dataPanel, DataEndGamePanel dataEndGamePanel) : base(dataPanel)
 {
     this.dataEndGamePanel = dataEndGamePanel;
     this.panel            = panel;
 }