public static GameBridge CreateBridge(IBridgeDataReceiver dataReceiver) { return(new GameBridge(dataReceiver, new BSPModelUtils(Framework.BSPModelNamePrefix, Framework.Directory.Maps, Framework.Extension.BSP))); }
public GameBridge(IBridgeDataReceiver dataReceiver, BSPModelUtils modelUtils) { DataReceiver = dataReceiver; ModelUtils = modelUtils ?? throw new ArgumentNullException(nameof(modelUtils)); }