Beispiel #1
0
 public static void Register(string name, Def def)
 {
     Registry.Add(name, def);
 }
Beispiel #2
0
 public static void Setup(string name, Action <Fsm.Def <D> > setup)
 {
     Fsm.Def <D> fsm = new Fsm.Def <D>();
     setup(fsm);
     Def.Register(name, fsm);
 }