Ejemplo n.º 1
0
 private void SetPlayability(JObject playabilityAsJObj)
 {
     if (playabilityAsJObj["value"].ToString().Trim().Contains("true"))
     {
         game.MakeTheBoardPlayable();
     }
     else if (playabilityAsJObj["value"].ToString().Trim().Contains("false"))
     {
         game.MakeTheBoardUnplayable();
     }
 }