public static WorldEvent Instance(string type) { WorldEvent ret; if (!instances.TryGetValue(type, out ret)) ret = instances[type] = new WorldEvent(type); return ret; }
public static WorldEvent Instance(string type) { WorldEvent ret; if (!instances.TryGetValue(type, out ret)) { ret = instances[type] = new WorldEvent(type); } return(ret); }