示例#1
0
 public void Initialize(mg_pt_GameScreen p_screen)
 {
     m_isActive = true;
     m_screen   = p_screen;
     Lives      = 5;
     Minigame.SetLogic(this);
     m_penguinManager = m_screen.PenguinManager;
     m_penguinManager.Initialize(Minigame.Resources, Order);
     m_toppingBar = m_screen.ToppingBar;
     SetComplexity(Minigame.Resources.ComplexityDataHead);
     m_conveyor.Initialize(m_screen, Minigame.Resources.ConveyorSpeedData);
     Order.Randomize();
     m_pizza.Initialize(this, m_screen);
     m_toppingBar.Initialize(this);
     m_boardObject = m_screen.BoardObject;
     m_boardObject.Initialize(this);
 }
示例#2
0
 public void Initialize(mg_pt_PenguinManager p_manager, bool p_special)
 {
     m_manager = p_manager;
     Special   = p_special;
 }