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