public void StartGame() { _tileTracker = new TileTracker(_board.Size.x, _board.Size.y); _scoreTracker.Refresh(); _gameTimer.StartTimer(GameOver); _moleSpawner.StartSpawner(null, null, _scoreTracker.AddScore); }
public string RouteSaver() { timer.StartTimer(); Info flightInfo = Info.Instance; string lon = client["get /position/longitude-deg\r\n"]; string lat = client["get /position/latitude-deg\r\n"]; if (timer.isRunning) { string throttle = client["get /controls/engines/current-engine/throttle\r\n"]; string rudder = client["get /controls/flight/rudder\r\n"]; flightInfo.WriteToFile(lon, lat, throttle, rudder); } List <string> param = new List <string>(); param.Add(lon); param.Add(lat); return(toXML(param)); }
public void StartGame() { TimeTracker.StartTimer(ProjectManager.Instance); }