//public Timer Timer { set; get; } public Tablo(Oyun oyun, Panel panel, Panel pnlSonrakiNesne) { this.Oyun = oyun; this.PanelTablo = panel; this.PnlSonrakiNesne = pnlSonrakiNesne; Kutular = new Kutu[GENISLIK, YUKSEKLIK + UST_BOSLUK]; AktifNesne = NesneFactory.NesneUret(this); AktifNesne.PaneleEkle(PanelTablo); SonrakiNesneUretGoster(); }
public void Indir() { if (this.AktifNesne.AsagiIn() == false) { if (this.AktifNesne.UsteCarptiMi()) { Oyun.UsteCarpti(); } else { this.SonrakiNesneyeGec(); } } }