Exemplo n.º 1
0
    public void LoadData()
    {
        sRodentData data = sSaveSystem.LoadRodentData();

        int[] IDs = data._IDs;
        for (int i = 0; i < data._IDs.Length; ++i)
        {
            int    id = IDs[i];
            Rodent r  = _RodentHashTable[id];
            r.LoadData(id, data._team[i], data._Type[i], data._BuildingID[i], data._position[i]);
        }
    }