예제 #1
0
        // Board looks like:
        // 0 1 2 3 4 5
        //  0 1 2 3 4
        // 0 1 2 3 4 5
        //  0 1 2 3 4

        public TrianglePegController(PegBoardView view, PegBoard model) : base(view, model)
        {
        }
예제 #2
0
 public PegController(PegBoardView view, PegBoard model)
 {
     _view  = view;
     _model = model;
     _view.SetController(this);
 }