Esempio n. 1
0
        public void RegisterTrough(Trough trough, GameObject go)
        {
            var troughApi = new TroughApi(trough, this);

            _apis.Add(troughApi);
            _initializables.Add(troughApi);
            _switchDevices[trough.Name] = troughApi;
            _coilDevices[trough.Name]   = troughApi;
            _wireDevices[trough.Name]   = troughApi;
        }
Esempio n. 2
0
 public TroughEjectCoil(TroughApi troughApi)
 {
     _troughApi = troughApi;
 }
Esempio n. 3
0
        public void RegisterTrough(Trough trough, Entity entity, GameObject go)
        {
            var troughApi = new TroughApi(trough, entity, this);

            _initializables.Add(troughApi);
        }