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