Beispiel #1
0
 public MainPage()
 {
     Instance = this;
     this.InitializeComponent();
     ViewModel = new BoardViewModel();
 }
Beispiel #2
0
 public TileViewModel(BoardViewModel board, int id)
 {
     Board      = board;
     Coordinate = new TileCoordinate(id);
     Piece      = board.Position.Pieces[id];
 }