예제 #1
0
 public MainWindow()
 {
     InitializeComponent();
     moving = new MoveRect(length, center,
                           new Rectangle[] { leftTop, rightTop, leftBottom, rightBottom });
     moving.GameOver = true;
 }
예제 #2
0
 public MainWindow()
 {
     InitializeComponent();
     clock = new Clock(timer);
     clock.Pause();
     moving = new MoveRect(clock, length, center,
                           new Rectangle[] { leftTop, rightTop, leftBottom, rightBottom });
     moving.GameOver = false;
 }