Beispiel #1
0
 /// <summary>
 /// Create a GameBox object based on an existing node. Useful for saving nodes to GBX files.
 /// </summary>
 /// <param name="node"></param>
 /// <param name="headerInfo"></param>
 public GameBox(T node, GameBoxHeaderInfo headerInfo) : this(headerInfo)
 {
     MainNode = node;
     ClassID  = node.ID;
 }
Beispiel #2
0
 public GameBox(GameBoxHeaderInfo headerInfo) : base(headerInfo)
 {
     Header = new GameBoxHeader <T>(this);
     Body   = new GameBoxBody <T>(this);
 }