/* costruttore */ public PunteggioView(string[,] highscore, GiocoController giocoController) { // Assegnamento dei valori passati this.highscore = highscore; this.giocoController = giocoController; InitializeComponent(); this.Width = LARGHEZZA_SCHERMO; this.Height = ALTEZZA_SCHERMO; }
/* Costruttore */ public GiocoView() { InitializeComponent(); giocoController = new GiocoController(); timerGioco.Enabled = true; this.Width = LARGHEZZA_SCHERMO; this.Height = ALTEZZA_SCHERMO; this.BackColor = Color.Black; }