示例#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);
        }