Browse Source

added identifiers for example program for debug

Ronen 8 years ago
parent
commit
9b9c040b03
1 changed files with 6 additions and 0 deletions
  1. 6 0
      MonoGameSceneGraph/Game1.cs

+ 6 - 0
MonoGameSceneGraph/Game1.cs

@@ -64,6 +64,12 @@ namespace MonoGameSceneGraph
             nodeContainerContainer.AddChildNode(nodeContainer);
             nodeContainer.AddChildNode(node);
 
+            // for debug
+            root.Identifier = "root";
+            nodeContainerContainer.Identifier = "ncc";
+            nodeContainer.Identifier = "nc";
+            node.Identifier = "n";
+
             // create entity and attach to bottom node
             entity = new ModelEntity(Content.Load<Model>("robot"));
             node.AddEntity(entity);