Esempio n. 1
0
 public void start()
 {
     r        = new Random();
     curBoard = new Board();
     curBoard.setBoard(boardSize.Width, boardSize.Height);
     newBrick();
     score = 0;
 }
Esempio n. 2
0
 public void start()//開始按鈕
 {
     //初始化一些狀態
     r        = new Random();
     curBoard = new Board();
     curBoard.setBoard(10, 20);
     newBrick();
 }