Exemple #1
0
 /* 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;
 }
Exemple #2
0
        /* Costruttore */
        public GiocoView()
        {
            InitializeComponent();
            giocoController = new GiocoController();

            timerGioco.Enabled = true;

            this.Width     = LARGHEZZA_SCHERMO;
            this.Height    = ALTEZZA_SCHERMO;
            this.BackColor = Color.Black;
        }