//functions public void Start() { CapturedBy = 0; CameraPosition = MapPosition; for (int i = 0; i < PointList.Count; i++) { PointList[i].Start(); } if (GlobalRandom.Next(0, 100) <= 20) { WeatherType weather = GlobalGame.GetWeatherType(); if (weather == WeatherType.None) { GlobalGame.SetWeatherType(WeatherType.Rain); return; } if (weather == WeatherType.Rain) { GlobalGame.SetWeatherType(WeatherType.Snow); return; } if (weather == WeatherType.Snow) { GlobalGame.SetWeatherType(WeatherType.None); return; } } }