Exemple #1
0
 public static void SaveFactory(string fileName, MonsterFactory factory)
 {
     File.WriteAllBytes(fileName, SerializationHelper.Serialize(factory));
 }
Exemple #2
0
 public static void InitialFactory(MonsterFactory factory)
 {
     instance = factory;
 }