Example #1
0
        private void startLevel(object sender, RoutedEventArgs e)
        {
            Button btn = (Button)sender;

            new GameDebug(GridConverter.DeserializeGrid(WebApi.GetLevelByName(btn.Content.ToString()))).Show();
        }
Example #2
0
 public Game(string name)
 {
     grid = GridConverter.DeserializeGrid(WebApi.GetLevelByName(name));
     LoadPlayer();
     CountPlates();
 }