public TetrisController() { view = new b10432008(this); //整個程式換view時唯一需要改的地方 model = new TetrisModel(this, view); myTimer.Tick += new EventHandler(myTimer_Tick); Application.Run(view); }
public TetrisModel(TetrisController controller, TetrisView view) { this.controller = controller; this.view = view; current_block = new TetrisBlock(); }