Esempio n. 1
0
 public static TowerSet GetSingleton()
 {
     if (g_singleton == null)
     {
         g_singleton = new TowerSet();
     }
     return(g_singleton);
 }
Esempio n. 2
0
 public TowerSet()
 {
     g_singleton = this;
     for (int iIndex = 0; iIndex < g_objSignalMode.Length; iIndex++)
     {
         g_objSignalMode[iIndex] = new CCTower();
     }
 }