Esempio n. 1
0
 public Minion(AbstractFactory forBody, AbstractFactory forWeapon)
 {
     body   = forBody.CreateBody();
     weapon = forWeapon.CreateWeapon();
 }
Esempio n. 2
0
 public Minion(AbstractFactory factory)
 {
     body   = factory.CreateBody();
     weapon = factory.CreateWeapon();
 }