Exemplo n.º 1
0
        public virtual void AddTrickToMemory(string name)
        {
            IDictionary <string, Action> newDict = new Dictionary <string, Action>();

            foreach (KeyValuePair <string, Action> entry in combos)
            {
                if (entry.Key == name)
                {
                    newDict.Add(entry.Key, entry.Value);
                    // memory.AddTrickToMemory(name, (entry.Value.Method).ToString());
                    memory.AddTrickToMemory(newDict);
                }
            }
        }