public ZNGameDatabase(byte de)
 {
     depth              = de;
     root               = new ZNGameDatabaseNode(this, null, null);
     sortTimer          = new Timer(100);
     sortTimer.Elapsed += new ElapsedEventHandler(sortHandle);
     sortTimer.Start();
 }
Exemplo n.º 2
0
 public bool MoveNext()
 {
     if (current.HasChild())
     {
         current = current.Children[0];
         return(true);
     }
     else
     {
         current = current.Parent.NextChild(current);
         return(current != null);
     }
 }
Exemplo n.º 3
0
 public void Reset()
 {
     current = data.Root;
 }
Exemplo n.º 4
0
 public ZNGameDatabaseEnumerator(ZNGameDatabase d)
 {
     data    = d;
     current = data.Root;
 }