Esempio n. 1
0
 public Hero(HeroFactory factory)
 {
     weapon = factory.CreateWeapon();
     movement = factory.CreateMovement();
 }
Esempio n. 2
0
 public Hero(HeroFactory factory)
 {
     weapon   = factory.CreateWeapon();
     movement = factory.CreateMovement();
 }