Beispiel #1
0
 public static Tangential Instance(float speed)
 {
     Tangential ret;
     if (!instances.TryGetValue(speed, out ret))
         ret = instances[speed] = new Tangential(speed);
     return ret;
 }
Beispiel #2
0
        public static Tangential Instance(float speed)
        {
            Tangential ret;

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