예제 #1
0
 public void SetModel(ICooldownModel model)
 {
     this.model = model;
     model.ImposeCooldownChanged  += OnImposeCooldownChange;
     model.GuideCooldownChanged   += OnGuideCooldownChange;
     model.UpgradeCooldownChanged += OnUpgradeCooldownChanged;
     model.AppointCooldownChanged += OnAppointCooldownChanged;
     model.TechCooldownChanged    += OnTechCooldownChanged;
     model.WeaveCooldownChanged   += OnWeaveCooldownChanged;
     model.DrillCooldownChanged   += OnDrillCooldownChanged;
 }
예제 #2
0
 public void SetCooldownModel(ICooldownModel model)
 {
     cooldownModel = model;
 }
예제 #3
0
 public void SetCooldownModel(ICooldownModel cooldown)
 {
     cooldownModel = cooldown;
 }
예제 #4
0
 public void SetCooldownModel(ICooldownModel model) {
     cooldownModel = model;
     trainingTimer.Start();
 }