Ejemplo n.º 1
0
 public UndoTreeContainer(Manager p_manager, Window p_parent, GraphicsDevice p_gd,
     ContentManager p_content)
     : base(p_manager)
 {
     m_windowParent = p_parent;
     m_gd = p_gd;
     m_undoTree = new UndoTree(p_gd,p_content);
 }
Ejemplo n.º 2
0
 public override void Initialize()
 {
     UndoTreeSystem undotreesystem = ((UndoTreeSystem)world.SystemManager.GetSystem<UndoTreeSystem>()[0]);
     actionTree = undotreesystem.undoTreeContainer.m_undoTree; // <-- "super ugly, maybe fix, or not, whatever" -Jarl
 }