public UndoAction_MapEdit(UndoMgr mgr, Map m, Map.UndoData before, Map.UndoData after, string strDesc)
        {
            m_mgr = mgr;
            m_map = m;
            m_before = new Map.UndoData(before);
            m_after = new Map.UndoData(after);

            Description = "MapEdit " + m.Name + " " + strDesc;
        }
Example #2
0
        public UndoAction_MapEdit(UndoMgr mgr, Map m, Map.UndoData before, Map.UndoData after, string strDesc)
        {
            m_mgr    = mgr;
            m_map    = m;
            m_before = new Map.UndoData(before);
            m_after  = new Map.UndoData(after);

            Description = "MapEdit " + m.Name + " " + strDesc;
        }