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