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