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 VisionField(IVisionData visionData) { VisionData = visionData ?? throw new ArgumentNullException(nameof(visionData)); }
public Vision(Quaternion rotationFromGameObjectForwardAxis, LayerMask visionObstacles, IVisionData visionData) : base(visionData) { FocusVectorRotation = rotationFromGameObjectForwardAxis; VisionObstacles = visionObstacles; }