Пример #1
0
 public static fogstate get(int i)
 {
     if (!_fogstate.ContainsKey(i))
     {
         _fogstate[i] = new fogstate();
     }
     return(_fogstate[i]);
 }
Пример #2
0
 public static boolean SaveFogStateHandle(hashtable table, integer parentKey, integer childKey, fogstate whichFogState)
 {
     table.Add(parentKey.ToString("x8") + childKey.ToString("x8"), whichFogState);
     return(true);
 }