示例#1
0
 private static void constructTree(CastleUpgrader set)
 {
     if (set == null)
     {
         return;
     }
     castles.Add(set1);
     if (set.left != null)
     {
         constructTree(set.left);
     }
     if (set.right != null)
     {
         constructTree(set.right);
     }
 }
 protected override void upgrade(CastleUpgrader g)
 {
     base.upgrade(g);
     determineChoices();
 }