Exemple #1
0
 public SkadaData SafeGet(Character c)
 {
     if (!data.ContainsKey(c))
     {
         data[c] = new SkadaData();
     }
     return(data[c]);
 }
Exemple #2
0
 public SkadaData GetData(Character c)
 {
     if (c == null)
     {
         return(null);
     }
     if (!Data.ContainsKey(c))
     {
         Data[c] = new SkadaData();
     }
     return(Data[c]);
 }