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

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