コード例 #1
0
 public TanksController(
     ITankService tankService
     )
 {
     _tankService = tankService;
 }
コード例 #2
0
 //public readonly IMachineService _IMachineService;
 public PumpController(IPumpService fuelService, ITankService productService)//, IMachineService machineService)
 {
     _ITankService = productService;
     _pumpService  = fuelService;
     //this._IMachineService = machineService;
 }
コード例 #3
0
 public void Start()
 {
     bulletService = new BulletService(this, bulletPrefab);
     tankService   = new TankService(this, tankPrefab);
 }