Ejemplo n.º 1
0
    public static void AddLCDEntry(LCDEntry entry)
    {
        Tuple <Entry.Type, int> last = PlayerData.LCDTally.Keys.Last();

        PlayerData.LCDTally.Add(last, entry);
        //		Debug.Log (last);
    }
Ejemplo n.º 2
0
    public static void UpdateLCDEntry(Tuple <Entry.Type, int> key, LCDEntry entry)
    {
        if (PlayerData.LCDTally.ContainsKey(key))
        {
            PlayerData.LCDTally [key] = entry;
        }

        PrintLCDDictionary();
    }
Ejemplo n.º 3
0
    public static void RemoveLCDEntry(LCDEntry entry)
    {
        Tuple <Entry.Type, int> key = PlayerData.LCDTally.FirstOrDefault(x => x.Value == entry).Key;

        PlayerData.LCDTally.Remove(key);
    }