Exemple #1
0
 public abstract void Interact(ProductA a);
Exemple #2
0
 public override void Interact(ProductA a)
 {
     Debug.Log(name + " interacts with " + a.name);
 }
Exemple #3
0
 public Client(Factory factory)
 {
     productA = factory.CreateProductA();
     productB = factory.CreateProductB();
 }