public AiInfo(GameObject _initialObj, AiPid _pid, AiSettings _setings, float _cumulativeError) { initialObj = _initialObj; pid = _pid; setings = _setings; cumulativeError = _cumulativeError; }
public AiSettings(AiSettings copy) { targetMaximumAcceleration = copy.targetMaximumAcceleration; targetSqrSpeed = copy.targetSqrSpeed; turnSpeed = copy.turnSpeed; trajectoryOffset = copy.trajectoryOffset; trackWidth = copy.trackWidth; }
public WitService(IOptions <AiSettings> aiSettings) { _aiSettings = aiSettings.Value; }