GameHandler.SetNumberVariableSaveData C# (CSharp) Method

SetNumberVariableSaveData() public static method

public static SetNumberVariableSaveData ( Hashtable ht ) : void
ht Hashtable
return void
    public static void SetNumberVariableSaveData(Hashtable ht)
    {
        GameHandler.Instance().numberVariables = new Hashtable();
        foreach(DictionaryEntry entry in ht)
        {
            if(XMLHandler.NODE_NAME != entry.Key as string)
            {
                GameHandler.Instance().numberVariables.Add(entry.Key, float.Parse((string)entry.Value));
            }
        }
    }
GameHandler