示例#1
0
文件: UndoSystem.cs 项目: nistck/Jx
 public static void Shutdown()
 {
     if (instance != null)
     {
         instance.Clear();
         instance = null;
     }
 }
示例#2
0
文件: UndoSystem.cs 项目: nistck/Jx
 public static void Init(int maxLevel)
 {
     Trace.Assert(instance == null);
     instance = new UndoSystem(maxLevel);
 }