Пример #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;
        }
Пример #2
0
 public TroughEjectCoil(TroughApi troughApi)
 {
     _troughApi = troughApi;
 }
Пример #3
0
        public void RegisterTrough(Trough trough, Entity entity, GameObject go)
        {
            var troughApi = new TroughApi(trough, entity, this);

            _initializables.Add(troughApi);
        }