예제 #1
0
 public BoardView(int x, int y, int width, int height)
     : base(new Rect(x, y, width, height))
 {
     _offset = new Point(0, 0);
     Focus   = new Point(1, 1);
     _game   = new Life.LifeGame();
 }
예제 #2
0
 public void ClearBoard()
 {
     _game = new Life.LifeGame();
     SetNeedsDisplay();
 }