Ejemplo n.º 1
0
            public InternalTimer(Mobile from, CraftSystem craftSystem, BaseTool tool, int iCountMax)
                : base(TimeSpan.Zero, TimeSpan.FromSeconds(craftSystem.Delay * 2.0), iCountMax)
            {
                CraftContext context = craftSystem.GetContext(from);

                m_CraftItem   = context.LastMade;
                m_From        = from;
                m_iCount      = 0;
                m_iCountMax   = iCountMax;
                m_CraftSystem = craftSystem;
                m_TypeRes     = m_CraftItem.GetType();
                m_Tool        = tool;
            }