示例#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;
 }