Beispiel #1
0
 public GameBoardController(IGameBoardView view)
 {
     _planeTemplate = new Plane();
     _view = view;
     Common.GameBoardController = this;
     _oponentType = "network";
     _planeOrientation = "up";
 }
    public GameBoardController(IGameBoardView view, IGameBoardModel model)
    {
        this.model = model;

        // Initialize View
        this.view = view;
        view.Init(model.Rows, model.Cols);
        view.Refresh(model);
    }
 public GameBoardController(IGameBoardView view)
 {
     _view = view;
     Common.GameBoardController = this;
 }
 public GameBoardPresenter(IGameBoardView view, IGameBoardModel model)
 {
     this.view  = view;
     this.model = model;
     this.SetUp();
 }