示例#1
0
 public TVillage()
 {
     Resource   = new TResource[4];
     InBuilding = new TInBuilding[6];
     Queue      = new List <IQueue>();
     Upgrades   = new Dictionary <int, TRU>();
     Market     = new TMarket();
     Troop      = new TTroop();
     for (int i = 1; i <= 10; i++)
     {
         Upgrades[i] = new TRU();
     }
     OasisInfo = new List <TOasisInfo>();
 }
示例#2
0
 public TVillage()
 {
     Resource = new TResource[4];
     InBuilding = new TInBuilding[6];
     Queue = new List<IQueue>();
     Upgrades = new Dictionary<int, TRU>();
     Market = new TMarket();
     Troop = new TTroop();
     for (int i = 1; i <= 10; i++)
         Upgrades[i] = new TRU();
     OasisInfo = new List<TOasisInfo>();
 }