public void Initialize(mg_ss_Order p_orderLogic, mg_ss_OrderSystemObject p_orderSystemObject) { m_orderLogic = p_orderLogic; m_orderSystemObject = p_orderSystemObject; m_currentCustomer = m_customerGeneric; m_customerGeneric.Initialize(this, p_isSpecial: false); }
public void Initialize(mg_ss_Order p_orderLogic) { m_orderLogic = p_orderLogic; for (int i = 0; i < m_orderLogic.Steps.Count; i++) { m_orderSteps[i].Initialize(m_orderLogic.Steps[i]); } }
public void Initialize(mg_ss_ItemGenerator_Normal p_itemGenerator, mg_ss_OrderSystemObject p_orderSystemObject) { m_itemGenerator = p_itemGenerator; m_orderSystemObject = p_orderSystemObject; mg_ss_Resources resources = MinigameManager.GetActive <mg_SmoothieSmash>().Resources; m_orderData = resources.OrderLengthData; m_specialOrderData = resources.SpecialOrderData; m_currentOrder = new mg_ss_Order(); m_nextOrder = new mg_ss_Order(); m_orderSystemObject.Initialize(m_currentOrder); GenerateNextGenericOrder(); GenerateOrder(); m_ordersCompleted = 0; }
public void CopyOrder(mg_ss_Order p_orderToCopy) { ClearOrder(); SpecialOrder = p_orderToCopy.SpecialOrder; LastStepQueued = p_orderToCopy.LastStepQueued; OrderCompleted = p_orderToCopy.OrderCompleted; mg_ss_OrderStep mg_ss_OrderStep2 = null; mg_ss_OrderStep mg_ss_OrderStep3 = null; for (int i = 0; i < Steps.Count; i++) { mg_ss_OrderStep2 = p_orderToCopy.Steps[i]; mg_ss_OrderStep3 = Steps[i]; mg_ss_OrderStep3.State = mg_ss_OrderStep2.State; mg_ss_OrderStep3.FruitType = mg_ss_OrderStep2.FruitType; } }
public void Initialize(mg_ss_Order p_orderLogic) { UpdatePosition(); m_speechBubble.Initialize(p_orderLogic); m_customerManager.Initialize(p_orderLogic, this); }