예제 #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            // create a standard game
            game = new ConwayGameOfLife();

            // start the timer
            timer1.Enabled = true;

            this.DoubleBuffered = true;
        }
예제 #2
0
 public void ChangeLife(ConwayGameOfLife conwayGameOfLife)
 {
     conwayGameOfLife.lifeBehaviour = new HighLife();
 }