예제 #1
0
 public static void Register(string key)
 {
     ActionFactory <AuxActionRef> .Register(key, () => new AuxControlStart(true),
                                            "Control Start", "Action used to manage the starting of AI Train");
 }
예제 #2
0
 public static void Register(string key)
 {
     ActionFactory <AuxActionRef> .Register(key, () => new AuxControlStopped(true),
                                            "Control Stopped", "Action used to manage a Stopped AITrain");
 }
예제 #3
0
 public static void Register(string key)
 {
     ActionFactory <AuxActionRef> .Register(key, () => new AuxActionHorn(true),        //null, -1f, true),
                                            "Horn at Level Crossing", "Generic Action used to sound AI Horn when it reach a Level cross");
 }