private void button1_Click(object sender, EventArgs e)
        {
            DusmanRobotu drobot = new DusmanRobotu();

            Adaptor adaptor = new Adaptor(drobot);

            adaptor.DusmanAdi();
            adaptor.Hizlan();
            adaptor.SilahKullan();

            DusmanTank dtank = new DusmanTank();

            dtank.DusmanAdi();
            dtank.Hizlan();
            dtank.SilahKullan();
        }
 public Adaptor(DusmanRobotu _dusmanrobotu)
 {
     this.dusmanrobotu = _dusmanrobotu;
 }