public DataRepository(int stackSize, bool isBlue, bool PlayingFromLeft) { _gameConfig = new GameConfiguration(isBlue, PlayingFromLeft); _inData = new SSLPacketParser(stackSize); _outData = new OutputRobotData(12, this); ((IDataSource) _outData).Repository = this; }
public RobotDataSvc(IRobotData data, IEventPublisher evtPub, IRequestCache cache) { _data = Check.NotNull(data, nameof(data)); _evtPub = Check.NotNull(evtPub, nameof(evtPub)); _cache = Check.NotNull(cache, nameof(cache)); RobotDataSvcCtor(); }