Beispiel #1
0
 internal void AddCheat(string name, ICheat cheat=null)
 {
     if (cheat == null)
     {
         cheat = new DefaultCheat();
     }
     if (!cheatList.ContainsKey(name))
     {
         cheatList.Add(name, cheat);
     }
 }
Beispiel #2
0
 internal void AddCheat(string name, ICheat cheat = null)
 {
     if (cheat == null)
     {
         cheat = new DefaultCheat();
     }
     if (!cheatList.ContainsKey(name))
     {
         cheatList.Add(name, cheat);
     }
 }