public TanksController( ITankService tankService ) { _tankService = tankService; }
//public readonly IMachineService _IMachineService; public PumpController(IPumpService fuelService, ITankService productService)//, IMachineService machineService) { _ITankService = productService; _pumpService = fuelService; //this._IMachineService = machineService; }
public void Start() { bulletService = new BulletService(this, bulletPrefab); tankService = new TankService(this, tankPrefab); }