Пример #1
0
 public static GameBridge CreateBridge(IBridgeDataReceiver dataReceiver)
 {
     return(new GameBridge(dataReceiver, new BSPModelUtils(Framework.BSPModelNamePrefix, Framework.Directory.Maps, Framework.Extension.BSP)));
 }
Пример #2
0
 public GameBridge(IBridgeDataReceiver dataReceiver, BSPModelUtils modelUtils)
 {
     DataReceiver = dataReceiver;
     ModelUtils   = modelUtils ?? throw new ArgumentNullException(nameof(modelUtils));
 }