Пример #1
0
        public void Main()
        {
            Palpatine emperor   = new Palpatine();
            Republic  republic  = new Republic();
            CloneArmy cloneArmy = new CloneArmy(republic);

            emperor.empire = cloneArmy;
            emperor.empire.DoWhatEmperorWant();
        }
Пример #2
0
 public CloneArmy(Republic republic)
 {
     _republic = republic;
 }