Exemplo n.º 1
0
 public static Circling Instance(float radius, float sight, float speed, short? objType)
 {
     var key = new Tuple<float, float, float, short?>(radius, sight, speed, objType);
     Circling ret;
     if (!instances.TryGetValue(key, out ret))
         ret = instances[key] = new Circling(radius, sight, speed, objType);
     return ret;
 }
Exemplo n.º 2
0
        public static Circling Instance(float radius, float sight, float speed, short?objType)
        {
            var      key = new Tuple <float, float, float, short?>(radius, sight, speed, objType);
            Circling ret;

            if (!instances.TryGetValue(key, out ret))
            {
                ret = instances[key] = new Circling(radius, sight, speed, objType);
            }
            return(ret);
        }
Exemplo n.º 3
0
 new QueuedBehavior(
   Circling.Instance(5, 10, 5, 0x0d25),