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