コード例 #1
0
 public static Flashing Instance(int time, uint color)
 {
     var key = new Tuple<int, uint>(time, color);
     Flashing ret;
     if (!instances.TryGetValue(key, out ret))
         ret = instances[key] = new Flashing(time, color);
     return ret;
 }
コード例 #2
0
        public static Flashing Instance(int time, uint color)
        {
            var      key = new Tuple <int, uint>(time, color);
            Flashing ret;

            if (!instances.TryGetValue(key, out ret))
            {
                ret = instances[key] = new Flashing(time, color);
            }
            return(ret);
        }
コード例 #3
0
 Timed.Instance(2500, False.Instance(Flashing.Instance(200, 0xff00ff00))),
コード例 #4
0
ファイル: BehaviorDb.Tomb.cs プロジェクト: C453/Behaviors
 new QueuedBehavior(
           Flashing.Instance(500, 0xffff3333),