예제 #1
0
        private bool explained = false; // har vist messagebox med instruksjona

        #endregion Fields

        #region Constructors

        public Sandbox(MainWindow m)
            : base(m)
        {
            // Setter opp spel
            EnableControls ();

            rule = new ConwayRule ();
        }
예제 #2
0
        public MaxCells(MainWindow m)
            : base(m)
        {
            // Setter opp spel
            DisableControls ();

            // Fyll inn ruter (sjå OnGridClick)
            game_ready = false;
            game_started = false;
            game_finished = false;

            ppreviouscells = null;
            previouscells = null;

            rule = new ConwayRule ();
        }