예제 #1
0
 public PotionSoldEventArgs(Potion potion, Employee seller) : base(potion)
 {
     this.Seller = seller;
 }
예제 #2
0
 public PotionCreatedEventArgs(Potion potion, Employee creator) : base(potion)
 {
     this.Creator = creator;
 }
예제 #3
0
 public PotionEventArgs(Potion potion)
 {
     this.Potion = potion;
 }
예제 #4
0
 private void OnPotionSold(Potion potion, Shopkeeper shopkeeper) => PotionSold?.Invoke(this, new PotionSoldEventArgs(potion, shopkeeper));
예제 #5
0
 private void OnPotionCreated(Potion potion, Apothecary apothecary) => PotionCreated?.Invoke(this, new PotionCreatedEventArgs(potion, apothecary));
예제 #6
0
 private void OnPotionResearched(Potion potion) => PotionResearched?.Invoke(this, new PotionEventArgs(potion));