Exemple #1
0
        public GameView()
        {
            InitializeComponent();

                DisplayBehaviour = new DisplayFlowFromRight(this);
                _controller = new GameViewController(); //The DependencyProperty changed ensures, that an actual instance with Tetris will be created
        }
Exemple #2
0
 public SettingsView()
 {
     InitializeComponent();
     DisplayBehaviour = new DisplayFlowFromRight(this);
 }