public static SpielHighscores GetInstance() { if (instance == null) { instance = new SpielHighscores(); } return(instance); }
public static async Task HoleHighscoresAsync() { if (App.OFFLINE_MODE) { return; } Request <SpielHighscores> request = new Request <SpielHighscores>(); await request.HttpRequestAsync(App.FUNCTION_GET_HIGH_SCORES); SpielHighscores.GetInstance().spiele = request.obj.spiele; }