public static void AddLCDEntry(LCDEntry entry) { Tuple <Entry.Type, int> last = PlayerData.LCDTally.Keys.Last(); PlayerData.LCDTally.Add(last, entry); // Debug.Log (last); }
public static void UpdateLCDEntry(Tuple <Entry.Type, int> key, LCDEntry entry) { if (PlayerData.LCDTally.ContainsKey(key)) { PlayerData.LCDTally [key] = entry; } PrintLCDDictionary(); }
public static void RemoveLCDEntry(LCDEntry entry) { Tuple <Entry.Type, int> key = PlayerData.LCDTally.FirstOrDefault(x => x.Value == entry).Key; PlayerData.LCDTally.Remove(key); }