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