public GameplayScreen(bool newGame) { this.newGame = newGame; tempp = new HighScore(); rezultati = new List<HighScore>(); isoHelper = new ISHelper(); typeFinish = false; temp = new List<HighScore>(); Scores = new HighScore(); GameplayHelper.updateGameTime = true; //foreach (HighScore kv in temp) //{ // Debug.WriteLine(kv.player + kv.score); //} Accelerometer = new Accelerometer(); if (Accelerometer.State == SensorState.Ready) { Accelerometer.CurrentValueChanged += (s, e) => { accelState = e; }; Accelerometer.Start(); } }
public HighScoreScreen() { adresa = "http://arka.foi.hr/~ivpusic/proflight/readScores.php"; saveAdress = "http://arka.foi.hr/~ivpusic/proflight/saveScores.php"; temp = new List<HighScore>(); isoHelper = new ISHelper(); this.width = 480; this.height = 800; }